Home
last modified time | relevance | path

Searched refs:CacheEntry (Results 1 - 19 of 19) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
H A DLocaleObjectCache.java16 private ConcurrentHashMap<K, CacheEntry<K, V>> _map;
24 _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
31 CacheEntry<K, V> entry = _map.get(key); in get()
43 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue); in get()
61 CacheEntry<K, V> entry; in cleanStaleEntries()
62 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) { in cleanStaleEntries()
73 private static class CacheEntry<K, V> extends SoftReference<V> { class in LocaleObjectCache
76 CacheEntry(K key, V value, ReferenceQueue<V> queue) { in CacheEntry() method in LocaleObjectCache.CacheEntry
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
H A DLocaleObjectCache.java20 private ConcurrentHashMap<K, CacheEntry<K, V>> _map;
28 _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
35 CacheEntry<K, V> entry = _map.get(key); in get()
47 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue); in get()
65 CacheEntry<K, V> entry; in cleanStaleEntries()
66 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) { in cleanStaleEntries()
77 private static class CacheEntry<K, V> extends SoftReference<V> { class in LocaleObjectCache
80 CacheEntry(K key, V value, ReferenceQueue<V> queue) { in CacheEntry() method in LocaleObjectCache.CacheEntry
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DInterferenceCache.h181 Entry *CacheEntry = nullptr; member in llvm::InterferenceCache::Cursor
188 // we don't have to check for E == CacheEntry etc. in setEntry()
189 if (CacheEntry) in setEntry()
190 CacheEntry->addRef(-1); in setEntry()
191 CacheEntry = E; in setEntry()
192 if (CacheEntry) in setEntry()
193 CacheEntry->addRef(+1); in setEntry()
201 setEntry(O.CacheEntry); in Cursor()
205 setEntry(O.CacheEntry); in operator =()
222 Current = CacheEntry in moveToBlock()
[all...]
/third_party/node/deps/v8/src/strings/
H A Dunicode.h38 class CacheEntry { class in unibrow::Predicate
40 inline CacheEntry() in CacheEntry() function in unibrow::Predicate::CacheEntry
42 inline CacheEntry(uchar code_point, bool value) in CacheEntry() function in unibrow::Predicate::CacheEntry
61 CacheEntry entries_[kSize];
77 struct CacheEntry { struct in unibrow::Mapping
78 inline CacheEntry() : code_point_(kNoChar), offset_(0) {} in CacheEntry() function
79 inline CacheEntry(uchar code_point, signed offset) in CacheEntry() function
87 CacheEntry entries_[kSize];
H A Dunicode-inl.h17 CacheEntry entry = entries_[code_point & kMask]; in get()
25 entries_[code_point & kMask] = CacheEntry(code_point, result); in CalculateValue()
31 CacheEntry entry = entries_[c & kMask]; in get()
50 entries_[c & kMask] = CacheEntry(c, result[0] - c); in CalculateValue()
53 entries_[c & kMask] = CacheEntry(c, 0); in CalculateValue()
/third_party/ffmpeg/libavformat/
H A Dcache.c48 typedef struct CacheEntry { struct
52 } CacheEntry; typedef
71 return FFDIFFSIGN(*(const int64_t *)key, ((const CacheEntry *) node)->logical_pos); in cmp()
104 CacheEntry *entry = NULL, *next[2] = {NULL, NULL}; in add_entry()
105 CacheEntry *entry_ret; in add_entry()
165 CacheEntry *entry, *next[2] = {NULL, NULL}; in cache_read()
/third_party/icu/icu4c/source/common/
H A Dserv.cpp206 class CacheEntry : public UMemory { class
217 ~CacheEntry() { in ~CacheEntry()
221 CacheEntry(const UnicodeString& _actualDescriptor, UObject* _service) in CacheEntry() function in CacheEntry
231 CacheEntry* ref() { in ref()
243 CacheEntry* unref() { in unref()
264 U_NAMESPACE_USE ((CacheEntry*)obj)->unref(); in cacheDeleter()
429 CacheEntry* result = NULL; in getKey()
481 result = (CacheEntry*)serviceCache->get(currentDescriptor); in getKey()
499 result = new CacheEntry(currentDescriptor, service.getAlias()); in getKey()
/third_party/node/deps/icu-small/source/common/
H A Dserv.cpp206 class CacheEntry : public UMemory { class
217 ~CacheEntry() { in ~CacheEntry()
221 CacheEntry(const UnicodeString& _actualDescriptor, UObject* _service) in CacheEntry() function in CacheEntry
231 CacheEntry* ref() { in ref()
243 CacheEntry* unref() { in unref()
264 U_NAMESPACE_USE ((CacheEntry*)obj)->unref(); in cacheDeleter()
429 CacheEntry* result = nullptr; in getKey()
481 result = (CacheEntry*)serviceCache->get(currentDescriptor); in getKey()
499 result = new CacheEntry(currentDescriptor, service.getAlias()); in getKey()
/third_party/skia/third_party/externals/icu/source/common/
H A Dserv.cpp205 class CacheEntry : public UMemory { class
216 ~CacheEntry() { in ~CacheEntry()
220 CacheEntry(const UnicodeString& _actualDescriptor, UObject* _service) in CacheEntry() function in CacheEntry
230 CacheEntry* ref() { in ref()
242 CacheEntry* unref() { in unref()
263 U_NAMESPACE_USE ((CacheEntry*)obj)->unref(); in cacheDeleter()
441 CacheEntry* result = NULL; in getKey()
492 result = (CacheEntry*)serviceCache->get(currentDescriptor); in getKey()
511 result = new CacheEntry(currentDescriptor, service); in getKey()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DICUService.java400 CacheEntry result = null; in getKey()
408 Map<String, CacheEntry> cache = this.cache; // copy so we don't need to sync on this in getKey()
413 cache = new ConcurrentHashMap<String, CacheEntry>(); in getKey()
462 result = new CacheEntry(currentDescriptor, service); in getKey()
523 private Map<String, CacheEntry> cache;
527 private static final class CacheEntry { class in ICUService
530 CacheEntry(String actualDescriptor, Object service) { in CacheEntry() method in ICUService.CacheEntry
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DICUService.java405 CacheEntry result = null; in getKey()
413 Map<String, CacheEntry> cache = this.cache; // copy so we don't need to sync on this in getKey()
418 cache = new ConcurrentHashMap<String, CacheEntry>(); in getKey()
467 result = new CacheEntry(currentDescriptor, service); in getKey()
528 private Map<String, CacheEntry> cache;
532 private static final class CacheEntry { class in ICUService
535 CacheEntry(String actualDescriptor, Object service) { in CacheEntry() method in ICUService.CacheEntry
/third_party/node/deps/npm/node_modules/make-fetch-happen/lib/cache/
H A Dentry.js116 class CacheEntry {
138 // returns a CacheEntry instance that satisfies the given request
144 const entryA = new CacheEntry({ entry: A, options })
145 const entryB = new CacheEntry({ entry: B, options })
179 const _entry = new CacheEntry({
353 await CacheEntry.invalidate(this.request, this.options)
458 const newEntry = new CacheEntry({
469 module.exports = CacheEntry
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DBlobCache.cpp133 CacheEntry newEntry; in populate()
183 const CacheEntry *entry; in get()
213 const CacheEntry *valueBuf; in getAt()
H A DBlobCache.h152 using CacheEntry = std::pair<angle::MemoryBuffer, CacheSource>;
155 angle::SizedMRUCache<BlobCache::Key, CacheEntry> mBlobCache;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
H A DLazyRandomTypeCollection.h53 struct CacheEntry { struct in llvm::codeview::LazyRandomTypeCollection
103 std::vector<CacheEntry> Records;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/MSF/
H A DMappedBlockStream.h94 using CacheEntry = MutableArrayRef<uint8_t>;
104 DenseMap<uint32_t, std::vector<CacheEntry>> CacheMap;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp879 // Copy failed (could be because the CacheEntry was removed from the cache in writeGeneratedObject()
1050 ModuleCacheEntry CacheEntry(CacheOptions.Path, *Index, ModuleIdentifier, in run()
1055 auto CacheEntryPath = CacheEntry.getEntryPath(); in run()
1058 auto ErrOrBuffer = CacheEntry.tryLoadingBuffer(); in run()
1102 CacheEntry.write(*OutputBuffer); in run()
1113 auto ReloadedBufferOrErr = CacheEntry.tryLoadingBuffer(); in run()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp158 std::vector<CacheEntry> List; in readBytes()
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...

Completed in 20 milliseconds