HomeSort by relevance Sort by last modified time
    Searched refs:CacheEntry (Results 1 - 25 of 93) sorted by null

1 2 3 4

  /device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
fcache.c 39 CacheEntry *dumpFcache1(char *prev)
41 CacheEntry *dumpFcache1(prev)
50 CacheEntry *least=NULL;
56 CacheEntry *q =(CacheEntry *) *p;
78 void reportFcache(CacheEntry *q)
81 CacheEntry *q;
111 CacheEntry *next;
dumpcycles.c 17 CacheEntry *f;
33 f = (CacheEntry *)
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/ArpDxe/
ArpImpl.c 82 ARP_CACHE_ENTRY *CacheEntry;
153 CacheEntry = ArpFindDeniedCacheEntry (
158 if (CacheEntry != NULL) {
209 CacheEntry = ArpFindNextCacheEntryInTable (
216 if (CacheEntry != NULL) {
220 ArpFillAddressInCacheEntry (CacheEntry, &SenderAddress[Hardware], NULL);
221 CacheEntry->DecayTime = CacheEntry->DefaultDecayTime;
237 CacheEntry = ArpFindNextCacheEntryInTable (
244 if (CacheEntry == NULL) {
    [all...]
ArpMain.c 142 ARP_CACHE_ENTRY *CacheEntry;
186 CacheEntry = ArpFindDeniedCacheEntry (
192 if (CacheEntry == NULL) {
196 CacheEntry = ArpFindNextCacheEntryInTable (
205 if ((CacheEntry != NULL) && !Overwrite) {
213 if ((CacheEntry == NULL) && (TargetSwAddress != NULL)) {
217 CacheEntry = ArpFindNextCacheEntryInTable (
226 if (CacheEntry != NULL) {
230 RemoveEntryList (&CacheEntry->List);
235 CacheEntry = ArpAllocCacheEntry (Instance);
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
LocaleObjectCache.java 20 private ConcurrentHashMap<K, CacheEntry<K, V>> _map;
28 _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel);
35 CacheEntry<K, V> entry = _map.get(key);
47 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue);
65 CacheEntry<K, V> entry;
66 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) {
77 private static class CacheEntry<K, V> extends SoftReference<V> {
80 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 16 private ConcurrentHashMap<K, CacheEntry<K, V>> _map;
24 _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel);
31 CacheEntry<K, V> entry = _map.get(key);
43 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue);
61 CacheEntry<K, V> entry;
62 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) {
73 private static class CacheEntry<K, V> extends SoftReference<V> {
76 CacheEntry(K key, V value, ReferenceQueue<V> queue) {
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
LocaleObjectCache.java 16 private ConcurrentHashMap<K, CacheEntry<K, V>> _map;
24 _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel);
31 CacheEntry<K, V> entry = _map.get(key);
43 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue);
61 CacheEntry<K, V> entry;
62 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) {
73 private static class CacheEntry<K, V> extends SoftReference<V> {
76 CacheEntry(K key, V value, ReferenceQueue<V> queue) {
  /frameworks/native/opengl/libs/EGL/
BlobCache.h 143 // A CacheEntry is a single key/value pair in the cache.
144 class CacheEntry {
146 CacheEntry();
147 CacheEntry(const std::shared_ptr<Blob>& key, const std::shared_ptr<Blob>& value);
148 CacheEntry(const CacheEntry& ce);
150 bool operator<(const CacheEntry& rhs) const;
151 const CacheEntry& operator=(const CacheEntry&);
240 std::vector<CacheEntry> mCacheEntries
    [all...]
BlobCache.cpp 81 CacheEntry dummyEntry(dummyKey, NULL);
103 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob));
141 CacheEntry dummyEntry(dummyKey, NULL);
168 for (const CacheEntry& e : mCacheEntries) {
194 for (const CacheEntry& e : mCacheEntries) {
296 const CacheEntry& entry(mCacheEntries[i]);
337 BlobCache::CacheEntry::CacheEntry() {
340 BlobCache::CacheEntry::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...]
  /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...]
  /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...]
  /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/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...]
  /frameworks/base/libs/hwui/pipeline/skia/
VectorDrawableAtlas.h 113 struct CacheEntry {
114 CacheEntry(const SkRect& newVDrect, const SkRect& newRect,
138 std::list<CacheEntry>::iterator eraseIt;
154 std::list<CacheEntry> mRects;
193 static bool compareCacheEntry(const CacheEntry& first, const CacheEntry& second);
  /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) {
  /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...]
  /frameworks/ml/nn/driver/cache/BlobCache/
BlobCache.cpp 106 CacheEntry dummyEntry(dummyKey, NULL, 0);
136 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob, ++mAccessCount));
193 CacheEntry dummyEntry(dummyKey, NULL, 0);
223 for (const CacheEntry& e : mCacheEntries) {
249 for (const CacheEntry& e : mCacheEntries) {
352 [](const CacheEntry &a, const CacheEntry &b) {
402 const CacheEntry& entry(mCacheEntries[i]);
455 BlobCache::CacheEntry::CacheEntry(): mRecency(0)
    [all...]
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/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);
  /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...]
  /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...]
  /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];
  /libcore/ojluni/src/main/java/sun/nio/fs/
PollingWatchService.java 200 private static class CacheEntry {
204 CacheEntry(long lastModified, int lastTickCount) {
244 private Map<Path,CacheEntry> entries;
253 this.entries = new HashMap<Path,CacheEntry>();
261 entries.put(entry.getFileName(), new CacheEntry(lastModified, tickCount));
349 CacheEntry e = entries.get(entry.getFileName());
353 new CacheEntry(lastModified, tickCount));
396 Iterator<Map.Entry<Path,CacheEntry>> i = entries.entrySet().iterator();
398 Map.Entry<Path,CacheEntry> mapEntry = i.next();
399 CacheEntry entry = mapEntry.getValue()
    [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();

Completed in 2081 milliseconds

1 2 3 4