Searched refs:cacheEntry (Results 1 – 9 of 9) sorted by relevance
156 ByteBuffer cacheEntry = cache.get(chacheEntryOffset).get(); in getContent() local157 … 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() local170 …cacheEntry = 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()
147 TimeZoneNamesCacheEntry *cacheEntry = NULL; in TimeZoneNamesDelegate() local150 cacheEntry = (TimeZoneNamesCacheEntry *)uhash_get(gTimeZoneNamesCache, key); in TimeZoneNamesDelegate()151 if (cacheEntry == NULL) { in TimeZoneNamesDelegate()168 cacheEntry = (TimeZoneNamesCacheEntry *)uprv_malloc(sizeof(TimeZoneNamesCacheEntry)); in TimeZoneNamesDelegate()169 if (cacheEntry == NULL) { in TimeZoneNamesDelegate()172 cacheEntry->names = tznames; in TimeZoneNamesDelegate()173 cacheEntry->refCount = 1; in TimeZoneNamesDelegate()174 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in TimeZoneNamesDelegate()176 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status); in TimeZoneNamesDelegate()186 if (cacheEntry != NULL) { in TimeZoneNamesDelegate()[all …]
1230 TZGNCoreRef *cacheEntry = NULL; in createInstance() local1250 cacheEntry = (TZGNCoreRef *)uhash_get(gTZGNCoreCache, key); in createInstance()1251 if (cacheEntry == NULL) { in createInstance()1268 cacheEntry = (TZGNCoreRef *)uprv_malloc(sizeof(TZGNCoreRef)); in createInstance()1269 if (cacheEntry == NULL) { in createInstance()1272 cacheEntry->obj = tzgnCore; in createInstance()1273 cacheEntry->refCount = 1; in createInstance()1274 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in createInstance()1276 uhash_put(gTZGNCoreCache, newKey, cacheEntry, &status); in createInstance()1286 if (cacheEntry != NULL) { in createInstance()[all …]
1471 CurrencyNameCacheEntry* cacheEntry = NULL; in uprv_parseCurrency() local1485 cacheEntry = currCache[found]; in uprv_parseCurrency()1486 currencyNames = cacheEntry->currencyNames; in uprv_parseCurrency()1487 total_currency_name_count = cacheEntry->totalCurrencyNameCount; in uprv_parseCurrency()1488 currencySymbols = cacheEntry->currencySymbols; in uprv_parseCurrency()1489 total_currency_symbol_count = cacheEntry->totalCurrencySymbolCount; in uprv_parseCurrency()1490 ++(cacheEntry->refCount); in uprv_parseCurrency()1514 cacheEntry = currCache[currentCacheEntryIndex]; in uprv_parseCurrency()1515 if (cacheEntry) { in uprv_parseCurrency()1516 --(cacheEntry->refCount); in uprv_parseCurrency()[all …]
143 cacheEntry(other.cacheEntry), in RuleBasedCollator()148 cacheEntry->addRef(); in RuleBasedCollator()156 cacheEntry(NULL), in RuleBasedCollator()186 cacheEntry(entry), in RuleBasedCollator()191 cacheEntry->addRef(); in RuleBasedCollator()196 SharedObject::clearPtr(cacheEntry); in ~RuleBasedCollator()205 U_ASSERT(settings == NULL && data == NULL && tailoring == NULL && cacheEntry == NULL); in adoptTailoring()206 cacheEntry = new CollationCacheEntry(t->actualLocale, t); in adoptTailoring()207 if(cacheEntry == NULL) { in adoptTailoring()216 cacheEntry->addRef(); in adoptTailoring()[all …]
87 cacheEntry(NULL), in RuleBasedCollator()97 cacheEntry(NULL), in RuleBasedCollator()109 cacheEntry(NULL), in RuleBasedCollator()122 cacheEntry(NULL), in RuleBasedCollator()136 cacheEntry(NULL), in RuleBasedCollator()149 cacheEntry(NULL), in RuleBasedCollator()
864 const CollationCacheEntry *cacheEntry; // reference-counted variable
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...