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

  /frameworks/base/include/utils/
BlobCache.h 123 // A CacheEntry is a single key/value pair in the cache.
124 class CacheEntry {
126 CacheEntry();
127 CacheEntry(const sp<Blob>& key, const sp<Blob>& value);
128 CacheEntry(const CacheEntry& ce);
130 bool operator<(const CacheEntry& rhs) const;
131 const CacheEntry& operator=(const CacheEntry&);
175 SortedVector<CacheEntry> mCacheEntries
    [all...]
  /external/webkit/Source/JavaScriptCore/runtime/
NumericStrings.h 39 CacheEntry<double>& entry = lookup(d);
51 CacheEntry<int>& entry = lookup(i);
63 CacheEntry<unsigned>& entry = lookup(i);
74 struct CacheEntry {
79 CacheEntry<double>& lookup(double d) { return doubleCache[WTF::FloatHash<double>::hash(d) & (cacheSize - 1)]; }
80 CacheEntry<int>& lookup(int i) { return intCache[WTF::IntHash<int>::hash(i) & (cacheSize - 1)]; }
81 CacheEntry<unsigned>& lookup(unsigned i) { return unsignedCache[WTF::IntHash<unsigned>::hash(i) & (cacheSize - 1)]; }
90 FixedArray<CacheEntry<double>, cacheSize> doubleCache;
91 FixedArray<CacheEntry<int>, cacheSize> intCache;
92 FixedArray<CacheEntry<unsigned>, cacheSize> unsignedCache
    [all...]
CachedTranscendentalFunction.h 42 struct CacheEntry {
63 CacheEntry* entry = &m_cache[hash(operand)];
77 m_cache = static_cast<CacheEntry*>(fastMalloc(s_cacheSize * sizeof(CacheEntry)));
98 CacheEntry* m_cache;
DateInstanceCache.h 70 CacheEntry& entry = lookup(d);
82 struct CacheEntry {
87 CacheEntry& lookup(double d) { return m_cache[WTF::FloatHash<double>::hash(d) & (cacheSize - 1)]; }
89 FixedArray<CacheEntry, cacheSize> m_cache;
  /external/llvm/lib/CodeGen/
InterferenceCache.h 139 Entry *CacheEntry;
145 // we don't have to check for E == CacheEntry etc.
146 if (CacheEntry)
147 CacheEntry->addRef(-1);
148 CacheEntry = E;
149 if (CacheEntry)
150 CacheEntry->addRef(+1);
155 Cursor() : CacheEntry(0), Current(0) {}
158 Cursor(const Cursor &O) : CacheEntry(0), Current(0) {
159 setEntry(O.CacheEntry);
    [all...]
  /frameworks/base/core/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...]
  /frameworks/base/libs/utils/
BlobCache.cpp 72 CacheEntry dummyEntry(dummyKey, NULL);
95 mCacheEntries.add(CacheEntry(keyBlob, valueBlob));
134 CacheEntry dummyEntry(dummyKey, NULL);
168 const CacheEntry& entry(mCacheEntries[i]);
209 BlobCache::CacheEntry::CacheEntry() {
212 BlobCache::CacheEntry::CacheEntry(const sp<Blob>& key, const sp<Blob>& value):
217 BlobCache::CacheEntry::CacheEntry(const CacheEntry& ce)
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
IconCache.java 39 private static class CacheEntry {
47 private final HashMap<ComponentName, CacheEntry> mCache =
48 new HashMap<ComponentName, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY);
142 CacheEntry entry = cacheLocked(application.componentName, info, labelCache);
158 CacheEntry entry = cacheLocked(component, resolveInfo, null);
170 CacheEntry entry = cacheLocked(component, resolveInfo, labelCache);
179 private CacheEntry cacheLocked(ComponentName componentName, ResolveInfo info,
181 CacheEntry entry = mCache.get(componentName);
183 entry = new CacheEntry();
211 final CacheEntry e = mCache.get(cn)
    [all...]
  /external/v8/src/
unicode.h 57 struct CacheEntry {
58 inline CacheEntry() : code_point_(0), value_(0) { }
59 inline CacheEntry(uchar code_point, bool value)
67 CacheEntry entries_[kSize];
82 struct CacheEntry {
83 inline CacheEntry() : code_point_(kNoChar), offset_(0) { }
84 inline CacheEntry(uchar code_point, signed offset)
93 CacheEntry entries_[kSize];
unicode-inl.h 36 CacheEntry entry = entries_[code_point & kMask];
44 entries_[code_point & kMask] = CacheEntry(code_point, result);
50 CacheEntry entry = entries_[c & kMask];
69 entries_[c & kMask] = CacheEntry(c, result[0] - c);
72 entries_[c & kMask] = CacheEntry(c, 0);
  /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/Gallery2/gallerycommon/src/com/android/gallery3d/common/
FileCache.java 51 private final LruCache<String, CacheEntry> mEntryMap =
52 new LruCache<String, CacheEntry>(LRU_CAPACITY);
61 public static final class CacheEntry {
66 private CacheEntry(long id, String contentUrl, File cacheFile) {
123 public CacheEntry lookup(String downloadUrl) {
125 CacheEntry entry;
140 entry = new CacheEntry(
  /external/icu4c/common/
serv.cpp 199 class CacheEntry : public UMemory {
210 ~CacheEntry() {
214 CacheEntry(const UnicodeString& _actualDescriptor, UObject* _service)
224 CacheEntry* ref() {
236 CacheEntry* unref() {
257 U_NAMESPACE_USE ((CacheEntry*)obj)->unref();
438 CacheEntry* result = NULL;
489 result = (CacheEntry*)serviceCache->get(currentDescriptor);
508 result = new CacheEntry(currentDescriptor, service);
  /external/emma/lib/
emma.jar 

Completed in 415 milliseconds