Lines Matching refs:thread
14 thread_t* thread = thread_new("test_thread"); in TEST_F() local
15 ASSERT_TRUE(thread != NULL); in TEST_F()
16 thread_free(thread); in TEST_F()
20 thread_t* thread = thread_new("test_thread"); in TEST_F() local
21 thread_free(thread); in TEST_F()
25 thread_t* thread = thread_new("test_name"); in TEST_F() local
26 ASSERT_STREQ(thread_name(thread), "test_name"); in TEST_F()
27 thread_free(thread); in TEST_F()
31 thread_t* thread = thread_new("0123456789abcdef"); in TEST_F() local
32 ASSERT_STREQ("0123456789abcdef", thread_name(thread)); in TEST_F()
33 thread_free(thread); in TEST_F()
37 thread_t* thread = thread_new("0123456789abcdefg"); in TEST_F() local
38 ASSERT_STREQ("0123456789abcdef", thread_name(thread)); in TEST_F()
39 thread_free(thread); in TEST_F()
43 thread_t* thread = (thread_t*)context; in thread_is_self_fn() local
44 EXPECT_TRUE(thread_is_self(thread)); in thread_is_self_fn()
48 thread_t* thread = thread_new("test_thread"); in TEST_F() local
49 thread_post(thread, thread_is_self_fn, thread); in TEST_F()
50 thread_free(thread); in TEST_F()
54 thread_t* thread = thread_new("test_thread"); in TEST_F() local
55 EXPECT_FALSE(thread_is_self(thread)); in TEST_F()
56 thread_free(thread); in TEST_F()