Searched defs:stacksize (Results 1 - 25 of 31) sorted by relevance

12

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
H A D1-5.c111 long stacksize = sysconf(_SC_THREAD_STACK_MIN); /* make sure we touch the current stack memory */ local
135 if (((long)&current) - ((long)arg) >= stacksize) {
143 if (((long)arg) - ((long)&current) >= stacksize) {
H A D3-2.c119 long stacksize = sysconf(_SC_THREAD_STACK_MIN); /* make sure we touch the current stack memory */ local
155 if (((long)&current) - ((long)arg) >= stacksize) {
163 if (((long)arg) - ((long)&current) >= stacksize) {
451 ("Changing the stacksize after the thread was created changed the running thread stack size");
488 "Failed to set stacksize back");
/external/valgrind/memcheck/tests/solaris/
H A Dthr_daemon_exit_standalone.c93 static void *allocate_stack(size_t stacksize) { argument
111 [SIZE] "g" (stacksize), [SYSNO] "n" (SYS_mmap)
126 [SIZE] "g" (stacksize), [SYSNO] "n" (SYS_mmap)
/external/ltp/testcases/kernel/sched/pthreads/
H A Dpth_str02.c115 size_t stacksize = 1046528; local
125 if (pthread_attr_setstacksize(&attr, stacksize))
/external/syslinux/core/lwip/src/arch/
H A Dsys_arch.c127 void *arg, int stacksize, int prio)
129 return start_thread(name, stacksize, prio, thread, arg);
126 sys_thread_new(const char *name, lwip_thread_fn thread, void *arg, int stacksize, int prio) argument
/external/markdown/
H A Dtest-markdown.py61 def stacksize(since=0.0): function
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-amd64-darwin.c337 Addr stacksize, Addr flags, Addr sp)
343 // VG_(printf)("pthread_hijack pthread %p, machthread %p, func %p, arg %p, stack %p, flags %p, stack %p\n", self, kport, func, func_arg, stacksize, flags, sp);
363 vex->guest_R8 = stacksize;
374 Addr stack = VG_PGROUNDUP(sp) - stacksize;
375 tst->client_stack_highest_byte = stack+stacksize-1;
376 tst->client_stack_szB = stacksize;
380 stack+stacksize, pthread_structsize,
384 stack, stacksize,
438 SizeT stacksize; local
529 stacksize
336 pthread_hijack(Addr self, Addr kport, Addr func, Addr func_arg, Addr stacksize, Addr flags, Addr sp) argument
[all...]
H A Dsyswrap-x86-darwin.c265 " push %edi\n" // stacksize
277 Addr stacksize, Addr flags, Addr sp)
283 // VG_(printf)("pthread_hijack pthread %p, machthread %p, func %p, arg %p, stack %p, flags %p, stack %p\n", self, kport, func, func_arg, stacksize, flags, sp);
304 vex->guest_EDI = stacksize;
315 Addr stack = VG_PGROUNDUP(sp) - stacksize;
316 tst->client_stack_highest_byte = stack+stacksize-1;
317 tst->client_stack_szB = stacksize;
321 stack+stacksize, pthread_structsize,
325 stack, stacksize,
386 SizeT stacksize; local
276 pthread_hijack(Addr self, Addr kport, Addr func, Addr func_arg, Addr stacksize, Addr flags, Addr sp) argument
[all...]
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_linux_test.cc220 size_t stacksize; local
221 pthread_attr_getstack(&attr, &stackaddr, &stacksize);
222 return (void *)((uptr)stackaddr + stacksize - descr_addr);
/external/ltp/testcases/misc/math/float/
H A Dmain.c110 size_t stacksize = 2093056; local
220 if (pthread_attr_setstacksize(&newattr, stacksize))
/external/valgrind/coregrind/m_initimg/
H A Dinitimg-darwin.c325 unsigned stacksize; /* total client stack size */ local
378 stacksize =
388 if (0) VG_(printf)("stacksize = %d\n", stacksize);
391 client_SP = clstack_end + 1 - stacksize;
410 VG_(printf)("stringsize=%d auxsize=%d stacksize=%d maxsize=0x%x\n"
413 stringsize, auxsize, stacksize, (Int)clstack_max_size,
H A Dinitimg-solaris.c392 SizeT stacksize; /* total client stack size */ local
473 stacksize =
484 client_SP = clstack_end - stacksize;
502 VG_(printf)("stringsize=%lu, auxsize=%lu, stacksize=%lu, maxsize=%#lx\n"
505 stringsize, auxsize, stacksize, clstack_max_size,
568 "This may be the result of a very large --main-stacksize=\n");
898 --main-stacksize value. This makes it possible to run programs with
900 --main-stacksize. */
904 - If a larger --main-stacksize value is specified, use that instead.
H A Dinitimg-linux.c407 unsigned stacksize; /* total client stack size */ local
471 stacksize =
481 if (0) VG_(printf)("stacksize = %u\n", stacksize);
484 client_SP = clstack_end - stacksize;
497 VG_(printf)("stringsize=%u auxsize=%u stacksize=%u maxsize=0x%lx\n"
500 stringsize, auxsize, stacksize, clstack_max_size,
566 "This may be the result of a very large --main-stacksize=\n");
947 notice of the --main-stacksize value. This makes it possible
949 simply by specifying --main-stacksize
[all...]
/external/valgrind/coregrind/m_ume/
H A Dmacho.c380 vki_size_t stacksize = VG_PGROUNDUP(default_stack_size()); local
381 vm_address_t stackbase = VG_PGROUNDDN(stack_end+1-stacksize);
384 res = VG_(am_mmap_anon_fixed_client)(stackbase, stacksize, VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_EXEC);
385 check_mmap(res, stackbase, stacksize, "load_unixthread1");
583 err = handle_lcmain ( &stack_start, &stack_end, epcmd->stacksize );
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cc98 // Get stacksize from rlimit, but clip it so that it does not overlap
100 uptr stacksize = rl.rlim_cur; local
101 if (stacksize > end - prev_end)
102 stacksize = end - prev_end;
106 if (stacksize > kMaxThreadStackSize)
107 stacksize = kMaxThreadStackSize;
109 *stack_bottom = end - stacksize;
115 uptr stacksize = 0; local
117 my_pthread_attr_getstack(&attr, &stackaddr, &stacksize);
120 CHECK_LE(stacksize, kMaxThreadStackSiz
[all...]
H A Dsanitizer_posix_libcdep.cc310 uptr stacksize = 0; local
311 my_pthread_attr_getstack(attr, (void**)&stackaddr, &stacksize);
312 // GLibC will return (0 - stacksize) as the stack address in the case when
313 // stacksize is set, but stackaddr is not.
314 bool stack_set = (stackaddr != 0) && (stackaddr + stacksize != 0);
317 if (stacksize < minstacksize) {
319 if (stacksize != 0) {
320 VPrintf(1, "Sanitizer: increasing stacksize %zu->%zu\n", stacksize,
326 "%zu < %zu\n", stacksize, minstacksiz
[all...]
H A Dsanitizer_mac.cc251 uptr stacksize = pthread_get_stacksize_np(pthread_self()); local
256 stacksize == (1 << 19)) {
261 stacksize = rl.rlim_cur;
263 stacksize = kMaxThreadStackSize;
268 *stack_bottom = *stack_top - stacksize;
/external/opencv/cv/src/
H A Dcvconvhull.cpp50 int stacksize = 3; local
85 stack[stacksize] = pnext;
86 stacksize++;
99 stack[stacksize-2] = pnext;
101 pprev = stack[stacksize-4];
102 stacksize--;
109 stack[stacksize-1] = pnext;
113 return --stacksize;
123 int stacksize = 3; local
158 stack[stacksize]
[all...]
/external/syslinux/core/fs/pxe/
H A Dpxe.h50 uint16_t stacksize; member in struct:pxenv_t
/external/dng_sdk/source/
H A Ddng_pthread.cpp250 size_t stacksize; member in struct:dng_pthread_attr_impl
263 newAttrs->stacksize = 0;
286 int dng_pthread_attr_setstacksize(dng_pthread_attr_t *attr, size_t stacksize) argument
291 (*attr)->stacksize = stacksize;
298 int dng_pthread_attr_getstacksize(const dng_pthread_attr_t *attr, size_t *stacksize) argument
300 if (attr == NULL || (*attr) == NULL || stacksize == NULL)
303 *stacksize = (*attr)->stacksize;
325 size_t stacksize local
[all...]
/external/javassist/src/main/javassist/
H A DCtClassType.java1464 int stacksize = 0;
1472 if (stacksize < s)
1473 stacksize = s;
1478 modifyClassConstructor(cf, code, stacksize, 0);
1482 int stacksize, int localsize)
1488 code.setMaxStack(stacksize);
1508 if (maxstack < stacksize)
1509 codeAttr.setMaxStack(stacksize);
1549 int stacksize = makeFieldInitializer(init, params);
1550 insertAuxInitializer(codeAttr, init, stacksize);
1481 modifyClassConstructor(ClassFile cf, Bytecode code, int stacksize, int localsize) argument
1560 insertAuxInitializer(CodeAttribute codeAttr, Bytecode initializer, int stacksize) argument
[all...]
/external/javassist/src/main/javassist/bytecode/
H A DBytecode.java129 * <p>The parameters <code>stacksize</code> and <code>localvars</code>
135 * @param stacksize <code>max_stack</code>.
138 public Bytecode(ConstPool cp, int stacksize, int localvars) { argument
140 maxStack = stacksize;
797 int stacksize = 0;
801 stacksize += addLoad(stacksize + offset, params[i]);
804 return stacksize;
/external/skia/third_party/lua/src/
H A Dlstate.h163 int stacksize; member in struct:lua_State
/external/syslinux/com32/lua/src/
H A Dlstate.h163 int stacksize; member in struct:lua_State
/external/llvm/include/llvm/Support/
H A DMachO.h879 uint64_t stacksize; member in struct:llvm::MachO::entry_point_command
1176 sys::swapByteOrder(e.stacksize);

Completed in 1720 milliseconds

12