Home
last modified time | relevance | path

Searched refs:cacheEntry (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/icu/source/i18n/
Dtznames.cpp152 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()
[all …]
Dtzgnames.cpp1207 TZGNCoreRef *cacheEntry = NULL; in createInstance() local
1227 cacheEntry = (TZGNCoreRef *)uhash_get(gTZGNCoreCache, key); in createInstance()
1228 if (cacheEntry == NULL) { in createInstance()
1245 cacheEntry = (TZGNCoreRef *)uprv_malloc(sizeof(TZGNCoreRef)); in createInstance()
1246 if (cacheEntry == NULL) { in createInstance()
1249 cacheEntry->obj = tzgnCore; in createInstance()
1250 cacheEntry->refCount = 1; in createInstance()
1251 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in createInstance()
1253 uhash_put(gTZGNCoreCache, newKey, cacheEntry, &status); in createInstance()
1263 if (cacheEntry != NULL) { in createInstance()
[all …]
Drulebasedcollator.cpp145 cacheEntry(other.cacheEntry), in RuleBasedCollator()
150 cacheEntry->addRef(); in RuleBasedCollator()
158 cacheEntry(NULL), in RuleBasedCollator()
188 cacheEntry(entry), in RuleBasedCollator()
193 cacheEntry->addRef(); in RuleBasedCollator()
198 SharedObject::clearPtr(cacheEntry); in ~RuleBasedCollator()
207 U_ASSERT(settings == NULL && data == NULL && tailoring == NULL && cacheEntry == NULL); in adoptTailoring()
208 cacheEntry = new CollationCacheEntry(t->actualLocale, t); in adoptTailoring()
209 if(cacheEntry == NULL) { in adoptTailoring()
218 cacheEntry->addRef(); in adoptTailoring()
[all …]
Dcollationbuilder.cpp89 cacheEntry(NULL), in RuleBasedCollator()
99 cacheEntry(NULL), in RuleBasedCollator()
111 cacheEntry(NULL), in RuleBasedCollator()
124 cacheEntry(NULL), in RuleBasedCollator()
138 cacheEntry(NULL), in RuleBasedCollator()
151 cacheEntry(NULL), in RuleBasedCollator()
/third_party/node/deps/icu-small/source/i18n/
Dtznames.cpp152 TimeZoneNamesCacheEntry *cacheEntry = nullptr; in TimeZoneNamesDelegate() local
155 cacheEntry = (TimeZoneNamesCacheEntry *)uhash_get(gTimeZoneNamesCache, key); in TimeZoneNamesDelegate()
156 if (cacheEntry == nullptr) { in TimeZoneNamesDelegate()
173 cacheEntry = (TimeZoneNamesCacheEntry *)uprv_malloc(sizeof(TimeZoneNamesCacheEntry)); in TimeZoneNamesDelegate()
174 if (cacheEntry == nullptr) { 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 != nullptr) { in TimeZoneNamesDelegate()
[all …]
Dtzgnames.cpp1204 TZGNCoreRef *cacheEntry = nullptr; in createInstance() local
1224 cacheEntry = (TZGNCoreRef *)uhash_get(gTZGNCoreCache, key); in createInstance()
1225 if (cacheEntry == nullptr) { in createInstance()
1242 cacheEntry = (TZGNCoreRef *)uprv_malloc(sizeof(TZGNCoreRef)); in createInstance()
1243 if (cacheEntry == nullptr) { in createInstance()
1246 cacheEntry->obj = tzgnCore; in createInstance()
1247 cacheEntry->refCount = 1; in createInstance()
1248 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in createInstance()
1250 uhash_put(gTZGNCoreCache, newKey, cacheEntry, &status); in createInstance()
1260 if (cacheEntry != nullptr) { in createInstance()
[all …]
Drulebasedcollator.cpp147 cacheEntry(other.cacheEntry), in RuleBasedCollator()
152 cacheEntry->addRef(); in RuleBasedCollator()
160 cacheEntry(nullptr), in RuleBasedCollator()
190 cacheEntry(entry), in RuleBasedCollator()
195 cacheEntry->addRef(); in RuleBasedCollator()
200 SharedObject::clearPtr(cacheEntry); in ~RuleBasedCollator()
209 … U_ASSERT(settings == nullptr && data == nullptr && tailoring == nullptr && cacheEntry == nullptr); in adoptTailoring()
210 cacheEntry = new CollationCacheEntry(t->actualLocale, t); in adoptTailoring()
211 if(cacheEntry == nullptr) { in adoptTailoring()
220 cacheEntry->addRef(); in adoptTailoring()
[all …]
Dcollationbuilder.cpp89 cacheEntry(nullptr), in RuleBasedCollator()
99 cacheEntry(nullptr), in RuleBasedCollator()
111 cacheEntry(nullptr), in RuleBasedCollator()
124 cacheEntry(nullptr), in RuleBasedCollator()
138 cacheEntry(nullptr), in RuleBasedCollator()
151 cacheEntry(nullptr), in RuleBasedCollator()
/third_party/icu/icu4c/source/i18n/
Dtznames.cpp152 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()
[all …]
Dtzgnames.cpp1204 TZGNCoreRef *cacheEntry = NULL; in createInstance() local
1224 cacheEntry = (TZGNCoreRef *)uhash_get(gTZGNCoreCache, key); in createInstance()
1225 if (cacheEntry == NULL) { in createInstance()
1242 cacheEntry = (TZGNCoreRef *)uprv_malloc(sizeof(TZGNCoreRef)); in createInstance()
1243 if (cacheEntry == NULL) { in createInstance()
1246 cacheEntry->obj = tzgnCore; in createInstance()
1247 cacheEntry->refCount = 1; in createInstance()
1248 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in createInstance()
1250 uhash_put(gTZGNCoreCache, newKey, cacheEntry, &status); in createInstance()
1260 if (cacheEntry != NULL) { in createInstance()
[all …]
Drulebasedcollator.cpp145 cacheEntry(other.cacheEntry), in RuleBasedCollator()
150 cacheEntry->addRef(); in RuleBasedCollator()
158 cacheEntry(NULL), in RuleBasedCollator()
188 cacheEntry(entry), in RuleBasedCollator()
193 cacheEntry->addRef(); in RuleBasedCollator()
198 SharedObject::clearPtr(cacheEntry); in ~RuleBasedCollator()
207 U_ASSERT(settings == NULL && data == NULL && tailoring == NULL && cacheEntry == NULL); in adoptTailoring()
208 cacheEntry = new CollationCacheEntry(t->actualLocale, t); in adoptTailoring()
209 if(cacheEntry == NULL) { in adoptTailoring()
218 cacheEntry->addRef(); in adoptTailoring()
[all …]
Dcollationbuilder.cpp89 cacheEntry(NULL), in RuleBasedCollator()
99 cacheEntry(NULL), in RuleBasedCollator()
111 cacheEntry(NULL), in RuleBasedCollator()
124 cacheEntry(NULL), in RuleBasedCollator()
138 cacheEntry(NULL), in RuleBasedCollator()
151 cacheEntry(NULL), in RuleBasedCollator()
/third_party/icu/icu4c/source/common/
Ducurr.cpp1443 CurrencyNameCacheEntry* cacheEntry = NULL; in getCacheEntry() local
1457 cacheEntry = currCache[found]; in getCacheEntry()
1458 ++(cacheEntry->refCount); in getCacheEntry()
1481 cacheEntry = currCache[currentCacheEntryIndex]; in getCacheEntry()
1482 if (cacheEntry) { in getCacheEntry()
1483 --(cacheEntry->refCount); in getCacheEntry()
1485 if (cacheEntry->refCount == 0) { in getCacheEntry()
1486 deleteCacheEntry(cacheEntry); in getCacheEntry()
1489 cacheEntry = (CurrencyNameCacheEntry*)uprv_malloc(sizeof(CurrencyNameCacheEntry)); in getCacheEntry()
1490 currCache[currentCacheEntryIndex] = cacheEntry; in getCacheEntry()
[all …]
/third_party/node/deps/icu-small/source/common/
Ducurr.cpp1469 CurrencyNameCacheEntry* cacheEntry = nullptr; in getCacheEntry() local
1483 cacheEntry = currCache[found]; in getCacheEntry()
1484 ++(cacheEntry->refCount); in getCacheEntry()
1507 cacheEntry = currCache[currentCacheEntryIndex]; in getCacheEntry()
1508 if (cacheEntry) { in getCacheEntry()
1509 --(cacheEntry->refCount); in getCacheEntry()
1511 if (cacheEntry->refCount == 0) { in getCacheEntry()
1512 deleteCacheEntry(cacheEntry); in getCacheEntry()
1515 cacheEntry = (CurrencyNameCacheEntry*)uprv_malloc(sizeof(CurrencyNameCacheEntry)); in getCacheEntry()
1516 currCache[currentCacheEntryIndex] = cacheEntry; in getCacheEntry()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Ducurr.cpp1420 CurrencyNameCacheEntry* cacheEntry = NULL; in getCacheEntry() local
1434 cacheEntry = currCache[found]; in getCacheEntry()
1435 ++(cacheEntry->refCount); in getCacheEntry()
1458 cacheEntry = currCache[currentCacheEntryIndex]; in getCacheEntry()
1459 if (cacheEntry) { in getCacheEntry()
1460 --(cacheEntry->refCount); in getCacheEntry()
1462 if (cacheEntry->refCount == 0) { in getCacheEntry()
1463 deleteCacheEntry(cacheEntry); in getCacheEntry()
1466 cacheEntry = (CurrencyNameCacheEntry*)uprv_malloc(sizeof(CurrencyNameCacheEntry)); in getCacheEntry()
1467 currCache[currentCacheEntryIndex] = cacheEntry; in getCacheEntry()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DVertexRoutine.cpp71 Pointer<Byte> cacheEntry = vertexCache + cacheIndex * UInt((int)sizeof(Vertex)); in generate()
76 writeVertex(vertex, cacheEntry); in generate()
697 void VertexRoutine::writeVertex(const Pointer<Byte> &vertex, Pointer<Byte> &cacheEntry) in writeVertex() argument
699 …*Pointer<Int4>(vertex + OFFSET(Vertex, position)) = *Pointer<Int4>(cacheEntry + OFFSET(Vertex, pos… in writeVertex()
700 …*Pointer<Int>(vertex + OFFSET(Vertex, pointSize)) = *Pointer<Int>(cacheEntry + OFFSET(Vertex, poin… in writeVertex()
702 …*Pointer<Int>(vertex + OFFSET(Vertex, clipFlags)) = *Pointer<Int>(cacheEntry + OFFSET(Vertex, clip… in writeVertex()
703 …*Pointer<Int>(vertex + OFFSET(Vertex, cullMask)) = *Pointer<Int>(cacheEntry + OFFSET(Vertex, cullM… in writeVertex()
704 …*Pointer<Int4>(vertex + OFFSET(Vertex, projected)) = *Pointer<Int4>(cacheEntry + OFFSET(Vertex, pr… in writeVertex()
710 …*Pointer<Int>(vertex + OFFSET(Vertex, v[i]), 4) = *Pointer<Int>(cacheEntry + OFFSET(Vertex, v[i]),… in writeVertex()
715 …*Pointer<Float>(vertex + OFFSET(Vertex, clipDistance[i]), 4) = *Pointer<Float>(cacheEntry + OFFSET… in writeVertex()
[all …]
DVertexRoutine.hpp81 void writeVertex(const Pointer<Byte> &vertex, Pointer<Byte> &cacheEntry);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DBuffer11.cpp861 BufferCacheEntry *cacheEntry = &mConstantBufferRangeStoragesCache[offset]; in getConstantBufferRangeStorage() local
863 if (!cacheEntry->storage) in getConstantBufferRangeStorage()
865 cacheEntry->storage = allocateStorage(BUFFER_USAGE_UNIFORM); in getConstantBufferRangeStorage()
866 cacheEntry->lruCount = ++mMaxConstantBufferLruCount; in getConstantBufferRangeStorage()
869 cacheEntry->lruCount = ++mMaxConstantBufferLruCount; in getConstantBufferRangeStorage()
870 newStorage = cacheEntry->storage; in getConstantBufferRangeStorage()
925 BufferCacheEntry *cacheEntry = &mStructuredBufferRangeStoragesCache[structuredBufferKey]; in getStructuredBufferRangeSRV() local
927 if (!cacheEntry->storage) in getStructuredBufferRangeSRV()
929 cacheEntry->storage = allocateStorage(BUFFER_USAGE_STRUCTURED); in getStructuredBufferRangeSRV()
930 cacheEntry->lruCount = ++mMaxStructuredBufferLruCount; in getStructuredBufferRangeSRV()
[all …]
/third_party/skia/src/gpu/gradients/
DGrGradientShader.cpp262 EffectCacheEntry* cacheEntry = &effectCache[cacheIndex]; in make_looping_colorizer() local
264 cacheEntry->once([intervalCount, intervalChunks, cacheEntry] { in make_looping_colorizer()
323 cacheEntry->effect = std::move(result.effect); in make_looping_colorizer()
326 return GrSkSLFP::Make(cacheEntry->effect, "LoopingBinaryColorizer", in make_looping_colorizer()
/third_party/icu/icu4c/source/i18n/unicode/
Dtblcoll.h873 const CollationCacheEntry *cacheEntry; // reference-counted variable
/third_party/node/deps/icu-small/source/i18n/unicode/
Dtblcoll.h873 const CollationCacheEntry *cacheEntry; // reference-counted variable
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dtblcoll.h873 const CollationCacheEntry *cacheEntry; // reference-counted variable