Lines Matching refs:keys
70 std::vector<pthread_key_t> keys; in TEST() local
72 auto scope_guard = android::base::make_scope_guard([&keys] { in TEST()
73 for (const auto& key : keys) { in TEST()
82 keys.push_back(key); in TEST()
86 for (int i = keys.size() - 1; i >= 0; --i) { in TEST()
87 ASSERT_EQ(reinterpret_cast<void*>(i), pthread_getspecific(keys.back())); in TEST()
88 pthread_key_t key = keys.back(); in TEST()
89 keys.pop_back(); in TEST()
95 std::vector<pthread_key_t> keys; in TEST() local
107 keys.push_back(key); in TEST()
111 for (const auto& key : keys) { in TEST()
114 keys.clear(); in TEST()