Home
last modified time | relevance | path

Searched refs:getOrAdd (Results 1 – 4 of 4) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/cache/
DCachedContentIndexTest.java100 CachedContent cachedContent1 = index.getOrAdd(key1); in addGetRemove()
101 CachedContent cachedContent2 = index.getOrAdd(key2); in addGetRemove()
139 index.getOrAdd(key2); in addGetRemove()
267 index.getOrAdd("key3"); in legacyEncryption()
275 CachedContent cachedContent = index.getOrAdd("key1"); in removeEmptyNotLockedCachedContent()
286 CachedContent cachedContent = index.getOrAdd("key1"); in cantRemoveNotEmptyCachedContent()
303 CachedContent cachedContent = index.getOrAdd("key1"); in cantRemoveLockedCachedContent()
315 index.getOrAdd("KLMNO").applyMetadataMutations(mutations1); in assertStoredAndLoadedEqual()
319 index.getOrAdd("ABCDE").applyMetadataMutations(mutations2); in assertStoredAndLoadedEqual()
/external/swiftshader/third_party/subzero/src/
DIceGlobalContext.cpp140 ValueType *getOrAdd(GlobalContext *Ctx, KeyType Key) { in getOrAdd() function in Ice::__anon7a06662c0111::TypePool
185 ConstantUndef *getOrAdd(GlobalContext *Ctx, Type Ty) { in getOrAdd() function in Ice::__anon7a06662c0111::UndefPool
692 return getConstPool()->Integers1.getOrAdd(this, ConstantInt1); in getConstantInt1Internal()
696 return getConstPool()->Integers8.getOrAdd(this, ConstantInt8); in getConstantInt8Internal()
700 return getConstPool()->Integers16.getOrAdd(this, ConstantInt16); in getConstantInt16Internal()
704 return getConstPool()->Integers32.getOrAdd(this, ConstantInt32); in getConstantInt32Internal()
708 return getConstPool()->Integers64.getOrAdd(this, ConstantInt64); in getConstantInt64Internal()
712 return getConstPool()->Floats.getOrAdd(this, ConstantFloat); in getConstantFloat()
716 return getConstPool()->Doubles.getOrAdd(this, ConstantDouble); in getConstantDouble()
722 return getConstPool()->Relocatables.getOrAdd( in getConstantSymWithEmitString()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DCachedContentIndex.java231 public CachedContent getOrAdd(String key) { in getOrAdd() method in CachedContentIndex
255 return getOrAdd(key).id; in assignIdForKey()
309 CachedContent cachedContent = getOrAdd(key); in applyContentMetadataMutations()
DSimpleCache.java390 CachedContent cachedContent = contentIndex.getOrAdd(key); in startReadWriteNonBlocking()
690 contentIndex.getOrAdd(span.key).addSpan(span); in addSpan()