Home
last modified time | relevance | path

Searched refs:stacksize (Results 1 – 25 of 77) sorted by relevance

1234

/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/valgrind/coregrind/m_syswrap/
Dsyswrap-x86-darwin.c277 Addr stacksize, Addr flags, Addr sp) in pthread_hijack() argument
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
478 stacksize = 512*1024; // wq stacks are always DEFAULT_STACK_SIZE in wqthread_hijack()
479 stack = VG_PGROUNDUP(sp) - stacksize; in wqthread_hijack()
[all …]
Dsyswrap-amd64-darwin.c337 Addr stacksize, Addr flags, Addr sp) in pthread_hijack() argument
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
530 stacksize = 512*1024; // wq stacks are always DEFAULT_STACK_SIZE in wqthread_hijack()
531 stack = VG_PGROUNDUP(sp) - stacksize; in wqthread_hijack()
[all …]
/external/python/cpython2/Lib/test/
Dtest_new.py113 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/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/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cc100 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()
121 *stack_top = (uptr)stackaddr + stacksize; in GetThreadStackTopAndBottom()
Dsanitizer_posix_libcdep.cc310 uptr stacksize = 0; in AdjustStackSize() local
311 my_pthread_attr_getstack(attr, (void**)&stackaddr, &stacksize); 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_mac.cc251 uptr stacksize = pthread_get_stacksize_np(pthread_self()); in GetThreadStackTopAndBottom() local
256 stacksize == (1 << 19)) { in GetThreadStackTopAndBottom()
261 stacksize = rl.rlim_cur; in GetThreadStackTopAndBottom()
263 stacksize = kMaxThreadStackSize; in GetThreadStackTopAndBottom()
268 *stack_bottom = *stack_top - stacksize; in GetThreadStackTopAndBottom()
/external/dng_sdk/source/
Ddng_pthread.cpp250 size_t stacksize; member
263 newAttrs->stacksize = 0; in dng_pthread_attr_init()
286 int dng_pthread_attr_setstacksize(dng_pthread_attr_t *attr, size_t stacksize) in dng_pthread_attr_setstacksize() argument
291 (*attr)->stacksize = stacksize; in dng_pthread_attr_setstacksize()
298 int dng_pthread_attr_getstacksize(const dng_pthread_attr_t *attr, size_t *stacksize) in dng_pthread_attr_getstacksize() argument
300 if (attr == NULL || (*attr) == NULL || stacksize == NULL) in dng_pthread_attr_getstacksize()
303 *stacksize = (*attr)->stacksize; in dng_pthread_attr_getstacksize()
325 size_t stacksize = 0; in dng_pthread_create() local
328 dng_pthread_attr_getstacksize (attrs, &stacksize); in dng_pthread_create()
333 result = _beginthreadex(NULL, (unsigned)stacksize, trampoline, args.get(), 0, &threadID); in dng_pthread_create()
Ddng_pthread.h103 int dng_pthread_attr_setstacksize(dng_pthread_attr_t *attr, size_t stacksize);
104 int dng_pthread_attr_getstacksize(const dng_pthread_attr_t *attr, size_t *stacksize);
/external/pcre/dist2/src/
Dpcre2_jit_compile.c286 int stacksize; member
7703 int stacksize; in match_once_common() local
7711 stacksize = needs_control_head ? 1 : 0; in match_once_common()
7713 stacksize++; in match_once_common()
7715 if (stacksize > 0) in match_once_common()
7716 free_stack(common, stacksize); in match_once_common()
7733 stacksize = (ket != OP_KET || has_alternatives) ? 2 : 1; in match_once_common()
7734 …TOP, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr, SLJIT_IMM, (framesize + stacksize) * sizeof(sljit_… in match_once_common()
7748 static SLJIT_INLINE int match_capture_common(compiler_common *common, int stacksize, int offset, in… in match_capture_common() argument
7756 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP1, 0); in match_capture_common()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D1-5.c111 long stacksize = sysconf(_SC_THREAD_STACK_MIN); /* make sure we touch the current stack memory */ in overflow() local
135 if (((long)&current) - ((long)arg) >= stacksize) { in overflow()
143 if (((long)arg) - ((long)&current) >= stacksize) { in overflow()
/external/valgrind/memcheck/tests/solaris/
Dthr_daemon_exit_standalone.c97 static void *allocate_stack(size_t stacksize) { in allocate_stack() argument
115 [SIZE] "g" (stacksize), [SYSNO] "n" (SYS_mmap) in allocate_stack()
130 [SIZE] "g" (stacksize), [SYSNO] "n" (SYS_mmap) in allocate_stack()
/external/valgrind/coregrind/m_initimg/
Dinitimg-darwin.c325 unsigned stacksize; /* total client stack size */ in setup_client_stack() local
378 stacksize = in setup_client_stack()
388 if (0) VG_(printf)("stacksize = %d\n", stacksize); in setup_client_stack()
391 client_SP = clstack_end + 1 - stacksize; in setup_client_stack()
413 stringsize, auxsize, stacksize, (Int)clstack_max_size, in setup_client_stack()
/external/syslinux/com32/lua/src/
Dlstate.c142 L1->stacksize = BASIC_STACK_SIZE; in stack_init()
146 L1->stack_last = L1->stack + L1->stacksize - EXTRA_STACK; in stack_init()
163 luaM_freearray(L, L->stack, L->stacksize); /* free stack array */ in freestack()
213 L->stacksize = 0; in preinit_state()
Dldo.c163 int lim = L->stacksize; in luaD_reallocstack()
165 lua_assert(L->stack_last - L->stack == L->stacksize - EXTRA_STACK); in luaD_reallocstack()
166 luaM_reallocvector(L, L->stack, L->stacksize, newsize, TValue); in luaD_reallocstack()
169 L->stacksize = newsize; in luaD_reallocstack()
176 int size = L->stacksize; in luaD_growstack()
210 goodsize >= L->stacksize) /* would grow instead of shrink? */ in luaD_shrinkstack()
/external/ltp/testcases/kernel/sched/pthreads/
Dpth_str02.c115 size_t stacksize = 1046528; in thread() local
125 if (pthread_attr_setstacksize(&attr, stacksize)) in thread()
/external/syslinux/core/lwip/src/arch/
Dsys_arch.c127 void *arg, int stacksize, int prio) in sys_thread_new() argument
129 return start_thread(name, stacksize, prio, thread, arg); in sys_thread_new()
/external/javassist/src/main/javassist/bytecode/
DBytecode.java138 public Bytecode(ConstPool cp, int stacksize, int localvars) { in Bytecode() argument
140 maxStack = stacksize; in Bytecode()
797 int stacksize = 0; in addLoadParameters() local
801 stacksize += addLoad(stacksize + offset, params[i]); in addLoadParameters()
804 return stacksize; in addLoadParameters()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_linux_test.cc220 size_t stacksize; in thread_descriptor_size_test_func() local
221 pthread_attr_getstack(&attr, &stackaddr, &stacksize); in thread_descriptor_size_test_func()
222 return (void *)((uptr)stackaddr + stacksize - descr_addr); in thread_descriptor_size_test_func()
/external/valgrind/coregrind/m_ume/
Dmacho.c381 vki_size_t stacksize = VG_PGROUNDUP(default_stack_size()); in load_unixthread() local
382 vm_address_t stackbase = VG_PGROUNDDN(out_info->stack_end+1-stacksize); in load_unixthread()
385 …res = VG_(am_mmap_anon_fixed_client)(stackbase, stacksize, VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_E… in load_unixthread()
386 check_mmap(res, stackbase, stacksize, "load_unixthread1"); in load_unixthread()
588 err = handle_lcmain(epcmd->stacksize, out_info); in load_thin_file()
/external/python/cpython2/Objects/
Dcodeobject.c93 PyCode_New(int argcount, int nlocals, int stacksize, int flags, in PyCode_New() argument
124 co->co_stacksize = stacksize; in PyCode_New()
273 int stacksize; in code_new() local
288 &argcount, &nlocals, &stacksize, &flags, in code_new()
332 co = (PyObject *)PyCode_New(argcount, nlocals, stacksize, flags, in code_new()

1234