Home
last modified time | relevance | path

Searched full:stacksize (Results 1 – 25 of 1177) sorted by relevance

12345678910>>...48

/aosp_15_r20/system/unwinding/libunwindstack/tests/
H A DDwarfOpTest.cpp82 ASSERT_EQ(1U, this->op_->StackSize()); in TYPED_TEST_P()
94 ASSERT_EQ(4U, this->op_->StackSize()); in TYPED_TEST_P()
105 ASSERT_EQ(0U, this->op_->StackSize()); in TYPED_TEST_P()
179 ASSERT_EQ(1U, this->op_->StackSize()); in TYPED_TEST_P()
204 ASSERT_EQ(1U, this->op_->StackSize()); in TYPED_TEST_P()
207 ASSERT_EQ(1U, this->op_->StackSize()); in TYPED_TEST_P()
228 ASSERT_EQ(1U, this->op_->StackSize()) << "Failed at size " << i; in TYPED_TEST_P()
270 ASSERT_EQ(1U, this->op_->StackSize()); in TYPED_TEST_P()
275 ASSERT_EQ(2U, this->op_->StackSize()); in TYPED_TEST_P()
281 ASSERT_EQ(3U, this->op_->StackSize()); in TYPED_TEST_P()
[all …]
/aosp_15_r20/external/moshi/moshi/src/main/java/com/squareup/moshi/
H A DJsonValueWriter.java47 int size = stackSize; in root()
60 if (stackSize == flattenStackSize && scopes[stackSize - 1] == EMPTY_ARRAY) { in beginArray()
68 stack[stackSize] = list; in beginArray()
69 pathIndices[stackSize] = 0; in beginArray()
79 if (stackSize == ~flattenStackSize) { in endArray()
84 stackSize--; in endArray()
85 stack[stackSize] = null; in endArray()
86 pathIndices[stackSize - 1]++; in endArray()
96 if (stackSize == flattenStackSize && scopes[stackSize - 1] == EMPTY_OBJECT) { in beginObject()
104 stack[stackSize] = map; in beginObject()
[all …]
H A DJsonValueReader.java58 scopes[stackSize] = JsonScope.NONEMPTY_DOCUMENT; in JsonValueReader()
60 stack[stackSize++] = root; in JsonValueReader()
68 for (int i = 0; i < stackSize; i++) { in JsonValueReader()
81 stack[stackSize - 1] = iterator; in beginArray()
82 scopes[stackSize - 1] = JsonScope.EMPTY_ARRAY; in beginArray()
83 pathIndices[stackSize - 1] = 0; in beginArray()
106 stack[stackSize - 1] = iterator; in beginObject()
107 scopes[stackSize - 1] = JsonScope.EMPTY_OBJECT; in beginObject()
121 pathNames[stackSize - 1] = null; in endObject()
127 if (stackSize == 0) return false; in hasNext()
[all …]
H A DJsonUtf8Reader.java140 pathIndices[stackSize - 1] = 0; in beginArray()
155 stackSize--; in endArray()
156 pathIndices[stackSize - 1]++; in endArray()
185 stackSize--; in endObject()
186 pathNames[stackSize] = null; // Free the last path name so that it can be garbage collected! in endObject()
187 pathIndices[stackSize - 1]++; in endObject()
246 int peekStack = scopes[stackSize - 1]; in doPeek()
248 scopes[stackSize - 1] = JsonScope.NONEMPTY_ARRAY; in doPeek()
264 scopes[stackSize - 1] = JsonScope.DANGLING_NAME; in doPeek()
305 scopes[stackSize - 1] = JsonScope.NONEMPTY_OBJECT; in doPeek()
[all …]
H A DJsonUtf8Writer.java118 if (stackSize == flattenStackSize in open()
119 && (scopes[stackSize - 1] == empty || scopes[stackSize - 1] == nonempty)) { in open()
127 pathIndices[stackSize - 1] = 0; in open()
141 if (stackSize == ~flattenStackSize) { in close()
147 stackSize--; in close()
148 pathNames[stackSize] = null; // Free the last path name so that it can be garbage collected! in close()
149 pathIndices[stackSize - 1]++; in close()
162 if (stackSize == 0) { in name()
172 pathNames[stackSize - 1] = name; in name()
196 pathIndices[stackSize - 1]++; in value()
[all …]
/aosp_15_r20/external/gson/gson/src/main/java/com/google/gson/internal/bind/
H A DJsonTreeReader.java54 private int stackSize = 0; field in JsonTreeReader
76 pathIndices[stackSize - 1] = 0; in beginArray()
83 if (stackSize > 0) { in endArray()
84 pathIndices[stackSize - 1]++; in endArray()
96 pathNames[stackSize - 1] = null; // Free the last path name so that it can be garbage collected in endObject()
99 if (stackSize > 0) { in endObject()
100 pathIndices[stackSize - 1]++; in endObject()
110 if (stackSize == 0) { in peek()
116 boolean isObject = stack[stackSize - 2] instanceof JsonObject; in peek()
153 return stack[stackSize - 1]; in peekStack()
[all …]
/aosp_15_r20/external/fonttools/Lib/fontTools/misc/
H A DxmlReader.py42 self.stackSize = 0
46 self.stackSize += 1
56 self.stackSize -= 1
81 if self.stackSize == 1 and self.contentOnly:
86 self.stackSize = 2
88 stackSize = self.stackSize
89 self.stackSize = stackSize + 1
99 if not stackSize:
109 elif stackSize == 1:
136 elif stackSize == 2 and subFile is not None:
[all …]
/aosp_15_r20/external/ow2-asm/asm-commons/src/main/java/org/objectweb/asm/commons/
H A DAdviceAdapter.java147 int stackSize; in visitInsn() local
281 stackSize = stackFrame.size(); in visitInsn()
282 stackFrame.add(stackSize - 2, stackFrame.get(stackSize - 1)); in visitInsn()
285 stackSize = stackFrame.size(); in visitInsn()
286 stackFrame.add(stackSize - 3, stackFrame.get(stackSize - 1)); in visitInsn()
289 stackSize = stackFrame.size(); in visitInsn()
290 stackFrame.add(stackSize - 2, stackFrame.get(stackSize - 1)); in visitInsn()
291 stackFrame.add(stackSize - 2, stackFrame.get(stackSize - 1)); in visitInsn()
294 stackSize = stackFrame.size(); in visitInsn()
295 stackFrame.add(stackSize - 3, stackFrame.get(stackSize - 1)); in visitInsn()
[all …]
/aosp_15_r20/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/moshi/
H A DJsonUtf8Reader.java118 pathIndices[stackSize - 1] = 0; in beginArray()
132 stackSize--; in endArray()
133 pathIndices[stackSize - 1]++; in endArray()
161 stackSize--; in endObject()
162 pathNames[stackSize] = null; // Free the last path name so that it can be garbage collected! in endObject()
163 pathIndices[stackSize - 1]++; in endObject()
220 int peekStack = scopes[stackSize - 1]; in doPeek()
222 scopes[stackSize - 1] = JsonScope.NONEMPTY_ARRAY; in doPeek()
238 scopes[stackSize - 1] = JsonScope.DANGLING_NAME; in doPeek()
279 scopes[stackSize - 1] = JsonScope.NONEMPTY_OBJECT; in doPeek()
[all …]
/aosp_15_r20/external/llvm-libc/src/__support/threads/linux/
H A Dthread.cpp84 LIBC_INLINE ErrorOr<void *> alloc_stack(size_t stacksize, size_t guardsize) { in alloc_stack() argument
88 auto size_or_err = add_no_overflow(stacksize, guardsize); in alloc_stack()
110 SYS_mprotect, mmap_result + guardsize, stacksize, in alloc_stack()
124 free_stack(void *stack, size_t stacksize, size_t guardsize) { in free_stack() argument
128 LIBC_NAMESPACE::syscall_impl<long>(SYS_munmap, stack, stacksize + guardsize); in free_stack()
153 free_stack(attrib->stack, attrib->stacksize, attrib->guardsize); in cleanup_thread_resources()
199 size_t stacksize, size_t guardsize, bool detached) { in run() argument
203 // minimum stacksize (like 16384 for pthread). in run()
204 if (stacksize == 0) in run()
205 stacksize = DEFAULT_STACKSIZE; in run()
[all …]
/aosp_15_r20/external/gson/gson/src/main/java/com/google/gson/stream/
H A DJsonReader.java271 private int stackSize = 0; field in JsonReader
273 stack[stackSize++] = JsonScope.EMPTY_DOCUMENT;
355 pathIndices[stackSize - 1] = 0; in beginArray()
372 stackSize--; in endArray()
373 pathIndices[stackSize - 1]++; in endArray()
407 stackSize--; in endObject()
408 pathNames[stackSize] = null; // Free the last path name so that it can be garbage collected! in endObject()
409 pathIndices[stackSize - 1]++; in endObject()
471 int peekStack = stack[stackSize - 1]; in doPeek()
473 stack[stackSize - 1] = JsonScope.NONEMPTY_ARRAY; in doPeek()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp453 uint64_t StackSize = (MFFrame.estimateStackSize(MF) + in processFunctionBeforeFrameFinalized() local
465 uint64_t MaxReach = StackSize + MaxArgOffset; in processFunctionBeforeFrameFinalized()
597 uint64_t StackSize = MFFrame.getStackSize(); in emitPrologue() local
608 StackSize += SystemZMC::ELFCallFrameSize; in emitPrologue()
610 StackSize = StackSize > SystemZMC::ELFCallFrameSize in emitPrologue()
611 ? StackSize - SystemZMC::ELFCallFrameSize in emitPrologue()
613 MFFrame.setStackSize(StackSize); in emitPrologue()
615 if (StackSize) { in emitPrologue()
616 // Allocate StackSize bytes. in emitPrologue()
617 int64_t Delta = -int64_t(StackSize); in emitPrologue()
[all …]
/aosp_15_r20/external/kotlinx.serialization/formats/protobuf/commonMain/src/kotlinx/serialization/protobuf/internal/
H A DProtobufTaggedBase.kt20 protected var stackSize = -1 variable in kotlinx.serialization.protobuf.internal.ProtobufTaggedBase
23 get() = tagsStack[stackSize]
26 get() = if (stackSize == -1) MISSING_TAG else tagsStack[stackSize]
28 …protected fun popTagOrDefault(): ProtoDesc = if (stackSize == -1) MISSING_TAG else tagsStack[stack… in popTagOrDefault()
32 val idx = ++stackSize in popTagOrDefault()
33 if (stackSize >= tagsStack.size) { in popTagOrDefault()
44 if (stackSize >= 0) return tagsStack[stackSize--] in popTag()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/LoongArch/
H A DLoongArchFrameLowering.cpp202 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() local
203 uint64_t RealStackSize = StackSize; in emitPrologue()
206 if (StackSize == 0 && !MFI.adjustsStack()) in emitPrologue()
213 StackSize = FirstSPAdjustAmount; in emitPrologue()
216 adjustReg(MBB, MBBI, DL, SPReg, SPReg, -StackSize, MachineInstr::FrameSetup); in emitPrologue()
218 // Emit ".cfi_def_cfa_offset StackSize". in emitPrologue()
220 MF.addFrameInst(MCCFIInstruction::cfiDefCfaOffset(nullptr, StackSize)); in emitPrologue()
248 StackSize - LoongArchFI->getVarArgsSaveSize(), in emitPrologue()
342 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue() local
348 -StackSize + LoongArchFI->getVarArgsSaveSize(), in emitEpilogue()
[all …]
/aosp_15_r20/external/javassist/src/main/javassist/
H A DCtNewWrappedConstructor.java59 int stacksize, stacksize2; in makeBody() local
66 stacksize = 1; in makeBody()
70 stacksize = code.addLoadParameters(parameters, 1) + 1; in makeBody()
75 stacksize = compileParameterList(code, parameters, 1); in makeBody()
86 if (stacksize < stacksize2) in makeBody()
87 stacksize = stacksize2; in makeBody()
98 if (stacksize < stacksize2) in makeBody()
99 stacksize = stacksize2; in makeBody()
102 code.setMaxStack(stacksize); in makeBody()
/aosp_15_r20/external/llvm-libc/test/integration/src/pthread/
H A Dpthread_create_test.cpp95 ASSERT_EQ(thread->attrib->stacksize, expec_stacksize); in successThread()
137 size_t stacksize, bool customstack) { in run_success_config() argument
153 Stack = LIBC_NAMESPACE::mmap(nullptr, stacksize, PROT_READ | PROT_WRITE, in run_success_config()
159 ASSERT_EQ(LIBC_NAMESPACE::pthread_attr_setstack(attr, Stack, stacksize), 0); in run_success_config()
162 ASSERT_EQ(LIBC_NAMESPACE::pthread_attr_setstacksize(attr, stacksize), 0); in run_success_config()
190 ASSERT_EQ(LIBC_NAMESPACE::munmap(Stack, stacksize), 0); in run_success_config()
217 for (size_t stacksize : stacksizes) { in run_success_tests() local
236 run_success_config(detachstate, guardsize, stacksize, customstack); in run_success_tests()
269 static void run_failure_config(size_t guardsize, size_t stacksize) { in run_failure_config() argument
278 ASSERT_EQ(LIBC_NAMESPACE::pthread_attr_setstacksize(&attr, stacksize), 0); in run_failure_config()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp129 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() local
132 if (StackSize == 0 && !MFI.adjustsStack()) in emitPrologue()
144 StackSize = FirstSPAdjustAmount; in emitPrologue()
147 adjustReg(MBB, MBBI, DL, SPReg, SPReg, -StackSize, MachineInstr::FrameSetup); in emitPrologue()
149 // Emit ".cfi_def_cfa_offset StackSize" in emitPrologue()
151 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue()
182 StackSize - RVFI->getVarArgsSaveSize(), MachineInstr::FrameSetup); in emitPrologue()
202 // Emit ".cfi_def_cfa_offset StackSize" in emitPrologue()
274 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue() local
275 uint64_t FPOffset = StackSize - RVFI->getVarArgsSaveSize(); in emitEpilogue()
[all …]
/aosp_15_r20/external/icu/icu4j/demos/src/main/java/com/ibm/icu/dev/demo/translit/
H A DIntDiffer.java23 * @param stackSize The size of the largest difference you expect.
26 public IntDiffer(int stackSize, int matchCount) { in IntDiffer() argument
27 this.STACKSIZE = stackSize; in IntDiffer()
29 a = new int[stackSize+matchCount]; in IntDiffer()
30 b = new int[stackSize+matchCount]; in IntDiffer()
99 if (aCount >= STACKSIZE || bCount >= STACKSIZE) { in checkMatch()
142 private int STACKSIZE; field in IntDiffer
/aosp_15_r20/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
H A DDiffer.java17 * @param stackSize The size of the largest difference you expect.
21 public Differ(int stackSize, int matchCount) { in Differ() argument
22 this.STACKSIZE = stackSize; in Differ()
24 a = (T[]) new Object[stackSize + matchCount]; in Differ()
25 b = (T[]) new Object[stackSize + matchCount]; in Differ()
115 if (aCount >= STACKSIZE || bCount >= STACKSIZE) { in checkMatch()
162 private int STACKSIZE; field in Differ
/aosp_15_r20/external/llvm/lib/Target/Mips/
H A DMips16FrameLowering.cpp46 uint64_t StackSize = MFI->getStackSize(); in emitPrologue() local
49 if (StackSize == 0 && !MFI->adjustsStack()) return; in emitPrologue()
56 TII.makeFrame(Mips::SP, StackSize, MBB, MBBI); in emitPrologue()
58 // emit ".cfi_def_cfa_offset StackSize" in emitPrologue()
60 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue()
93 uint64_t StackSize = MFI->getStackSize(); in emitEpilogue() local
95 if (!StackSize) in emitEpilogue()
103 // assumes stacksize multiple of 8 in emitEpilogue()
104 TII.restoreFrame(Mips::SP, StackSize, MBB, MBBI); in emitEpilogue()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Mips/
H A DMips16FrameLowering.cpp53 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() local
56 if (StackSize == 0 && !MFI.adjustsStack()) return; in emitPrologue()
62 TII.makeFrame(Mips::SP, StackSize, MBB, MBBI); in emitPrologue()
64 // emit ".cfi_def_cfa_offset StackSize" in emitPrologue()
66 MF.addFrameInst(MCCFIInstruction::cfiDefCfaOffset(nullptr, StackSize)); in emitPrologue()
97 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue() local
99 if (!StackSize) in emitEpilogue()
107 // assumes stacksize multiple of 8 in emitEpilogue()
108 TII.restoreFrame(Mips::SP, StackSize, MBB, MBBI); in emitEpilogue()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
H A DMips16FrameLowering.cpp53 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() local
56 if (StackSize == 0 && !MFI.adjustsStack()) return; in emitPrologue()
62 TII.makeFrame(Mips::SP, StackSize, MBB, MBBI); in emitPrologue()
64 // emit ".cfi_def_cfa_offset StackSize" in emitPrologue()
66 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue()
98 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue() local
100 if (!StackSize) in emitEpilogue()
108 // assumes stacksize multiple of 8 in emitEpilogue()
109 TII.restoreFrame(Mips::SP, StackSize, MBB, MBBI); in emitEpilogue()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp367 uint64_t StackSize = (MFFrame.estimateStackSize(MF) + in processFunctionBeforeFrameFinalized() local
379 uint64_t MaxReach = StackSize + MaxArgOffset; in processFunctionBeforeFrameFinalized()
477 uint64_t StackSize = MFFrame.getStackSize(); in emitPrologue() local
488 StackSize += SystemZMC::CallFrameSize; in emitPrologue()
490 StackSize = StackSize > SystemZMC::CallFrameSize in emitPrologue()
491 ? StackSize - SystemZMC::CallFrameSize in emitPrologue()
493 MFFrame.setStackSize(StackSize); in emitPrologue()
495 if (StackSize) { in emitPrologue()
505 // Allocate StackSize bytes. in emitPrologue()
506 int64_t Delta = -int64_t(StackSize); in emitPrologue()
[all …]
/aosp_15_r20/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/
H A Dassertions.xml4 stackaddr and stacksize in the attr ojbect.
16 shall be stacksize bytes. The stacksize shall be at least
22 All pages within the stack described by stackaddr and stacksize shall be
33 [EINVAL] The value of stacksize is less than {PTHREAD_STACK_MIN}
40 be used as a stack or if (stackaddr + stacksize) lacks proper alignment.
45 [EACCES] The stack page(s) described by stackaddr and stacksize are not
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/M68k/
H A DM68kFrameLowering.cpp96 uint64_t StackSize = MFI.getStackSize(); in getFrameIndexReference() local
107 assert((-(Offset + StackSize)) % MFI.getObjectAlign(FI).value() == 0); in getFrameIndexReference()
108 return StackOffset::getFixed(Offset + StackSize); in getFrameIndexReference()
116 assert((-(Offset + StackSize)) % MFI.getObjectAlign(FI).value() == 0); in getFrameIndexReference()
117 return StackOffset::getFixed(Offset + StackSize); in getFrameIndexReference()
121 return StackOffset::getFixed(Offset + StackSize); in getFrameIndexReference()
485 uint64_t StackSize = MFI.getStackSize(); // Number of bytes to allocate. in emitPrologue() local
532 uint64_t FrameSize = StackSize - SlotSize; in emitPrologue()
557 assert(StackSize); in emitPrologue()
582 NumBytes = StackSize - MMFI->getCalleeSavedFrameSize(); in emitPrologue()
[all …]

12345678910>>...48