/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstack/ |
1-1.c | 34 size_t stack_size; local 46 /* Get the default stack_addr and stack_size value */ 47 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size); 52 printf("stack_addr = %p, stack_size = %zu\n", stack_addr, stack_size); 54 stack_size = PTHREAD_STACK_MIN; 57 stack_size) != 0) { 62 printf("stack_addr = %p, stack_size = %zu\n", stack_addr, stack_size); 64 rc = pthread_attr_setstack(&attr, stack_addr, stack_size); [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstacksize/ |
1-1.c | 33 size_t stack_size; local 45 /* Get the default stack_addr and stack_size value */ 46 rc = pthread_attr_getstacksize(&attr, &stack_size); 51 /* printf("stack_size = %lu\n", stack_size); */ 53 stack_size = PTHREAD_STACK_MIN; 55 if (posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size) != 0) { 60 /* printf("stack_size = %lu\n", stack_size); */ 62 rc = pthread_attr_setstacksize(&attr, stack_size); [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/ |
6-1.c | 32 size_t stack_size; variable 52 /* Get the default stack_addr and stack_size value */ 53 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size); 58 /* printf("stack_addr = %p, stack_size = %u\n", stack_addr, stack_size); */ 60 stack_size = STACKSIZE; 63 stack_size) != 0) { 69 /* printf("stack_addr = %p, stack_size = %u\n", stack_addr, stack_size); */ 70 rc = pthread_attr_setstack(&attr, stack_addr, stack_size); [all...] |
7-1.c | 33 size_t stack_size; variable 53 /* Get the default stack_addr and stack_size value */ 54 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size); 59 /* printf("stack_addr = %p, stack_size = %u\n", stack_addr, stack_size); */ 61 stack_size = PTHREAD_STACK_MIN; 64 stack_size) != 0) { 71 /* printf("stack_addr = %p, stack_size = %u\n", stack_addr, stack_size); */ 72 rc = pthread_attr_setstack(&attr, stack_addr, stack_size); [all...] |
1-1.c | 33 size_t stack_size; variable 56 /* Get the default stack_addr and stack_size value */ 57 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size); 62 /* printf("stack_addr = %p, stack_size = %u\n", stack_addr, stack_size); */ 64 stack_size = PTHREAD_STACK_MIN; 67 stack_size) != 0) { 72 /* printf("stack_addr = %p, stack_size = %u\n", stack_addr, stack_size); */ 74 rc = pthread_attr_setstack(&attr, stack_addr, stack_size); [all...] |
2-1.c | 36 size_t stack_size; variable 53 if (ssize != stack_size || saddr != stack_addr) { 77 /* Get the default stack_addr and stack_size value */ 78 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size); 91 stack_size = PTHREAD_STACK_MIN * 4; 94 stack_size)) != 0) { 99 if ((rc = pthread_attr_setstack(&attr, stack_addr, stack_size)) != 0) {
|
4-1.c | 35 size_t stack_size; variable 68 /* Get the default stack_addr and stack_size value */ 69 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size); 74 /* printf("stack_addr = %p, stack_size = %u\n", stack_addr, stack_size); */ 76 stack_size = PTHREAD_STACK_MIN; 79 stack_size) != 0) { 84 /* printf("stack_addr = %p, stack_size = %u\n", stack_addr, stack_size); */ 86 rc = pthread_attr_setstack(&attr, stack_addr, stack_size); [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/ |
4-1.c | 41 size_t stack_size; local 51 stack_size = STACKSIZE; 53 if (posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size) != 0) { 59 rc = pthread_attr_setstacksize(&attr, stack_size);
|
1-1.c | 42 size_t stack_size = PTHREAD_STACK_MIN; local 54 /* printf("stack_size = %lu\n", stack_size); */ 56 rc = posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size); 64 rc = pthread_attr_setstacksize(&attr, stack_size); 77 /* printf("stack_size = %lu\n", ssize); */
|
2-1.c | 35 size_t stack_size; variable 53 if (ssize < stack_size) { 55 "size (%zu < %zu)\n", ssize, stack_size); 83 stack_size = 4 * PTHREAD_STACK_MIN; 86 stack_size)) != 0) { 91 rc = pthread_attr_setstacksize(&attr, stack_size);
|
/external/valgrind/none/tests/linux/ |
clonev.c | 23 long stack_size = sysconf(_SC_THREAD_STACK_MIN) + page_size; local 24 assert(stack_size != -1); 26 size_t stack_and_guard_size = page_size + stack_size + page_size; 41 if (-1 == mprotect((char *)child_stack + page_size + stack_size, 47 void *stack_start = (char *)child_stack + page_size + stack_size; 49 printf("stack_start %p page_size %d stack_size %d\n", 50 stack_start, (int)page_size, (int)stack_size);
|
pthread-stack.c | 89 const size_t stack_size = 256 * 1024; local 90 assert(stack_size < file_size); 91 void *stack = mmap(NULL, stack_size, PROT_READ|PROT_WRITE, 96 r = pthread_attr_setstack(&attr, stack, stack_size);
|
/external/ltp/lib/ |
cloner.c | 66 size_t stack_size, void *stack, pid_t *ptid, void *tls, pid_t *ctid) 71 ret = __clone2(fn, stack, stack_size, flags, arg, ptid, tls, ctid); 84 stack += stack_size; 94 size_t stack_size, void *stack) 96 return ltp_clone_(flags, fn, arg, stack_size, stack, NULL, NULL, NULL); 100 size_t stack_size, void *stack, ...) 113 return ltp_clone_(flags, fn, arg, stack_size, stack, ptid, tls, ctid); 126 size_t stack_size) 132 stack = malloc(stack_size); 136 ret = ltp_clone(clone_flags, fn, arg, stack_size, stack) 154 size_t stack_size = getpagesize() * 6; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
dummy_thread.py | 75 def stack_size(size=None):
function 76 """Dummy implementation of thread.stack_size()."""
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
dummy_thread.py | 75 def stack_size(size=None):
function 76 """Dummy implementation of thread.stack_size()."""
|
/external/clang/test/CodeGen/ |
2002-02-14-EntryNodePreds.c | 25 int stack_size; member in struct:EDGE_STACK
|
/external/compiler-rt/lib/asan/tests/ |
asan_fake_stack_test.cc | 48 uptr stack_size = 1UL << stack_size_log; local 53 uptr num_flags = stack_size / frame_size; 95 const uptr stack_size = 1 << stack_size_log; local 100 EXPECT_EQ(base + 0*stack_size + 64 * 7, fs->GetFrame(stack_size_log, 0, 7U)); 101 EXPECT_EQ(base + 1*stack_size + 128 * 3, fs->GetFrame(stack_size_log, 1, 3U)); 102 EXPECT_EQ(base + 2*stack_size + 256 * 5, fs->GetFrame(stack_size_log, 2, 5U));
|
/external/compiler-rt/lib/msan/ |
msan_thread.cc | 24 uptr stack_size = 0; local 25 GetThreadStackAndTls(IsMainThread(), &stack_bottom_, &stack_size, local 27 stack_top_ = stack_bottom_ + stack_size;
|
/external/python/cpython2/Lib/ |
dummy_thread.py | 75 def stack_size(size=None): function 76 """Dummy implementation of thread.stack_size()."""
|
/external/python/cpython3/Lib/ |
_dummy_thread.py | 78 def stack_size(size=None): function 79 """Dummy implementation of _thread.stack_size()."""
|
/external/valgrind/none/tests/solaris/ |
pthread-stack.c | 83 const size_t stack_size = 256 * 1024; local 84 assert(stack_size < file_size); 85 void *stack = mmap(NULL, stack_size, PROT_READ|PROT_WRITE, 90 int r = pthread_attr_setstack(&attr, stack, stack_size);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
dummy_thread.py | 75 def stack_size(size=None): function 76 """Dummy implementation of thread.stack_size()."""
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
dummy_thread.py | 75 def stack_size(size=None): function 76 """Dummy implementation of thread.stack_size()."""
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
dummy_thread.py | 75 def stack_size(size=None): function 76 """Dummy implementation of thread.stack_size()."""
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
dummy_thread.py | 75 def stack_size(size=None): function 76 """Dummy implementation of thread.stack_size()."""
|