Lines Matching refs:stack_size
224 expected = arg == NULL ? 0 : ((uv_thread_options_t*)arg)->stack_size; in thread_check_stack()
233 size_t stack_size; in thread_check_stack()
239 ASSERT(0 == pthread_attr_getstacksize(&attr, &stack_size)); in thread_check_stack()
240 expected = arg == NULL ? 0 : ((uv_thread_options_t*)arg)->stack_size; in thread_check_stack()
243 ASSERT(stack_size >= expected); in thread_check_stack()
261 options.stack_size = 1024 * 1024; in TEST_IMPL()
266 options.stack_size = 8 * 1024 * 1024; /* larger than most default os sizes */ in TEST_IMPL()
271 options.stack_size = 0; in TEST_IMPL()
276 options.stack_size = 42; in TEST_IMPL()
282 options.stack_size = PTHREAD_STACK_MIN - 42; /* unaligned size */ in TEST_IMPL()
287 options.stack_size = PTHREAD_STACK_MIN / 2 - 42; /* unaligned size */ in TEST_IMPL()
294 options.stack_size = 1234567; in TEST_IMPL()