Lines Matching refs:tls_key
62 static uv_key_t tls_key; variable
193 ASSERT_NULL(uv_key_get(&tls_key)); in tls_thread()
194 uv_key_set(&tls_key, arg); in tls_thread()
195 ASSERT_PTR_EQ(arg, uv_key_get(&tls_key)); in tls_thread()
196 uv_key_set(&tls_key, NULL); in tls_thread()
197 ASSERT_NULL(uv_key_get(&tls_key)); in tls_thread()
204 ASSERT_OK(uv_key_create(&tls_key)); in TEST_IMPL()
205 ASSERT_NULL(uv_key_get(&tls_key)); in TEST_IMPL()
206 uv_key_set(&tls_key, name); in TEST_IMPL()
207 ASSERT_PTR_EQ(name, uv_key_get(&tls_key)); in TEST_IMPL()
212 uv_key_delete(&tls_key); in TEST_IMPL()