/external/linux-kselftest/tools/testing/selftests/powerpc/include/ |
D | fpu_asm.h | 14 #define PUSH_FPU(stack_size) \ argument 15 stfd f31,(stack_size + STACK_FRAME_MIN_SIZE)(%r1); \ 16 stfd f30,(stack_size + STACK_FRAME_MIN_SIZE - 8)(%r1); \ 17 stfd f29,(stack_size + STACK_FRAME_MIN_SIZE - 16)(%r1); \ 18 stfd f28,(stack_size + STACK_FRAME_MIN_SIZE - 24)(%r1); \ 19 stfd f27,(stack_size + STACK_FRAME_MIN_SIZE - 32)(%r1); \ 20 stfd f26,(stack_size + STACK_FRAME_MIN_SIZE - 40)(%r1); \ 21 stfd f25,(stack_size + STACK_FRAME_MIN_SIZE - 48)(%r1); \ 22 stfd f24,(stack_size + STACK_FRAME_MIN_SIZE - 56)(%r1); \ 23 stfd f23,(stack_size + STACK_FRAME_MIN_SIZE - 64)(%r1); \ [all …]
|
D | gpr_asm.h | 55 #define PUSH_NVREGS(stack_size) \ argument 56 __PUSH_NVREGS(stack_size + STACK_FRAME_MIN_SIZE) 59 #define PUSH_NVREGS_BELOW_FPU(stack_size) \ argument 60 __PUSH_NVREGS(stack_size + STACK_FRAME_MIN_SIZE - (18 * 8)) 62 #define POP_NVREGS(stack_size) \ argument 63 __POP_NVREGS(stack_size + STACK_FRAME_MIN_SIZE) 66 #define POP_NVREGS_BELOW_FPU(stack_size) \ argument 67 __POP_NVREGS(stack_size + STACK_FRAME_MIN_SIZE - (18 * 8))
|
/external/ltp/lib/ |
D | cloner.c | 66 size_t stack_size, void *stack, pid_t *ptid, void *tls, pid_t *ctid) in ltp_clone_() argument 71 ret = __clone2(fn, stack, stack_size, flags, arg, ptid, tls, ctid); in ltp_clone_() 84 stack += stack_size; in ltp_clone_() 94 size_t stack_size, void *stack) in ltp_clone() argument 96 return ltp_clone_(flags, fn, arg, stack_size, stack, NULL, NULL, NULL); in ltp_clone() 100 size_t stack_size, void *stack, ...) in ltp_clone7() argument 113 return ltp_clone_(flags, fn, arg, stack_size, stack, ptid, tls, ctid); in ltp_clone7() 126 size_t stack_size) in ltp_clone_malloc() argument 132 stack = malloc(stack_size); in ltp_clone_malloc() 136 ret = ltp_clone(clone_flags, fn, arg, stack_size, stack); in ltp_clone_malloc() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/ |
D | 7-1.c | 33 size_t stack_size; variable 54 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size); in main() 61 stack_size = PTHREAD_STACK_MIN; in main() 64 stack_size) != 0) { in main() 72 rc = pthread_attr_setstack(&attr, stack_addr, stack_size); in main() 79 stack_size = PTHREAD_STACK_MIN + OFFSET; in main() 81 rc = pthread_attr_setstack(&attr, stack_addr, stack_size); in main()
|
D | 4-1.c | 35 size_t stack_size; variable 69 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size); in main() 76 stack_size = PTHREAD_STACK_MIN; in main() 79 stack_size) != 0) { in main() 86 rc = pthread_attr_setstack(&attr, stack_addr, stack_size); in main() 99 if (ssize != stack_size || saddr != stack_addr) { in main()
|
D | 6-1.c | 32 size_t stack_size; variable 53 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size); in main() 60 stack_size = STACKSIZE; in main() 63 stack_size) != 0) { in main() 70 rc = pthread_attr_setstack(&attr, stack_addr, stack_size); in main()
|
D | 2-1.c | 36 size_t stack_size; variable 53 if (ssize != stack_size || saddr != stack_addr) { in thread_func() 78 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size); in main() 91 stack_size = PTHREAD_STACK_MIN * 4; in main() 94 stack_size)) != 0) { in main() 99 if ((rc = pthread_attr_setstack(&attr, stack_addr, stack_size)) != 0) { in main()
|
D | 1-1.c | 33 size_t stack_size; variable 57 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size); in main() 64 stack_size = PTHREAD_STACK_MIN; in main() 67 stack_size) != 0) { in main() 74 rc = pthread_attr_setstack(&attr, stack_addr, stack_size); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstack/ |
D | 1-1.c | 34 size_t stack_size; in main() local 47 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size); in main() 52 printf("stack_addr = %p, stack_size = %zu\n", stack_addr, stack_size); in main() 54 stack_size = PTHREAD_STACK_MIN; in main() 57 stack_size) != 0) { in main() 62 printf("stack_addr = %p, stack_size = %zu\n", stack_addr, stack_size); in main() 64 rc = pthread_attr_setstack(&attr, stack_addr, stack_size); in main()
|
/external/libchrome/base/threading/ |
D | platform_thread_posix.cc | 81 bool CreateThread(size_t stack_size, in CreateThread() argument 98 if (stack_size == 0) in CreateThread() 99 stack_size = base::GetDefaultThreadStackSize(attributes); in CreateThread() 101 if (stack_size > 0) in CreateThread() 102 pthread_attr_setstacksize(&attributes, stack_size); in CreateThread() 188 bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, in CreateWithPriority() argument 191 return CreateThread(stack_size, true /* joinable thread */, delegate, in CreateWithPriority() 196 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { in CreateNonJoinable() argument 197 return CreateNonJoinableWithPriority(stack_size, delegate, in CreateNonJoinable() 202 bool PlatformThread::CreateNonJoinableWithPriority(size_t stack_size, in CreateNonJoinableWithPriority() argument [all …]
|
D | platform_thread.h | 166 static bool Create(size_t stack_size, in Create() argument 169 return CreateWithPriority(stack_size, delegate, thread_handle, in Create() 175 static bool CreateWithPriority(size_t stack_size, Delegate* delegate, 182 static bool CreateNonJoinable(size_t stack_size, Delegate* delegate); 186 static bool CreateNonJoinableWithPriority(size_t stack_size,
|
/external/syslinux/core/thread/ |
D | start_thread.c | 13 struct thread *start_thread(const char *name, size_t stack_size, int prio, in start_thread() argument 22 if (stack_size < MIN_STACK_SIZE) in start_thread() 23 stack_size = MIN_STACK_SIZE; in start_thread() 25 stack_size = (stack_size + thread_mask) & ~thread_mask; in start_thread() 26 stack = malloc(stack_size + sizeof(struct thread)); in start_thread() 42 sp = (struct thread_stack *)(stack + stack_size) - 1; in start_thread()
|
/external/valgrind/none/tests/linux/ |
D | clonev.c | 23 long stack_size = sysconf(_SC_THREAD_STACK_MIN) + page_size; in main() local 24 assert(stack_size != -1); in main() 26 size_t stack_and_guard_size = page_size + stack_size + page_size; in main() 41 if (-1 == mprotect((char *)child_stack + page_size + stack_size, in main() 47 void *stack_start = (char *)child_stack + page_size + stack_size; in main() 50 stack_start, (int)page_size, (int)stack_size); in main()
|
D | pthread-stack.c | 89 const size_t stack_size = 256 * 1024; in main() local 90 assert(stack_size < file_size); in main() 91 void *stack = mmap(NULL, stack_size, PROT_READ|PROT_WRITE, in main() 96 r = pthread_attr_setstack(&attr, stack, stack_size); in main()
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/ |
D | convolutional_test.py | 34 stack_size = 3 44 input_shape=(num_samples, length, stack_size)) 104 stack_size = 3 115 input_shape=(num_samples, num_row, num_col, stack_size)) 178 stack_size = 3 189 input_shape=(num_samples, num_row, num_col, stack_size)) 242 stack_size = 3 254 input_shape=(num_samples, depth, num_row, num_col, stack_size)) 307 stack_size = 3 317 input_shape=(num_samples, length, stack_size)) [all …]
|
D | local_test.py | 92 stack_size = 4 114 input_shape=(num_samples, num_row, num_col, stack_size)) 119 stack_size = 4 131 input_shape=(num_samples, num_row, num_col, stack_size)) 136 stack_size = 4 148 layer.build((num_samples, num_row, num_col, stack_size)) 152 np.ones((num_samples, num_row, num_col, stack_size)))) 165 layer.build((num_samples, num_row, num_col, stack_size))
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/ |
D | 2-1.c | 35 size_t stack_size; variable 53 if (ssize < stack_size) { in thread_func() 55 "size (%zu < %zu)\n", ssize, stack_size); in thread_func() 83 stack_size = 4 * PTHREAD_STACK_MIN; in main() 86 stack_size)) != 0) { in main() 91 rc = pthread_attr_setstacksize(&attr, stack_size); in main()
|
D | 4-1.c | 41 size_t stack_size; in main() local 51 stack_size = STACKSIZE; in main() 53 if (posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size) != 0) { in main() 59 rc = pthread_attr_setstacksize(&attr, stack_size); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstacksize/ |
D | 1-1.c | 33 size_t stack_size; in main() local 46 rc = pthread_attr_getstacksize(&attr, &stack_size); in main() 53 stack_size = PTHREAD_STACK_MIN; in main() 55 if (posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size) != 0) { in main() 62 rc = pthread_attr_setstacksize(&attr, stack_size); in main()
|
/external/compiler-rt/lib/asan/ |
D | asan_thread.cc | 183 uptr AsanThread::stack_size() { in stack_size() function in __asan::AsanThread 191 uptr stack_size = this->stack_size(); in AsyncSignalSafeLazyInitFakeStack() local 192 if (stack_size == 0) // stack_size is not yet available, don't use FakeStack. in AsyncSignalSafeLazyInitFakeStack() 204 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack() 221 CHECK_EQ(this->stack_size(), 0U); in Init() 223 CHECK_GT(this->stack_size(), 0U); in Init() 265 uptr stack_size = 0; in SetThreadStackAndTls() local 267 const_cast<uptr *>(&stack_size), &tls_begin_, &tls_size); in SetThreadStackAndTls() 268 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_fake_stack_test.cc | 48 uptr stack_size = 1UL << stack_size_log; in TEST() local 53 uptr num_flags = stack_size / frame_size; in TEST() 95 const uptr stack_size = 1 << stack_size_log; in TEST() local 100 EXPECT_EQ(base + 0*stack_size + 64 * 7, fs->GetFrame(stack_size_log, 0, 7U)); in TEST() 101 EXPECT_EQ(base + 1*stack_size + 128 * 3, fs->GetFrame(stack_size_log, 1, 3U)); in TEST() 102 EXPECT_EQ(base + 2*stack_size + 256 * 5, fs->GetFrame(stack_size_log, 2, 5U)); in TEST()
|
/external/python/cpython2/Lib/test/ |
D | test_thread.py | 68 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0") 70 thread.stack_size(0) 71 self.assertEqual(thread.stack_size(), 0, "stack_size not reset to default") 76 thread.stack_size(4096) 86 thread.stack_size(tss) 87 self.assertEqual(thread.stack_size(), tss, fail_msg % tss) 101 thread.stack_size(0)
|
/external/python/cpython3/Lib/test/ |
D | test_thread.py | 66 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0") 68 thread.stack_size(0) 69 self.assertEqual(thread.stack_size(), 0, "stack_size not reset to default") 74 thread.stack_size(4096) 84 thread.stack_size(tss) 85 self.assertEqual(thread.stack_size(), tss, fail_msg % tss) 99 thread.stack_size(0)
|
/external/valgrind/none/tests/solaris/ |
D | pthread-stack.c | 83 const size_t stack_size = 256 * 1024; in main() local 84 assert(stack_size < file_size); in main() 85 void *stack = mmap(NULL, stack_size, PROT_READ|PROT_WRITE, in main() 90 int r = pthread_attr_setstack(&attr, stack, stack_size); in main()
|
/external/ltp/testcases/cve/ |
D | stack_clash.c | 95 unsigned long read_stack_addr_from_proc(unsigned long *stack_size) in read_stack_addr_from_proc() argument 117 *stack_size = end - start; in read_stack_addr_from_proc() 149 unsigned long stack_addr, stack_size; in do_child() local 161 stack_addr = read_stack_addr_from_proc(&stack_size); in do_child() 177 stack_addr, stack_size, map, MAPPED_LEN); in do_child()
|