Lines Matching refs:stack_size
163 expected = arg == NULL ? 0 : ((uv_thread_options_t*)arg)->stack_size; in thread_check_stack()
172 size_t stack_size; in thread_check_stack()
178 ASSERT(0 == pthread_attr_getstacksize(&attr, &stack_size)); in thread_check_stack()
179 expected = arg == NULL ? 0 : ((uv_thread_options_t*)arg)->stack_size; in thread_check_stack()
182 ASSERT(stack_size >= expected); in thread_check_stack()
200 options.stack_size = 1024 * 1024; in TEST_IMPL()
205 options.stack_size = 8 * 1024 * 1024; /* larger than most default os sizes */ in TEST_IMPL()
210 options.stack_size = 0; in TEST_IMPL()
215 options.stack_size = 42; in TEST_IMPL()
221 options.stack_size = PTHREAD_STACK_MIN - 42; /* unaligned size */ in TEST_IMPL()
226 options.stack_size = PTHREAD_STACK_MIN / 2 - 42; /* unaligned size */ in TEST_IMPL()
233 options.stack_size = 1234567; in TEST_IMPL()