Lines Matching refs:tn
64 char tn[UV_PTHREAD_MAX_NAMELEN_NP]; in TEST_IMPL() local
92 r = uv_thread_getname(&threads[0], tn, sizeof(tn)); in TEST_IMPL()
98 r = uv_thread_getname(&threads[0], tn, sizeof(tn)); in TEST_IMPL()
100 ASSERT_STR_EQ(tn, thread_name); in TEST_IMPL()
105 r = uv_thread_getname(&threads[0], tn, sizeof(tn)); in TEST_IMPL()
107 ASSERT_STR_EQ(tn, thread_name); in TEST_IMPL()
109 r = uv_thread_getname(&threads[0], tn, 3); in TEST_IMPL()
111 ASSERT_EQ(strlen(tn), 2); in TEST_IMPL()
112 ASSERT_OK(memcmp(thread_name, tn, 2)); in TEST_IMPL()
119 r = uv_thread_getname(&threads[0], tn, sizeof(tn)); in TEST_IMPL()
121 ASSERT_STR_EQ(tn, "~½¬{½"); in TEST_IMPL()
128 r = uv_thread_getname(threads + 1, tn, sizeof(tn)); in TEST_IMPL()
131 ASSERT_STR_EQ(tn, "worker-thread"); in TEST_IMPL()