Home
last modified time | relevance | path

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

123456

/external/linux-kselftest/tools/testing/selftests/powerpc/include/
Dfpu_asm.h14 #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 …]
Dgpr_asm.h55 #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/pcre/dist2/src/sljit/
DsljitNativeX86_32.c517 sljit_s32 stack_size = 0; in c_fast_call_get_stack_size() local
525 stack_size += sizeof(sljit_f32); in c_fast_call_get_stack_size()
528 stack_size += sizeof(sljit_f64); in c_fast_call_get_stack_size()
533 stack_size += sizeof(sljit_sw); in c_fast_call_get_stack_size()
543 return stack_size; in c_fast_call_get_stack_size()
547 sljit_s32 arg_types, sljit_s32 stack_size, sljit_s32 word_arg_count, sljit_s32 swap_args) in c_fast_call_with_args() argument
552 if (stack_size == sizeof(sljit_sw) && word_arg_count == 3) { in c_fast_call_with_args()
558 else if (stack_size > 0) { in c_fast_call_with_args()
563 SLJIT_SP, 0, SLJIT_SP, 0, SLJIT_IMM, stack_size)); in c_fast_call_with_args()
565 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()
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/
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/tensorflow/tensorflow/python/keras/layers/
Dconvolutional_test.py37 stack_size = 3
44 input_shape=(num_samples, length, stack_size))
101 stack_size = 3
109 input_shape=(num_samples, num_row, num_col, stack_size))
168 stack_size = 3
177 input_shape=(num_samples, depth, num_row, num_col, stack_size))
310 stack_size = 2
314 inputs = np.ones((num_samples, input_num_row, input_num_col, stack_size))
315 inputs = np.ones((num_samples, stack_size, input_num_row, input_num_col))
388 stack_size = 2
[all …]
Dseparable_convolutional_test.py35 stack_size = 3
42 input_shape=(num_samples, length, stack_size))
103 stack_size = 3
111 input_shape=(num_samples, num_row, num_col, stack_size))
Dlocal_test.py129 stack_size = 4
158 input_shape=(num_samples, num_row, num_col, stack_size))
165 stack_size = 4
187 input_shape=(num_samples, num_row, num_col, stack_size))
192 stack_size = 4
214 layer.build((num_samples, num_row, num_col, stack_size))
218 np.ones((num_samples, num_row, num_col, stack_size))))
231 layer.build((num_samples, num_row, num_col, stack_size))
/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()
D1-1.c42 size_t stack_size = PTHREAD_STACK_MIN; in main() local
56 rc = posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size); in main()
64 rc = pthread_attr_setstacksize(&attr, stack_size); in main()
/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/compiler-rt/lib/asan/
Dasan_thread.cc183 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/
Dasan_fake_stack_test.cc48 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/cpython3/Lib/test/
Dtest_thread.py72 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0")
74 thread.stack_size(0)
75 self.assertEqual(thread.stack_size(), 0, "stack_size not reset to default")
80 thread.stack_size(4096)
90 thread.stack_size(tss)
91 self.assertEqual(thread.stack_size(), tss, fail_msg % tss)
106 thread.stack_size(0)
/external/python/cpython2/Lib/test/
Dtest_thread.py73 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0")
75 thread.stack_size(0)
76 self.assertEqual(thread.stack_size(), 0, "stack_size not reset to default")
81 thread.stack_size(4096)
91 thread.stack_size(tss)
92 self.assertEqual(thread.stack_size(), tss, fail_msg % tss)
107 thread.stack_size(0)
/external/ltp/testcases/cve/
Dstack_clash.c95 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()
/external/compiler-rt/lib/msan/
Dmsan_thread.cc24 uptr stack_size = 0; in SetThreadStackAndTls() local
25 GetThreadStackAndTls(IsMainThread(), &stack_bottom_, &stack_size, in SetThreadStackAndTls()
27 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()

123456