Lines Matching refs:ptype
38 enum test_type *ptype = closure; in thread_func() local
40 TEST_VERIFY (*ptype >= 0); in thread_func()
41 TEST_VERIFY (*ptype < (int) type_count); in thread_func()
43 switch (*ptype) in thread_func()
60 free (ptype); in thread_func()
74 enum test_type *ptype = xmalloc (sizeof (*ptype)); in do_test() local
75 *ptype = i % type_count; in do_test()
76 threads[i] = xpthread_create (NULL, thread_func, ptype); in do_test()
80 enum test_type *ptype = xmalloc (sizeof (*ptype)); in do_test() local
81 *ptype = i; in do_test()
82 thread_func (ptype); in do_test()