Lines Matching refs:cacheEntry
1201 TZGNCoreRef *cacheEntry = NULL; in createInstance() local
1221 cacheEntry = (TZGNCoreRef *)uhash_get(gTZGNCoreCache, key); in createInstance()
1222 if (cacheEntry == NULL) { in createInstance()
1239 cacheEntry = (TZGNCoreRef *)uprv_malloc(sizeof(TZGNCoreRef)); in createInstance()
1240 if (cacheEntry == NULL) { in createInstance()
1243 cacheEntry->obj = tzgnCore; in createInstance()
1244 cacheEntry->refCount = 1; in createInstance()
1245 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in createInstance()
1247 uhash_put(gTZGNCoreCache, newKey, cacheEntry, &status); in createInstance()
1257 if (cacheEntry != NULL) { in createInstance()
1258 uprv_free(cacheEntry); in createInstance()
1260 cacheEntry = NULL; in createInstance()
1264 cacheEntry->refCount++; in createInstance()
1265 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in createInstance()
1275 if (cacheEntry == NULL) { in createInstance()
1280 instance->fRef = cacheEntry; in createInstance()