/libcore/ojluni/src/main/java/sun/util/locale/ |
LocaleObjectCache.java | 40 private ConcurrentMap<K, CacheEntry<K, V>> map; 55 CacheEntry<K, V> entry = map.get(key); 69 CacheEntry<K, V> newEntry = new CacheEntry<>(key, newVal, queue); 86 CacheEntry<K, V> entry = new CacheEntry<>(key, value, queue); 87 CacheEntry<K, V> oldEntry = map.put(key, entry); 93 CacheEntry<K, V> entry; 94 while ((entry = (CacheEntry<K, V>)queue.poll()) != null) { 105 private static class CacheEntry<K, V> extends SoftReference<V> [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
AbstractCache.java | 29 private final SimpleArrayMap<K, CacheEntry<V>> mCacheMap; 32 mCacheMap = new SimpleArrayMap<K, CacheEntry<V>>(); 50 CacheEntry<V> cacheEntry = new CacheEntry<V>(); 51 cacheEntry.value = value; 52 mCacheMap.put(key, cacheEntry); 68 CacheEntry<V> cacheEntry = mCacheMap.get(key); 69 if (cacheEntry != null) [all...] |
/external/emma/core/java12/com/vladium/emma/report/ |
SourcePathCache.java | 88 CacheEntry entry = (CacheEntry) m_packageCache.get (packageVMName); 92 entry = new CacheEntry (m_sourcepath.length); 125 private static final class CacheEntry 127 CacheEntry (final int size) 218 private final Map /* packageVMName:String->CacheEntry */ m_packageCache; // never null
|
/frameworks/base/services/core/java/com/android/server/wm/ |
TaskSnapshotCache.java | 38 private final ArrayMap<Integer, CacheEntry> mRunningCache = new ArrayMap<>(); 46 final CacheEntry entry = mRunningCache.get(task.mTaskId); 52 mRunningCache.put(task.mTaskId, new CacheEntry(snapshot, task.getTopChild())); 63 final CacheEntry entry = mRunningCache.get(taskId); 112 final CacheEntry entry = mRunningCache.get(taskId); 124 final CacheEntry entry = mRunningCache.valueAt(i); 131 private static final class CacheEntry { 139 CacheEntry(TaskSnapshot snapshot, AppWindowToken topApp) {
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
IPACM_Conntrack_NATApp.cpp | 918 void NatApp::CacheEntry(const nat_table_entry *rule)
|
/packages/apps/Email/provider_src/com/android/email/mail/internet/ |
AuthenticationCache.java | 26 private final Map<Long, CacheEntry> mCache; 29 private class CacheEntry { 30 CacheEntry(long accountId, String providerId, String accessToken, String refreshToken, 56 mCache = new HashMap<Long, CacheEntry>(); 67 CacheEntry entry = null; 85 CacheEntry entry = getEntry(context, account); 92 private CacheEntry getEntry(Context context, Account account) { 93 CacheEntry entry; 100 entry = new CacheEntry(account.mId, credential.mProviderId, credential.mAccessToken, 109 entry = new CacheEntry(account.mId, credential.mProviderId, credential.mAccessToken [all...] |
/external/icu/icu4c/source/common/ |
serv.cpp | 205 class CacheEntry : public UMemory { 216 ~CacheEntry() { 220 CacheEntry(const UnicodeString& _actualDescriptor, UObject* _service) 230 CacheEntry* ref() { 242 CacheEntry* unref() { 263 U_NAMESPACE_USE ((CacheEntry*)obj)->unref(); 441 CacheEntry* result = NULL; 492 result = (CacheEntry*)serviceCache->get(currentDescriptor); 511 result = new CacheEntry(currentDescriptor, service);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/ArpDxe/ |
ArpImpl.c | 82 ARP_CACHE_ENTRY *CacheEntry;
166 CacheEntry = ArpFindDeniedCacheEntry (
171 if (CacheEntry != NULL) {
222 CacheEntry = ArpFindNextCacheEntryInTable (
229 if (CacheEntry != NULL) {
233 ArpFillAddressInCacheEntry (CacheEntry, &SenderAddress[Hardware], NULL);
234 CacheEntry->DecayTime = CacheEntry->DefaultDecayTime;
250 CacheEntry = ArpFindNextCacheEntryInTable (
257 if (CacheEntry == NULL) { [all...] |
/external/llvm/lib/CodeGen/ |
InterferenceCache.h | 172 Entry *CacheEntry; 179 // we don't have to check for E == CacheEntry etc. 180 if (CacheEntry) 181 CacheEntry->addRef(-1); 182 CacheEntry = E; 183 if (CacheEntry) 184 CacheEntry->addRef(+1); 189 Cursor() : CacheEntry(nullptr), Current(nullptr) {} 192 Cursor(const Cursor &O) : CacheEntry(nullptr), Current(nullptr) { 193 setEntry(O.CacheEntry); [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
InterferenceCache.h | 139 Entry *CacheEntry; 146 // we don't have to check for E == CacheEntry etc. 147 if (CacheEntry) 148 CacheEntry->addRef(-1); 149 CacheEntry = E; 150 if (CacheEntry) 151 CacheEntry->addRef(+1); 156 Cursor() : CacheEntry(0), Current(0) {} 159 Cursor(const Cursor &O) : CacheEntry(0), Current(0) { 160 setEntry(O.CacheEntry); [all...] |
/external/v8/src/ |
unicode.h | 36 class CacheEntry { 38 inline CacheEntry() 40 inline CacheEntry(uchar code_point, bool value) 55 CacheEntry entries_[kSize]; 71 struct CacheEntry { 72 inline CacheEntry() : code_point_(kNoChar), offset_(0) { } 73 inline CacheEntry(uchar code_point, signed offset) 82 CacheEntry entries_[kSize];
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
BlobCache.h | 232 // A CacheEntry is a single key/value pair in the cache. 233 class CacheEntry { 235 CacheEntry(); 236 CacheEntry(const std::shared_ptr<Blob>& key, const std::shared_ptr<Blob>& value, uint32_t recency); 237 CacheEntry(const CacheEntry& ce); 239 bool operator<(const CacheEntry& rhs) const; 240 const CacheEntry& operator=(const CacheEntry&); 349 std::vector<CacheEntry> mCacheEntries [all...] |
/frameworks/native/opengl/libs/EGL/ |
BlobCache.cpp | 82 CacheEntry dummyEntry(dummyKey, NULL); 104 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob)); 142 CacheEntry dummyEntry(dummyKey, NULL); 169 for (const CacheEntry& e : mCacheEntries) { 195 for (const CacheEntry& e : mCacheEntries) { 297 const CacheEntry& entry(mCacheEntries[i]); 338 BlobCache::CacheEntry::CacheEntry() { 341 BlobCache::CacheEntry::CacheEntry( [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
IconCache.java | 45 private static class CacheEntry { 75 private final HashMap<CacheKey, CacheEntry> mCache = 76 new HashMap<CacheKey, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY); 184 CacheEntry entry = cacheLocked(application.componentName, info, labelCache, 205 CacheEntry entry = cacheLocked(component, launcherActInfo, null, user); 217 CacheEntry entry = cacheLocked(component, info, labelCache, info.getUser()); 226 private CacheEntry cacheLocked(ComponentName componentName, LauncherActivityInfo info, 229 CacheEntry entry = mCache.get(cacheKey); 231 entry = new CacheEntry();
|
/packages/services/Telephony/src/com/android/phone/ |
CallerInfoCache.java | 74 public static class CacheEntry { 77 public CacheEntry(String customRingtone, boolean shouldSendToVoicemail) { 136 * The mapping from number to CacheEntry. 147 private volatile HashMap<String, CacheEntry> mNumberToEntry; 164 mNumberToEntry = new HashMap<String, CacheEntry>(); 194 final HashMap<String, CacheEntry> newNumberToEntry = 195 new HashMap<String, CacheEntry>(cursor.getCount()); 232 for (Entry<String, CacheEntry> entry : newNumberToEntry.entrySet()) { 259 private void putNewEntryWhenAppropriate(HashMap<String, CacheEntry> newNumberToEntry, 264 final CacheEntry entry = newNumberToEntry.get(numberOrSipAddress) [all...] |
/build/soong/finder/ |
finder.go | 441 // a CacheEntry is the smallest unit that can be read and parsed from the cache (on disk) at a time 442 type CacheEntry []PersistedDirs 659 cacheEntry := CacheEntry{} 686 cacheEntry = append(cacheEntry, PersistedDirs{Device: device, Root: prefix, Dirs: infos}) 692 bytes, err := json.Marshal(cacheEntry) 697 var cacheEntry CacheEntry 698 err := json.Unmarshal(bytes, &cacheEntry) [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
Cache.java | 252 private final Map<K, CacheEntry<K,V>> cacheMap; 290 CacheEntry<K,V> entry = (CacheEntry<K,V>)queue.poll(); 299 CacheEntry<K,V> currentEntry = cacheMap.remove(key); 325 for (Iterator<CacheEntry<K,V>> t = cacheMap.values().iterator(); 327 CacheEntry<K,V> entry = t.next(); 350 for (CacheEntry<K,V> entry : cacheMap.values()) { 364 CacheEntry<K,V> newEntry = newEntry(key, value, expirationTime, queue); 365 CacheEntry<K,V> oldEntry = cacheMap.put(key, newEntry); 373 Iterator<CacheEntry<K,V>> t = cacheMap.values().iterator() [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ICUService.java | 402 CacheEntry result = null; 410 Map<String, CacheEntry> cache = this.cache; // copy so we don't need to sync on this 415 cache = new ConcurrentHashMap<String, CacheEntry>(); 464 result = new CacheEntry(currentDescriptor, service); 525 private Map<String, CacheEntry> cache; 529 private static final class CacheEntry { 532 CacheEntry(String actualDescriptor, Object service) { [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ICUService.java | 400 CacheEntry result = null; 408 Map<String, CacheEntry> cache = this.cache; // copy so we don't need to sync on this 413 cache = new ConcurrentHashMap<String, CacheEntry>(); 462 result = new CacheEntry(currentDescriptor, service); 523 private Map<String, CacheEntry> cache; 527 private static final class CacheEntry { 530 CacheEntry(String actualDescriptor, Object service) { [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
FileCache.java | 52 private final LruCache<String, CacheEntry> mEntryMap = 53 new LruCache<String, CacheEntry>(LRU_CAPACITY); 62 public static final class CacheEntry { 67 private CacheEntry(long id, String contentUrl, File cacheFile) { 129 public CacheEntry lookup(String downloadUrl) { 131 CacheEntry entry; 146 entry = new CacheEntry(
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/ |
generic.h | 151 } CacheEntry;
189 #define newCacheEntry(s) (CacheEntry *) newEntry(s, sizeof(CacheEntry))
|
/external/clang/lib/Serialization/ |
ASTWriterDecl.cpp | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
IconCache.java | 85 public static class CacheEntry extends BitmapInfo { 99 private final HashMap<ComponentKey, CacheEntry> mCache = 372 CacheEntry entry = null; 381 entry = new CacheEntry(); 451 CacheEntry entry = cacheLocked(application.componentName, 493 CacheEntry entry = cacheLocked(infoInOut.getTargetComponent(), activityInfoProvider, 503 CacheEntry entry = getEntryForPackageLocked( 508 private void applyCacheEntry(CacheEntry entry, ItemInfoWithIcon info) { 530 protected CacheEntry cacheLocked( 536 CacheEntry entry = mCache.get(cacheKey) [all...] |
/external/clang/lib/Sema/ |
SemaExprCXX.cpp | [all...] |
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/ |
org.eclipse.equinox.p2.touchpoint.eclipse_2.1.200.v20130327-2119.jar | |