/frameworks/base/tools/aapt/ |
ResourceIdCache.cpp | 21 struct CacheEntry { 26 CacheEntry() {} 27 CacheEntry(const android::String16& name, uint32_t resId) : hashedName(name), id(resId) { } 30 static std::map< uint32_t, CacheEntry > mIdMap; 64 std::map<uint32_t, CacheEntry>::iterator item = mIdMap.find(hashcode); 92 mIdMap[hashcode] = CacheEntry(hashedName, resId);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
LocaleObjectCache.java | 18 private ConcurrentHashMap<K, CacheEntry<K, V>> _map; 26 _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); 33 CacheEntry<K, V> entry = _map.get(key); 45 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue); 63 CacheEntry<K, V> entry; 64 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) { 75 private static class CacheEntry<K, V> extends SoftReference<V> { 78 CacheEntry(K key, V value, ReferenceQueue<V> queue) {
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/ |
LocaleObjectCache.java | 14 private ConcurrentHashMap<K, CacheEntry<K, V>> _map; 22 _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); 29 CacheEntry<K, V> entry = _map.get(key); 41 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue); 59 CacheEntry<K, V> entry; 60 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) { 71 private static class CacheEntry<K, V> extends SoftReference<V> { 74 CacheEntry(K key, V value, ReferenceQueue<V> queue) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
LocaleObjectCache.java | 14 private ConcurrentHashMap<K, CacheEntry<K, V>> _map; 22 _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); 29 CacheEntry<K, V> entry = _map.get(key); 41 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue); 59 CacheEntry<K, V> entry; 60 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) { 71 private static class CacheEntry<K, V> extends SoftReference<V> { 74 CacheEntry(K key, V value, ReferenceQueue<V> queue) {
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
AbstractCache.java | 31 private final HashMap<K, CacheEntry<V>> mCacheMap; 34 mCacheMap = new HashMap<K, CacheEntry<V>>(); 52 CacheEntry<V> cacheEntry = new CacheEntry<V>(); 53 cacheEntry.value = value; 54 mCacheMap.put(key, cacheEntry); 70 CacheEntry<V> cacheEntry = mCacheMap.get(key); 71 if (cacheEntry != null) [all...] |
/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); 67 CacheEntry<K, V> newEntry = new CacheEntry<>(key, newVal, queue); 84 CacheEntry<K, V> entry = new CacheEntry<>(key, value, queue); 85 CacheEntry<K, V> oldEntry = map.put(key, entry); 91 CacheEntry<K, V> entry; 92 while ((entry = (CacheEntry<K, V>)queue.poll()) != null) { 103 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...] |
/system/core/include/utils/ |
BlobCache.h | 147 // A CacheEntry is a single key/value pair in the cache. 148 class CacheEntry { 150 CacheEntry(); 151 CacheEntry(const sp<Blob>& key, const sp<Blob>& value); 152 CacheEntry(const CacheEntry& ce); 154 bool operator<(const CacheEntry& rhs) const; 155 const CacheEntry& operator=(const CacheEntry&); 244 SortedVector<CacheEntry> mCacheEntries [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
|
/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 | 203 class CacheEntry : public UMemory { 214 ~CacheEntry() { 218 CacheEntry(const UnicodeString& _actualDescriptor, UObject* _service) 228 CacheEntry* ref() { 240 CacheEntry* unref() { 261 U_NAMESPACE_USE ((CacheEntry*)obj)->unref(); 439 CacheEntry* result = NULL; 490 result = (CacheEntry*)serviceCache->get(currentDescriptor); 509 result = new CacheEntry(currentDescriptor, service);
|
/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/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];
|
/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...] |
/system/core/libutils/ |
BlobCache.cpp | 84 CacheEntry dummyEntry(dummyKey, NULL); 106 mCacheEntries.add(CacheEntry(keyBlob, valueBlob)); 144 CacheEntry dummyEntry(dummyKey, NULL); 172 const CacheEntry& e(mCacheEntries[i]); 200 const CacheEntry& e(mCacheEntries[i]); 303 const CacheEntry& entry(mCacheEntries[i]); 344 BlobCache::CacheEntry::CacheEntry() { 347 BlobCache::CacheEntry::CacheEntry(const sp<Blob>& key, const sp<Blob>& value) [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 | 396 CacheEntry result = null; 404 Map<String, CacheEntry> cache = null; 405 SoftReference<Map<String, CacheEntry>> cref = cacheref; // copy so we don't need to sync on this 414 cache = Collections.synchronizedMap(new HashMap<String, CacheEntry>()); 416 cref = new SoftReference<Map<String, CacheEntry>>(cache); 465 result = new CacheEntry(currentDescriptor, service); 526 private SoftReference<Map<String, CacheEntry>> cacheref; 530 private static final class CacheEntry { 533 CacheEntry(String actualDescriptor, Object service) { [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ICUService.java | 394 CacheEntry result = null; 402 Map<String, CacheEntry> cache = null; 403 SoftReference<Map<String, CacheEntry>> cref = cacheref; // copy so we don't need to sync on this 412 cache = Collections.synchronizedMap(new HashMap<String, CacheEntry>()); 414 cref = new SoftReference<Map<String, CacheEntry>>(cache); 463 result = new CacheEntry(currentDescriptor, service); 524 private SoftReference<Map<String, CacheEntry>> cacheref; 528 private static final class CacheEntry { 531 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(
|
/external/clang/lib/Serialization/ |
ASTWriterDecl.cpp | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
IconCache.java | 80 @Thunk static class CacheEntry { 94 private final HashMap<ComponentKey, CacheEntry> mCache = 95 new HashMap<ComponentKey, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY); 373 CacheEntry entry = null; 382 entry = new CacheEntry(); 426 private Bitmap getNonNullIcon(CacheEntry entry, UserHandleCompat user) { 436 CacheEntry entry = cacheLocked(application.componentName, info, user, 448 CacheEntry entry = cacheLocked(application.componentName, null, application.user, 470 CacheEntry entry = cacheLocked(component, launcherActInfo, user, true, false /* useLowRes */); 500 CacheEntry entry = cacheLocked(component, info, user, usePkgIcon, useLowResIcon) [all...] |
/external/clang/lib/Sema/ |
SemaExprCXX.cpp | [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.touchpoint.eclipse_2.0.2.R36x_v20100823.jar | |
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/ |
org.eclipse.equinox.p2.touchpoint.eclipse_2.1.200.v20130327-2119.jar | |