/external/linux-kselftest/tools/testing/selftests/powerpc/include/ |
D | fpu_asm.h | 10 #define PUSH_FPU(stack_size) \ argument 11 stfd f31,(stack_size + STACK_FRAME_MIN_SIZE)(%r1); \ 12 stfd f30,(stack_size + STACK_FRAME_MIN_SIZE - 8)(%r1); \ 13 stfd f29,(stack_size + STACK_FRAME_MIN_SIZE - 16)(%r1); \ 14 stfd f28,(stack_size + STACK_FRAME_MIN_SIZE - 24)(%r1); \ 15 stfd f27,(stack_size + STACK_FRAME_MIN_SIZE - 32)(%r1); \ 16 stfd f26,(stack_size + STACK_FRAME_MIN_SIZE - 40)(%r1); \ 17 stfd f25,(stack_size + STACK_FRAME_MIN_SIZE - 48)(%r1); \ 18 stfd f24,(stack_size + STACK_FRAME_MIN_SIZE - 56)(%r1); \ 19 stfd f23,(stack_size + STACK_FRAME_MIN_SIZE - 64)(%r1); \ [all …]
|
D | gpr_asm.h | 51 #define PUSH_NVREGS(stack_size) \ argument 52 __PUSH_NVREGS(stack_size + STACK_FRAME_MIN_SIZE) 55 #define PUSH_NVREGS_BELOW_FPU(stack_size) \ argument 56 __PUSH_NVREGS(stack_size + STACK_FRAME_MIN_SIZE - (18 * 8)) 58 #define POP_NVREGS(stack_size) \ argument 59 __POP_NVREGS(stack_size + STACK_FRAME_MIN_SIZE) 62 #define POP_NVREGS_BELOW_FPU(stack_size) \ argument 63 __POP_NVREGS(stack_size + STACK_FRAME_MIN_SIZE - (18 * 8))
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap18.c | 86 static void *allocate_stack(size_t stack_size, size_t mapped_size) in allocate_stack() argument 90 long reserved_size = 256 * page_size + stack_size; in allocate_stack() 101 stack_bottom = start + reserved_size - stack_size; in allocate_stack() 106 mapped_size/page_size, stack_size/page_size); in allocate_stack() 151 static void grow_stack_success(size_t stack_size, size_t mapped_size) in grow_stack_success() argument 159 stack = allocate_stack(stack_size, mapped_size); in grow_stack_success() 160 grow_stack(stack, stack_size); in grow_stack_success() 175 static void grow_stack_fail(size_t stack_size, size_t mapped_size) in grow_stack_fail() argument 184 stack = allocate_stack(stack_size, mapped_size); in grow_stack_fail() 191 grow_stack(stack, stack_size); in grow_stack_fail() [all …]
|
/external/pcre/src/sljit/ |
D | sljitNativeX86_32.c | 638 sljit_sw stack_size = 0; in c_fast_call_get_stack_size() local 646 stack_size += SSIZE_OF(f64); in c_fast_call_get_stack_size() 649 stack_size += SSIZE_OF(f32); in c_fast_call_get_stack_size() 654 stack_size += SSIZE_OF(sw); in c_fast_call_get_stack_size() 664 return stack_size; in c_fast_call_get_stack_size() 668 sljit_s32 arg_types, sljit_sw stack_size, sljit_s32 word_arg_count, sljit_s32 swap_args) in c_fast_call_with_args() argument 673 if (stack_size == SSIZE_OF(sw) && word_arg_count == 3) { in c_fast_call_with_args() 679 else if (stack_size > 0) { in c_fast_call_with_args() 683 BINARY_IMM32(SUB, stack_size, SLJIT_SP, 0); in c_fast_call_with_args() 685 stack_size = 0; in c_fast_call_with_args() [all …]
|
/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() 144 size_t stack_size) in ltp_clone_alloc() argument 150 stack = ltp_alloc_stack(stack_size); in ltp_clone_alloc() 154 ret = ltp_clone(clone_flags, fn, arg, stack_size, stack); in ltp_clone_alloc() [all …]
|
/external/libchrome/base/containers/ |
D | stack_container_unittest.cc | 38 const int stack_size = 3; in TEST() local 39 StackVector<int, stack_size> vect; in TEST() 43 EXPECT_EQ(static_cast<size_t>(stack_size), vect.container().capacity()); in TEST() 44 for (int i = 0; i < stack_size; i++) { in TEST() 51 for (int i = 0; i < stack_size; i++) { in TEST() 52 vect.container().push_back(i + stack_size); in TEST() 58 for (int i = 0; i < stack_size * 2; i++) in TEST() 65 vect.container().resize(stack_size); in TEST() 66 vect.container().reserve(stack_size * 2); in TEST() 72 std::vector<int, StackAllocator<int, stack_size> > other(vect.container()); in TEST() [all …]
|
/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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/ |
D | 7-1.c | 33 static 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 static 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 static 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 static 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 static 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/libchrome/base/threading/ |
D | platform_thread_posix.cc | 86 bool CreateThread(size_t stack_size, in CreateThread() argument 103 if (stack_size == 0) in CreateThread() 104 stack_size = base::GetDefaultThreadStackSize(attributes); in CreateThread() 106 if (stack_size > 0) in CreateThread() 107 pthread_attr_setstacksize(&attributes, stack_size); in CreateThread() 197 bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, in CreateWithPriority() argument 200 return CreateThread(stack_size, true /* joinable thread */, delegate, in CreateWithPriority() 205 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { in CreateNonJoinable() argument 206 return CreateNonJoinableWithPriority(stack_size, delegate, in CreateNonJoinable() 211 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/tensorflow/tensorflow/python/keras/layers/ |
D | convolutional_test.py | 38 stack_size = 3 45 input_shape=(num_samples, length, stack_size), 50 stack_size = 3 60 input_shape=batch_shape + (length, stack_size), 175 stack_size = 3 180 input_data_shape = (num_samples, num_row or 7, num_col or 6, stack_size) 187 input_shape=(num_samples, num_row, num_col, stack_size), 196 stack_size = 3 201 input_data_shape = batch_shape + (num_row or 7, num_col or 6, stack_size) 210 input_shape=batch_shape + (num_row, num_col, stack_size), [all …]
|
/external/rust/crates/rayon-core/src/ |
D | lib.rs | 156 stack_size: Option<usize>, field 202 stack_size: None, in default() 304 if let Some(size) = thread.stack_size() { in build_scoped() 305 builder = builder.stack_size(size); in build_scoped() 386 stack_size: self.stack_size, in spawn_handler() 500 self.stack_size in get_stack_size() 504 pub fn stack_size(mut self, stack_size: usize) -> Self { in stack_size() method 505 self.stack_size = Some(stack_size); in stack_size() 625 pub fn stack_size(mut self, stack_size: usize) -> Self { in stack_size() method 626 self.builder = self.builder.stack_size(stack_size); in stack_size() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/ |
D | 2-1.c | 35 static 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/rust/crates/futures-executor/src/ |
D | thread_pool.rs | 39 stack_size: usize, field 188 stack_size: 0, in new() 212 pub fn stack_size(&mut self, stack_size: usize) -> &mut Self { in stack_size() method 213 self.stack_size = stack_size; in stack_size() 281 if self.stack_size > 0 { in create() 282 thread_builder = thread_builder.stack_size(self.stack_size); in create()
|
/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/mesa3d/src/panfrost/lib/ |
D | pan_scratch.c | 67 panfrost_get_stack_shift(unsigned stack_size) in panfrost_get_stack_shift() argument 69 if (stack_size) in panfrost_get_stack_shift() 70 return util_logbase2_ceil(DIV_ROUND_UP(stack_size, 16)); in panfrost_get_stack_shift()
|
/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/google-breakpad/src/common/windows/ |
D | pe_util.cc | 294 DWORD stack_size = 8; // minimal stack size is 8 for RIP in PrintPEFrameData() local 301 stack_size += 8; in PrintPEFrameData() 308 stack_size += (unwind_code + 1)->frame_offset * 8; in PrintPEFrameData() 313 stack_size += (unwind_code + 1)->frame_offset | in PrintPEFrameData() 319 stack_size += unwind_code->operation_info * 8 + 8; in PrintPEFrameData() 338 stack_size += 88; in PrintPEFrameData() 341 stack_size += 80; in PrintPEFrameData() 368 funcs[i].BeginAddress, stack_size); in PrintPEFrameData()
|
/external/rust/crates/syn/tests/common/ |
D | mod.rs | 20 let stack_size = match env::var("RUST_MIN_STACK") { in rayon_init() localVariable 25 .stack_size(stack_size) in rayon_init()
|