| /external/gson/gson/src/main/java/com/google/gson/internal/bind/ |
| D | JsonTreeReader.java | 54 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 …]
|
| /external/fonttools/Lib/fontTools/misc/ |
| D | xmlReader.py | 42 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 …]
|
| /external/kotlinx.serialization/formats/protobuf/commonMain/src/kotlinx/serialization/protobuf/internal/ |
| D | ProtobufTaggedBase.kt | 20 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()
|
| /external/javassist/src/main/javassist/ |
| D | CtNewWrappedConstructor.java | 59 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()
|
| /external/ow2-asm/asm-commons/src/main/java/org/objectweb/asm/commons/ |
| D | AdviceAdapter.java | 147 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 …]
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/ |
| D | assertions.xml | 4 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
|
| /external/llvm-libc/src/__support/threads/linux/ |
| D | thread.cpp | 83 LIBC_INLINE ErrorOr<void *> alloc_stack(size_t stacksize, size_t guardsize) { in alloc_stack() argument 87 auto size_or_err = add_no_overflow(stacksize, guardsize); in alloc_stack() 109 SYS_mprotect, mmap_result + guardsize, stacksize, in alloc_stack() 123 free_stack(void *stack, size_t stacksize, size_t guardsize) { in free_stack() argument 127 LIBC_NAMESPACE::syscall_impl<long>(SYS_munmap, stack, stacksize + guardsize); in free_stack() 152 free_stack(attrib->stack, attrib->stacksize, attrib->guardsize); in cleanup_thread_resources() 198 size_t stacksize, size_t guardsize, bool detached) { in run() argument 202 // minimum stacksize (like 16384 for pthread). in run() 203 if (stacksize == 0) in run() 204 stacksize = DEFAULT_STACKSIZE; in run() [all …]
|
| /external/icu/icu4j/demos/src/main/java/com/ibm/icu/dev/demo/translit/ |
| D | IntDiffer.java | 23 * @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
|
| /external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/moshi/ |
| D | JsonUtf8Reader.java | 118 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 …]
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/ |
| D | assertions.xml | 4 stacksize in the attr ojbect. 8 The stacksize attribute shall define the minimum stack size (in bytes) 13 If success, it returns zero and stores the stacksize attribute in 14 the stacksize if successful. 20 [EINVAL] The value of stacksize is less than {PTHREAD_STACK_MIN}
|
| /external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
| D | Differ.java | 17 * @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
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Mips/ |
| D | Mips16FrameLowering.cpp | 53 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()
|
| /external/llvm/lib/Target/Mips/ |
| D | Mips16FrameLowering.cpp | 46 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()
|
| /external/llvm-libc/src/pthread/ |
| D | pthread_attr_setstack.cpp | 23 size_t stacksize)) { 25 // TODO: Do we need to check for overflow on stackaddr + stacksize? 27 ((stackaddr + stacksize) % STACK_ALIGNMENT != 0)) 30 if (stacksize < PTHREAD_STACK_MIN) 34 attr->__stacksize = stacksize;
|
| D | pthread_create.cpp | 44 size_t stacksize, guardsize; variable 49 LIBC_NAMESPACE::pthread_attr_getstack(attr, &stack, &stacksize) != 0)) 66 if (stacksize && stacksize < PTHREAD_STACK_MIN) 80 int result = thread->run(func, arg, stack, stacksize, guardsize,
|
| D | pthread_attr_setstacksize.cpp | 19 (pthread_attr_t *__restrict attr, size_t stacksize)) { 20 // TODO: Should we also ensure stacksize % EXEC_PAGESIZE == 0? 21 if (stacksize < PTHREAD_STACK_MIN) 24 attr->__stacksize = stacksize;
|
| /external/llvm-libc/test/integration/src/pthread/ |
| D | pthread_create_test.cpp | 95 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 …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/LoongArch/ |
| D | LoongArchFrameLowering.cpp | 202 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 …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
| D | Mips16FrameLowering.cpp | 53 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()
|
| /external/gson/gson/src/main/java/com/google/gson/stream/ |
| D | JsonReader.java | 271 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 …]
|
| /external/python/cpython2/Lib/test/ |
| D | test_new.py | 113 stacksize = c.co_stacksize 126 d = new.code(argcount, nlocals, stacksize, flags, codestring, 131 d = new.code(argcount, nlocals, stacksize, flags, codestring, 137 -argcount, nlocals, stacksize, flags, codestring, 142 argcount, -nlocals, stacksize, flags, codestring, 147 argcount, nlocals, stacksize, flags, codestring, 154 d = new.code(argcount, nlocals, stacksize, flags, codestring,
|
| /external/llvm-libc/test/src/pthread/ |
| D | pthread_attr_test.cpp | 83 size_t stacksize; in TEST() local 87 ASSERT_EQ(LIBC_NAMESPACE::pthread_attr_getstacksize(&attr, &stacksize), 0); in TEST() 88 ASSERT_EQ(stacksize, size_t(PTHREAD_STACK_MIN << 2)); in TEST() 102 size_t stacksize; in TEST() local 106 ASSERT_EQ(LIBC_NAMESPACE::pthread_attr_getstack(&attr, &stack, &stacksize), in TEST() 108 ASSERT_EQ(stacksize, size_t(PTHREAD_STACK_MIN << 2)); in TEST()
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
| D | RISCVFrameLowering.cpp | 129 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 …]
|
| /external/swiftshader/third_party/marl/src/ |
| D | osfiber_windows.h | 40 size_t stackSize, 77 size_t stackSize, in createFiber() argument 80 // stackSize is rounded up to the system's allocation granularity (typically in createFiber() 82 out->fiber = CreateFiberEx(stackSize - 1, stackSize, FIBER_FLAG_FLOAT_SWITCH, in createFiber()
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/SystemZ/ |
| D | SystemZFrameLowering.cpp | 453 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 …]
|