Home
last modified time | relevance | path

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

1234567891011

/external/fonttools/Lib/fontTools/misc/
DxmlReader.py23 self.stackSize = 0
52 stackSize = self.stackSize
53 self.stackSize = stackSize + 1
54 if not stackSize:
63 elif stackSize == 1:
96 elif stackSize == 2:
105 if self.stackSize > 1:
109 self.stackSize = self.stackSize - 1
111 if self.stackSize == 1:
113 elif self.stackSize == 2:
/external/javassist/src/main/javassist/
DCtNewWrappedConstructor.java55 int stacksize, stacksize2; in makeBody() local
62 stacksize = 1; in makeBody()
66 stacksize = code.addLoadParameters(parameters, 1) + 1; in makeBody()
71 stacksize = compileParameterList(code, parameters, 1); in makeBody()
82 if (stacksize < stacksize2) in makeBody()
83 stacksize = stacksize2; in makeBody()
94 if (stacksize < stacksize2) in makeBody()
95 stacksize = stacksize2; in makeBody()
98 code.setMaxStack(stacksize); in makeBody()
DCtNewWrappedMethod.java59 int stacksize = makeBody0(clazz, classfile, wrappedBody, isStatic, in makeBody() local
61 code.setMaxStack(stacksize); in makeBody()
83 int stacksize = compileParameterList(code, parameters, in makeBody0() local
117 if (stacksize < stacksize2 + 2) in makeBody0()
118 stacksize = stacksize2 + 2; in makeBody0()
120 return stacksize; in makeBody0()
DCtField.java998 int stacksize; in compile() local
1006 stacksize = 4; in compile()
1008 stacksize = compileStringParameter(code) + 4; in compile()
1011 stacksize += CtNewWrappedMethod.compileParameterList(code, in compile()
1016 return stacksize; in compile()
1046 int stacksize = 2; in compileIfStatic() local
1051 stacksize += compileStringParameter(code); in compileIfStatic()
1056 return stacksize; in compileIfStatic()
1094 int stacksize; in compile() local
1100 stacksize = 2; in compile()
[all …]
DCtClassType.java1464 int stacksize = 0; in modifyClassConstructor() local
1472 if (stacksize < s) in modifyClassConstructor()
1473 stacksize = s; in modifyClassConstructor()
1478 modifyClassConstructor(cf, code, stacksize, 0); in modifyClassConstructor()
1482 int stacksize, int localsize) in modifyClassConstructor() argument
1488 code.setMaxStack(stacksize); in modifyClassConstructor()
1508 if (maxstack < stacksize) in modifyClassConstructor()
1509 codeAttr.setMaxStack(stacksize); in modifyClassConstructor()
1549 int stacksize = makeFieldInitializer(init, params); in modifyConstructors() local
1550 insertAuxInitializer(codeAttr, init, stacksize); in modifyConstructors()
[all …]
/external/proguard/src/proguard/classfile/attribute/visitor/
DStackSizeComputer.java56 private int stackSize; field in StackSizeComputer
149 stackSize = 0; in visitCodeAttribute0()
209 stackSize -= 1; in visitBranchInstruction()
263 stackSize = 1; in visitExceptionInfo()
300 int initialStackSize = stackSize; in evaluateInstructionBlock()
303 if (maxStackSize < stackSize) in evaluateInstructionBlock()
305 maxStackSize = stackSize; in evaluateInstructionBlock()
322 stackSize+" - "+ in evaluateInstructionBlock()
325 (stackSize+stackPushCount-stackPopCount)+": "+ in evaluateInstructionBlock()
330 stackSize -= instruction.stackPopCount(clazz); in evaluateInstructionBlock()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/
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
D6-1.c12 * 2. set the stacksize less tha PTHREAD_STACK_MIN
29 #define STACKSIZE PTHREAD_STACK_MIN - sysconf(_SC_PAGE_SIZE) macro
60 stack_size = STACKSIZE; in main()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
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
/external/llvm/lib/Target/Mips/
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()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/
Dassertions.xml4 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}
D4-1.c12 * 2. set the stacksize less tha PTHREAD_STACK_MIN
29 #define STACKSIZE PTHREAD_STACK_MIN - sysconf(_SC_PAGE_SIZE) macro
51 stack_size = STACKSIZE; in main()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-x86-darwin.c265 " push %edi\n" // stacksize
277 Addr stacksize, Addr flags, Addr sp) in pthread_hijack() argument
283 …nc %p, arg %p, stack %p, flags %p, stack %p\n", self, kport, func, func_arg, stacksize, flags, sp); in pthread_hijack()
304 vex->guest_EDI = stacksize; in pthread_hijack()
315 Addr stack = VG_PGROUNDUP(sp) - stacksize; in pthread_hijack()
316 tst->client_stack_highest_byte = stack+stacksize-1; in pthread_hijack()
317 tst->client_stack_szB = stacksize; in pthread_hijack()
321 stack+stacksize, pthread_structsize, in pthread_hijack()
325 stack, stacksize, in pthread_hijack()
386 SizeT stacksize; in wqthread_hijack() local
[all …]
Dsyswrap-amd64-darwin.c337 Addr stacksize, Addr flags, Addr sp) in pthread_hijack() argument
343 …nc %p, arg %p, stack %p, flags %p, stack %p\n", self, kport, func, func_arg, stacksize, flags, sp); in pthread_hijack()
363 vex->guest_R8 = stacksize; in pthread_hijack()
374 Addr stack = VG_PGROUNDUP(sp) - stacksize; in pthread_hijack()
375 tst->client_stack_highest_byte = stack+stacksize-1; in pthread_hijack()
376 tst->client_stack_szB = stacksize; in pthread_hijack()
380 stack+stacksize, pthread_structsize, in pthread_hijack()
384 stack, stacksize, in pthread_hijack()
438 SizeT stacksize; in wqthread_hijack() local
529 stacksize = 512*1024; // wq stacks are always DEFAULT_STACK_SIZE in wqthread_hijack()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsFrameLowering.cpp54 // StackSize -----------
62 // with offsets that exceeds the stack size: (stacksize+(4*(num_arg-1))
72 // lw REGX, 16+StackSize(SP)
159 unsigned StackSize = AlignOffset(LocalVarAreaOffset, StackAlign) + in emitPrologue() local
163 MFI->setStackSize(StackSize); in emitPrologue()
174 if (StackSize == 0 && !MFI->adjustsStack()) return; in emitPrologue()
181 ATUsed = expandRegLargeImmPair(Mips::SP, -StackSize, NewReg, NewImm, MBB, in emitPrologue()
190 // emit ".cfi_def_cfa_offset StackSize" in emitPrologue()
195 SrcML = MachineLocation(MachineLocation::VirtualFP, -StackSize); in emitPrologue()
277 unsigned StackSize = MFI->getStackSize(); in emitEpilogue() local
[all …]
/external/opencv/cv/src/
Dcvconvhull.cpp50 int stacksize = 3; in icvSklansky_32s() local
85 stack[stacksize] = pnext; in icvSklansky_32s()
86 stacksize++; in icvSklansky_32s()
99 stack[stacksize-2] = pnext; in icvSklansky_32s()
101 pprev = stack[stacksize-4]; in icvSklansky_32s()
102 stacksize--; in icvSklansky_32s()
109 stack[stacksize-1] = pnext; in icvSklansky_32s()
113 return --stacksize; in icvSklansky_32s()
123 int stacksize = 3; in icvSklansky_32f() local
158 stack[stacksize] = pnext; in icvSklansky_32f()
[all …]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFrameLowering.cpp130 uint64_t StackSize = MFI->getStackSize(); in emitPrologue() local
151 StackSize ? SPReg : (unsigned)WebAssembly::SP32) in emitPrologue()
157 if (StackSize) { in emitPrologue()
161 .addImm(StackSize); in emitPrologue()
175 if (StackSize && needsSPWriteback(MF, *MFI)) { in emitPrologue()
183 uint64_t StackSize = MFI->getStackSize(); in emitEpilogue() local
197 if (StackSize) { in emitEpilogue()
203 .addImm(StackSize); in emitEpilogue()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix_libcdep.cc310 uptr stacksize = 0; in AdjustStackSize() local
311 my_pthread_attr_getstack(attr, (void**)&stackaddr, &stacksize); in AdjustStackSize()
312 // GLibC will return (0 - stacksize) as the stack address in the case when in AdjustStackSize()
313 // stacksize is set, but stackaddr is not. in AdjustStackSize()
314 bool stack_set = (stackaddr != 0) && (stackaddr + stacksize != 0); in AdjustStackSize()
317 if (stacksize < minstacksize) { in AdjustStackSize()
319 if (stacksize != 0) { in AdjustStackSize()
320 VPrintf(1, "Sanitizer: increasing stacksize %zu->%zu\n", stacksize, in AdjustStackSize()
326 "%zu < %zu\n", stacksize, minstacksize); in AdjustStackSize()
Dsanitizer_linux_libcdep.cc98 // Get stacksize from rlimit, but clip it so that it does not overlap in GetThreadStackTopAndBottom()
100 uptr stacksize = rl.rlim_cur; in GetThreadStackTopAndBottom() local
101 if (stacksize > end - prev_end) in GetThreadStackTopAndBottom()
102 stacksize = end - prev_end; in GetThreadStackTopAndBottom()
106 if (stacksize > kMaxThreadStackSize) in GetThreadStackTopAndBottom()
107 stacksize = kMaxThreadStackSize; in GetThreadStackTopAndBottom()
109 *stack_bottom = end - stacksize; in GetThreadStackTopAndBottom()
115 uptr stacksize = 0; in GetThreadStackTopAndBottom() local
117 my_pthread_attr_getstack(&attr, &stackaddr, &stacksize); in GetThreadStackTopAndBottom()
120 CHECK_LE(stacksize, kMaxThreadStackSize); // Sanity check. in GetThreadStackTopAndBottom()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZFrameLowering.cpp107 uint64_t StackSize = MFI->getStackSize(); in emitPrologue() local
108 StackSize -= SystemZMFI->getCalleeSavedFrameSize(); in emitPrologue()
110 uint64_t NumBytes = StackSize - getOffsetOfLocalArea(); in emitPrologue()
122 if (StackSize || MFI->hasCalls()) { in emitPrologue()
160 uint64_t StackSize = in emitEpilogue() local
162 uint64_t NumBytes = StackSize - getOffsetOfLocalArea(); in emitEpilogue()
175 if (StackSize || MFI->hasCalls()) { in emitEpilogue()
209 uint64_t StackSize = MFI->getStackSize(); in getFrameIndexOffset() local
213 StackSize -= SystemZMFI->getCalleeSavedFrameSize(); in getFrameIndexOffset()
215 Offset += StackSize - getOffsetOfLocalArea(); in getFrameIndexOffset()
[all …]
/external/freetype/src/cff/
Dcf2stack.c55 FT_UInt stackSize ) in cf2_stack_init() argument
70 if ( FT_NEW_ARRAY( stack->buffer, stackSize ) ) in cf2_stack_init()
76 stack->stackSize = stackSize; in cf2_stack_init()
110 if ( stack->top == stack->buffer + stack->stackSize ) in cf2_stack_pushInt()
126 if ( stack->top == stack->buffer + stack->stackSize ) in cf2_stack_pushFixed()
190 FT_ASSERT( cf2_stack_count( stack ) <= stack->stackSize ); in cf2_stack_getReal()
/external/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp361 uint64_t StackSize = getAllocatedStackSize(MF); in emitPrologue() local
362 if (StackSize) { in emitPrologue()
372 // Allocate StackSize bytes. in emitPrologue()
373 int64_t Delta = -int64_t(StackSize); in emitPrologue()
448 uint64_t StackSize = getAllocatedStackSize(MF); in emitEpilogue() local
457 uint64_t Offset = StackSize + MBBI->getOperand(AddrOpNo + 1).getImm(); in emitEpilogue()
473 } else if (StackSize) { in emitEpilogue()
475 emitIncrement(MBB, MBBI, DL, SystemZ::R15D, StackSize, ZII); in emitEpilogue()
514 uint64_t StackSize = MFFrame->getStackSize(); in getAllocatedStackSize() local
519 if (StackSize || MFFrame->hasVarSizedObjects() || MFFrame->hasCalls()) in getAllocatedStackSize()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86FrameLowering.cpp607 uint64_t StackSize = MFI->getStackSize(); // Number of bytes to allocate. in emitPrologue() local
646 StackSize = std::max(MinSize, StackSize > 128 ? StackSize - 128 : 0); in emitPrologue()
647 MFI->setStackSize(StackSize); in emitPrologue()
685 uint64_t FrameSize = StackSize - SlotSize; in emitPrologue()
708 if (StackSize) { in emitPrologue()
760 NumBytes = StackSize - X86FI->getCalleeSavedFrameSize(); in emitPrologue()
780 unsigned Ptr = StackSize ? MachineLocation::VirtualFP : StackPtr; in emitPrologue()
886 if (StackSize) { in emitPrologue()
889 -StackSize + stackGrowth); in emitPrologue()
942 uint64_t StackSize = MFI->getStackSize(); in emitEpilogue() local
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430FrameLowering.cpp52 uint64_t StackSize = MFI->getStackSize(); in emitPrologue() local
57 uint64_t FrameSize = StackSize - 2; in emitPrologue()
79 NumBytes = StackSize - MSP430FI->getCalleeSavedFrameSize(); in emitPrologue()
125 uint64_t StackSize = MFI->getStackSize(); in emitEpilogue() local
131 uint64_t FrameSize = StackSize - 2; in emitEpilogue()
137 NumBytes = StackSize - CSSize; in emitEpilogue()
/external/llvm/test/CodeGen/MIR/Generic/
Dframe-info.mir34 # CHECK-NEXT: stackSize: 0
61 # CHECK-NEXT: stackSize: 4
77 stackSize: 4

1234567891011