Home
last modified time | relevance | path

Searched refs:cacheEntry (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DImageDecodingStore.cpp114 CacheEntry* cacheEntry = iter->value.get(); in unlockCache() local
115 cacheEntry->decrementUseCount(); in unlockCache()
118 m_orderedCacheList.remove(cacheEntry); in unlockCache()
119 m_orderedCacheList.append(cacheEntry); in unlockCache()
125 if (!s_imageCachingEnabled && !cacheEntry->useCount()) { in unlockCache()
126 removeFromCacheInternal(cacheEntry, &cacheEntriesToDelete); in unlockCache()
173 DecoderCacheEntry* cacheEntry = iter->value.get(); in lockDecoder() local
176 ASSERT(!cacheEntry->useCount()); in lockDecoder()
177 cacheEntry->incrementUseCount(); in lockDecoder()
178 *decoder = cacheEntry->cachedDecoder(); in lockDecoder()
[all …]
DImageDecodingStore.h269 …template<class T, class U, class V> void insertCacheInternal(PassOwnPtr<T> cacheEntry, U* cacheMap…
273 …template<class T, class U, class V> void removeFromCacheInternal(const T* cacheEntry, U* cacheMap,…
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
DMediaDataBox.java156 ByteBuffer cacheEntry = cache.get(chacheEntryOffset).get(); in getContent() local
157 … if ((cacheEntry != null) && ((chacheEntryOffset + cacheEntry.limit()) >= (offset + length))) { in getContent()
159 cacheEntry.position((int) (offset - chacheEntryOffset)); in getContent()
160 ByteBuffer cachedSample = cacheEntry.slice(); in getContent()
167 ByteBuffer cacheEntry; in getContent() local
170cacheEntry = fileChannel.map(FileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFE… in getContent()
177 cache.put(offset, new SoftReference<ByteBuffer>(cacheEntry)); in getContent()
178 cacheEntry.position(0); in getContent()
179 ByteBuffer cachedSample = cacheEntry.slice(); in getContent()
/external/icu4c/i18n/
Dtznames.cpp153 TimeZoneNamesCacheEntry *cacheEntry = NULL; in TimeZoneNamesDelegate() local
157 cacheEntry = (TimeZoneNamesCacheEntry *)uhash_get(gTimeZoneNamesCache, key); in TimeZoneNamesDelegate()
158 if (cacheEntry == NULL) { in TimeZoneNamesDelegate()
175cacheEntry = (TimeZoneNamesCacheEntry *)uprv_malloc(sizeof(TimeZoneNamesCacheEntry)); in TimeZoneNamesDelegate()
176 if (cacheEntry == NULL) { in TimeZoneNamesDelegate()
179 cacheEntry->names = tznames; in TimeZoneNamesDelegate()
180 cacheEntry->refCount = 1; in TimeZoneNamesDelegate()
181 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in TimeZoneNamesDelegate()
183 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status); in TimeZoneNamesDelegate()
193 if (cacheEntry != NULL) { in TimeZoneNamesDelegate()
[all …]
Ducurr.cpp1281 CurrencyNameCacheEntry* cacheEntry = NULL; in uprv_parseCurrency() local
1295 cacheEntry = currCache[found]; in uprv_parseCurrency()
1296 currencyNames = cacheEntry->currencyNames; in uprv_parseCurrency()
1297 total_currency_name_count = cacheEntry->totalCurrencyNameCount; in uprv_parseCurrency()
1298 currencySymbols = cacheEntry->currencySymbols; in uprv_parseCurrency()
1299 total_currency_symbol_count = cacheEntry->totalCurrencySymbolCount; in uprv_parseCurrency()
1300 ++(cacheEntry->refCount); in uprv_parseCurrency()
1324 cacheEntry = currCache[currentCacheEntryIndex]; in uprv_parseCurrency()
1325 if (cacheEntry) { in uprv_parseCurrency()
1326 --(cacheEntry->refCount); in uprv_parseCurrency()
[all …]
Dtzgnames.cpp1257 TZGNCoreRef *cacheEntry = NULL; in createInstance() local
1261 cacheEntry = (TZGNCoreRef *)uhash_get(gTZGNCoreCache, key); in createInstance()
1262 if (cacheEntry == NULL) { in createInstance()
1279 cacheEntry = (TZGNCoreRef *)uprv_malloc(sizeof(TZGNCoreRef)); in createInstance()
1280 if (cacheEntry == NULL) { in createInstance()
1283 cacheEntry->obj = tzgnCore; in createInstance()
1284 cacheEntry->refCount = 1; in createInstance()
1285 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in createInstance()
1287 uhash_put(gTZGNCoreCache, newKey, cacheEntry, &status); in createInstance()
1297 if (cacheEntry != NULL) { in createInstance()
[all …]
/external/chromium_org/chrome/browser/resources/chromeos/
Ddrive_internals.js93 function updateCacheContents(cacheEntry) { argument
95 tr.appendChild(createElementFromText('td', cacheEntry.local_id));
96 tr.appendChild(createElementFromText('td', cacheEntry.md5));
97 tr.appendChild(createElementFromText('td', cacheEntry.is_present));
98 tr.appendChild(createElementFromText('td', cacheEntry.is_pinned));
99 tr.appendChild(createElementFromText('td', cacheEntry.is_dirty));
/external/chromium_org/third_party/icu/source/i18n/
Ducurr.cpp1242 CurrencyNameCacheEntry* cacheEntry = NULL; in uprv_parseCurrency() local
1256 cacheEntry = currCache[found]; in uprv_parseCurrency()
1257 currencyNames = cacheEntry->currencyNames; in uprv_parseCurrency()
1258 total_currency_name_count = cacheEntry->totalCurrencyNameCount; in uprv_parseCurrency()
1259 currencySymbols = cacheEntry->currencySymbols; in uprv_parseCurrency()
1260 total_currency_symbol_count = cacheEntry->totalCurrencySymbolCount; in uprv_parseCurrency()
1261 ++(cacheEntry->refCount); in uprv_parseCurrency()
1285 cacheEntry = currCache[currentCacheEntryIndex]; in uprv_parseCurrency()
1286 if (cacheEntry) { in uprv_parseCurrency()
1287 --(cacheEntry->refCount); in uprv_parseCurrency()
[all …]
Dzstrfmt.h505 SafeZoneStringFormatPtr(ZSFCacheEntry *cacheEntry);
Dzstrfmt.cpp1945 SafeZoneStringFormatPtr::SafeZoneStringFormatPtr(ZSFCacheEntry *cacheEntry) in SafeZoneStringFormatPtr() argument
1946 : fCacheEntry(cacheEntry) { in SafeZoneStringFormatPtr()
/external/skia/include/gpu/
DGrResource.h66 void setCacheEntry(GrResourceEntry* cacheEntry) { fCacheEntry = cacheEntry; } in setCacheEntry() argument
/external/chromium_org/third_party/skia/include/gpu/
DGrResource.h66 void setCacheEntry(GrResourceEntry* cacheEntry) { fCacheEntry = cacheEntry; } in setCacheEntry() argument
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFont.cpp219 …float* cacheEntry = m_fontFallbackList->widthCache().add(run, std::numeric_limits<float>::quiet_Na… in width() local
220 if (cacheEntry && !std::isnan(*cacheEntry)) in width()
221 return *cacheEntry; in width()
229 if (cacheEntry && (!fallbackFonts || fallbackFonts->isEmpty())) in width()
230 *cacheEntry = result; in width()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DHarfBuzzShaper.cpp94 CachedShapingResultsLRUNode(const CachedShapingResultsMap::iterator& cacheEntry);
112 …ingResultsLRUNode::CachedShapingResultsLRUNode(const CachedShapingResultsMap::iterator& cacheEntry) in CachedShapingResultsLRUNode() argument
113 : entry(cacheEntry) in CachedShapingResultsLRUNode()
/external/chromium_org/net/third_party/nss/ssl/
Dsslsnce.c1832 const char *keyName, encKeyCacheEntry* cacheEntry) in WrapTicketKey() argument
1837 PORT_Assert(wrappedKey.len <= sizeof(cacheEntry->bytes)); in WrapTicketKey()
1838 if (wrappedKey.len > sizeof(cacheEntry->bytes)) in WrapTicketKey()
1840 wrappedKey.data = cacheEntry->bytes; in WrapTicketKey()
1848 cacheEntry->length = wrappedKey.len; in WrapTicketKey()