Lines Matching refs:cacheEntry
152 TimeZoneNamesCacheEntry *cacheEntry = NULL; in TimeZoneNamesDelegate() local
155 cacheEntry = (TimeZoneNamesCacheEntry *)uhash_get(gTimeZoneNamesCache, key); in TimeZoneNamesDelegate()
156 if (cacheEntry == NULL) { in TimeZoneNamesDelegate()
173 cacheEntry = (TimeZoneNamesCacheEntry *)uprv_malloc(sizeof(TimeZoneNamesCacheEntry)); in TimeZoneNamesDelegate()
174 if (cacheEntry == NULL) { in TimeZoneNamesDelegate()
177 cacheEntry->names = tznames; in TimeZoneNamesDelegate()
178 cacheEntry->refCount = 1; in TimeZoneNamesDelegate()
179 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in TimeZoneNamesDelegate()
181 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status); in TimeZoneNamesDelegate()
191 if (cacheEntry != NULL) { in TimeZoneNamesDelegate()
192 uprv_free(cacheEntry); in TimeZoneNamesDelegate()
194 cacheEntry = NULL; in TimeZoneNamesDelegate()
198 cacheEntry->refCount++; in TimeZoneNamesDelegate()
199 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in TimeZoneNamesDelegate()
207 fTZnamesCacheEntry = cacheEntry; in TimeZoneNamesDelegate()