Home | History | Annotate | Download | only in i18n

Lines Matching defs:cacheEntry

1281     CurrencyNameCacheEntry* cacheEntry = NULL;
1295 cacheEntry = currCache[found];
1296 currencyNames = cacheEntry->currencyNames;
1297 total_currency_name_count = cacheEntry->totalCurrencyNameCount;
1298 currencySymbols = cacheEntry->currencySymbols;
1299 total_currency_symbol_count = cacheEntry->totalCurrencySymbolCount;
1300 ++(cacheEntry->refCount);
1324 cacheEntry = currCache[currentCacheEntryIndex];
1325 if (cacheEntry) {
1326 --(cacheEntry->refCount);
1328 if (cacheEntry->refCount == 0) {
1329 deleteCacheEntry(cacheEntry);
1332 cacheEntry = (CurrencyNameCacheEntry*)uprv_malloc(sizeof(CurrencyNameCacheEntry));
1333 currCache[currentCacheEntryIndex] = cacheEntry;
1334 uprv_strcpy(cacheEntry->locale, locale);
1335 cacheEntry->currencyNames = currencyNames;
1336 cacheEntry->totalCurrencyNameCount = total_currency_name_count;
1337 cacheEntry->currencySymbols = currencySymbols;
1338 cacheEntry->totalCurrencySymbolCount = total_currency_symbol_count;
1339 cacheEntry->refCount = 2; // one for cache, one for reference
1346 cacheEntry = currCache[found];
1347 currencyNames = cacheEntry->currencyNames;
1348 total_currency_name_count = cacheEntry->totalCurrencyNameCount;
1349 currencySymbols = cacheEntry->currencySymbols;
1350 total_currency_symbol_count = cacheEntry->totalCurrencySymbolCount;
1351 ++(cacheEntry->refCount);
1398 --(cacheEntry->refCount);
1399 if (cacheEntry->refCount == 0) { // remove
1400 deleteCacheEntry(cacheEntry);