Searched refs:cachedObject (Results 1 – 1 of 1) sorted by relevance
65 SimpleCachedObject cachedObject(1); in TEST_F() local72 dawn_native::AsyncTask asyncTask1([&insertOutput, cachePtr, &cachedObject] { in TEST_F()73 insertOutput = cachePtr->Insert(&cachedObject); in TEST_F()83 ASSERT_TRUE(insertOutput.first == &cachedObject || insertOutput.first == &anotherCachedObject); in TEST_F()90 SimpleCachedObject cachedObject(1); in TEST_F() local94 dawn_native::AsyncTask insertTask([&insertOutput, cachePtr, &cachedObject] { in TEST_F()95 insertOutput = cachePtr->Insert(&cachedObject); in TEST_F()99 dawn_native::AsyncTask eraseTask([&erasedObjectCount, cachePtr, &cachedObject] { in TEST_F()100 while (cachePtr->Find(&cachedObject) == nullptr) { in TEST_F()103 erasedObjectCount = cachePtr->Erase(&cachedObject); in TEST_F()[all …]