Lines Matching refs:cacheEntry
1230 TZGNCoreRef *cacheEntry = NULL; in createInstance() local
1250 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()
1287 uprv_free(cacheEntry); in createInstance()
1289 cacheEntry = NULL; in createInstance()
1293 cacheEntry->refCount++; in createInstance()
1294 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in createInstance()
1304 if (cacheEntry == NULL) { in createInstance()
1309 instance->fRef = cacheEntry; in createInstance()