Home
last modified time | relevance | path

Searched refs:stack_size (Results 1 – 25 of 218) sorted by relevance

123456789

/external/linux-kselftest/tools/testing/selftests/powerpc/include/
Dfpu_asm.h10 #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 …]
Dgpr_asm.h51 #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/pcre/dist2/src/sljit/
DsljitNativeX86_32.c521 sljit_s32 stack_size = 0; in c_fast_call_get_stack_size() local
529 stack_size += sizeof(sljit_f32); in c_fast_call_get_stack_size()
532 stack_size += sizeof(sljit_f64); in c_fast_call_get_stack_size()
537 stack_size += sizeof(sljit_sw); in c_fast_call_get_stack_size()
547 return stack_size; in c_fast_call_get_stack_size()
551 sljit_s32 arg_types, sljit_s32 stack_size, sljit_s32 word_arg_count, sljit_s32 swap_args) in c_fast_call_with_args() argument
556 if (stack_size == sizeof(sljit_sw) && word_arg_count == 3) { in c_fast_call_with_args()
562 else if (stack_size > 0) { in c_fast_call_with_args()
567 SLJIT_SP, 0, SLJIT_SP, 0, SLJIT_IMM, stack_size)); in c_fast_call_with_args()
569 stack_size = 0; in c_fast_call_with_args()
[all …]
/external/ltp/lib/
Dcloner.c66 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/
Dstack_container_unittest.cc38 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_setstack/
D7-1.c33 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()
D4-1.c35 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()
D6-1.c32 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()
D2-1.c36 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()
D1-1.c33 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/
D1-1.c34 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/
Dplatform_thread_posix.cc86 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 …]
Dplatform_thread.h166 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/rust/crates/rayon-core/src/
Dlib.rs132 stack_size: Option<usize>, field
178 stack_size: None, in default()
280 if let Some(size) = thread.stack_size() { in build_scoped()
281 builder = builder.stack_size(size); in build_scoped()
362 stack_size: self.stack_size, in spawn_handler()
476 self.stack_size in get_stack_size()
480 pub fn stack_size(mut self, stack_size: usize) -> Self { in stack_size() method
481 self.stack_size = Some(stack_size); in stack_size()
601 pub fn stack_size(mut self, stack_size: usize) -> Self { in stack_size() method
602 self.builder = self.builder.stack_size(stack_size); in stack_size()
[all …]
/external/tensorflow/tensorflow/python/keras/layers/
Dconvolutional_test.py42 stack_size = 3
49 input_shape=(num_samples, length, stack_size),
54 stack_size = 3
64 input_shape=batch_shape + (length, stack_size),
179 stack_size = 3
184 input_data_shape = (num_samples, num_row or 7, num_col or 6, stack_size)
191 input_shape=(num_samples, num_row, num_col, stack_size),
200 stack_size = 3
205 input_data_shape = batch_shape + (num_row or 7, num_col or 6, stack_size)
214 input_shape=batch_shape + (num_row, num_col, stack_size),
[all …]
/external/llvm-project/compiler-rt/lib/asan/
Dasan_rtems.cpp103 uptr stack_bottom, stack_size, tls_bottom, tls_size; member
109 uptr stack_bottom, uptr stack_size, in CreateAsanThread() argument
119 const AsanThread::InitOptions options = {stack_bottom, stack_size, in CreateAsanThread()
132 CHECK_NE(options->stack_size, 0); in SetThreadStackAndTls()
134 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls()
150 uptr stack_bottom, uptr stack_size, in BeforeThreadCreateHook() argument
160 stack_bottom, stack_size, tls_bottom, tls_size); in BeforeThreadCreateHook()
200 PoisonShadow(thread->stack_bottom(), thread->stack_size(), 0); in ThreadStartHook()
241 void *stack_base, size_t stack_size, in __sanitizer_before_thread_create_hook() argument
245 reinterpret_cast<uptr>(stack_base), stack_size, in __sanitizer_before_thread_create_hook()
Dasan_fuchsia.cpp88 uptr stack_bottom, stack_size; member
115 CHECK_NE(options->stack_size, 0); in SetThreadStackAndTls()
117 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls()
148 uptr stack_size) { in BeforeThreadCreateHook() argument
162 const AsanThread::InitOptions options = {stack_bottom, stack_size}; in BeforeThreadCreateHook()
219 size_t stack_size) { in __sanitizer_before_thread_create_hook() argument
222 reinterpret_cast<uptr>(stack_base), stack_size); in __sanitizer_before_thread_create_hook()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstacksize/
D1-1.c33 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/
D2-1.c35 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()
D4-1.c41 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/llvm-project/compiler-rt/test/tsan/
Ddeep_stack1.cpp38 size_t stack_size = N * 256 + (1 << 20); in main() local
39 stack_size = RoundUp(stack_size, 0x10000); // round the stack size to 64k in main()
40 int ret = pthread_attr_setstacksize(&a, stack_size); in main()
/external/llvm-project/lldb/source/Target/
DThreadPlanStack.cpp179 int stack_size = m_plans.size(); in DiscardPlansUpToPlan() local
182 for (int i = stack_size - 1; i > 0; i--) in DiscardPlansUpToPlan()
188 for (int i = stack_size - 1; i > 0; i--) { in DiscardPlansUpToPlan()
197 for (int i = stack_size - 1; i > 0 && !last_one; i--) { in DiscardPlansUpToPlan()
206 int stack_size = m_plans.size(); in DiscardAllPlans() local
207 for (int i = stack_size - 1; i > 0; i--) { in DiscardAllPlans()
341 int stack_size = m_completed_plans.size(); in GetPreviousPlan() local
342 for (int i = stack_size - 1; i > 0; i--) { in GetPreviousPlan()
349 if (stack_size > 0 && m_completed_plans[0].get() == current_plan) { in GetPreviousPlan()
354 stack_size = m_plans.size(); in GetPreviousPlan()
[all …]
/external/rust/crates/futures-executor/src/
Dthread_pool.rs39 stack_size: usize, field
194 stack_size: 0, in new()
218 pub fn stack_size(&mut self, stack_size: usize) -> &mut Self { in stack_size() method
219 self.stack_size = stack_size; in stack_size()
285 if self.stack_size > 0 { in create()
286 thread_builder = thread_builder.stack_size(self.stack_size); in create()
/external/mesa3d/src/panfrost/lib/
Dpan_scratch.c67 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/rust/crates/syn/tests/common/
Dmod.rs19 let stack_size = match env::var("RUST_MIN_STACK") { in rayon_init() localVariable
24 .stack_size(stack_size) in rayon_init()

123456789