Home
last modified time | relevance | path

Searched refs:maxStates (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DSizedMRUCache.h147 void TrimCache(size_t maxStates, size_t gcLimit, const char *name, T *cache) in TrimCache() argument
149 const size_t kGarbageCollectionLimit = maxStates / 2 + gcLimit; in TrimCache()
153 WARN() << "Overflowed the " << name << " cache limit of " << (maxStates / 2) in TrimCache()
155 cache->ShrinkToSize(maxStates / 2); in TrimCache()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DSizedMRUCache.h144 void TrimCache(size_t maxStates, size_t gcLimit, const char *name, T *cache) in TrimCache() argument
146 const size_t kGarbageCollectionLimit = maxStates / 2 + gcLimit; in TrimCache()
150 WARN() << "Overflowed the " << name << " cache limit of " << (maxStates / 2) in TrimCache()
152 cache->ShrinkToSize(maxStates / 2); in TrimCache()
/third_party/gettext/gnulib-local/lib/libxml/
Dxmlregexp.c288 int maxStates; member
1458 if (ctxt->maxStates == 0) { in xmlRegStatePush()
1459 ctxt->maxStates = 4; in xmlRegStatePush()
1460 ctxt->states = (xmlRegStatePtr *) xmlMalloc(ctxt->maxStates * in xmlRegStatePush()
1464 ctxt->maxStates = 0; in xmlRegStatePush()
1467 } else if (ctxt->nbStates >= ctxt->maxStates) { in xmlRegStatePush()
1469 ctxt->maxStates *= 2; in xmlRegStatePush()
1470 tmp = (xmlRegStatePtr *) xmlRealloc(ctxt->states, ctxt->maxStates * in xmlRegStatePush()
1474 ctxt->maxStates /= 2; in xmlRegStatePush()
/third_party/libxml2/
Dxmlregexp.c265 int maxStates; member
1461 if (ctxt->maxStates == 0) { in xmlRegStatePush()
1462 ctxt->maxStates = 4; in xmlRegStatePush()
1463 ctxt->states = (xmlRegStatePtr *) xmlMalloc(ctxt->maxStates * in xmlRegStatePush()
1467 ctxt->maxStates = 0; in xmlRegStatePush()
1470 } else if (ctxt->nbStates >= ctxt->maxStates) { in xmlRegStatePush()
1472 ctxt->maxStates *= 2; in xmlRegStatePush()
1473 tmp = (xmlRegStatePtr *) xmlRealloc(ctxt->states, ctxt->maxStates * in xmlRegStatePush()
1477 ctxt->maxStates /= 2; in xmlRegStatePush()