Home
last modified time | relevance | path

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

/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.cpp160 TimeZoneNamesCacheEntry *cacheEntry = NULL; in TimeZoneNamesDelegate() local
164 cacheEntry = (TimeZoneNamesCacheEntry *)uhash_get(gTimeZoneNamesCache, key); in TimeZoneNamesDelegate()
165 if (cacheEntry == NULL) { in TimeZoneNamesDelegate()
182cacheEntry = (TimeZoneNamesCacheEntry *)uprv_malloc(sizeof(TimeZoneNamesCacheEntry)); in TimeZoneNamesDelegate()
183 if (cacheEntry == NULL) { in TimeZoneNamesDelegate()
186 cacheEntry->names = tznames; in TimeZoneNamesDelegate()
187 cacheEntry->refCount = 1; in TimeZoneNamesDelegate()
188 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in TimeZoneNamesDelegate()
190 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status); in TimeZoneNamesDelegate()
200 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.cpp1259 TZGNCoreRef *cacheEntry = NULL; in createInstance() local
1263 cacheEntry = (TZGNCoreRef *)uhash_get(gTZGNCoreCache, key); in createInstance()
1264 if (cacheEntry == NULL) { in createInstance()
1281 cacheEntry = (TZGNCoreRef *)uprv_malloc(sizeof(TZGNCoreRef)); in createInstance()
1282 if (cacheEntry == NULL) { in createInstance()
1285 cacheEntry->obj = tzgnCore; in createInstance()
1286 cacheEntry->refCount = 1; in createInstance()
1287 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in createInstance()
1289 uhash_put(gTZGNCoreCache, newKey, cacheEntry, &status); in createInstance()
1299 if (cacheEntry != NULL) { in createInstance()
[all …]
/external/skia/include/gpu/
DGrResource.h69 void setCacheEntry(GrResourceEntry* cacheEntry) { fCacheEntry = cacheEntry; } in setCacheEntry() argument