Home
last modified time | relevance | path

Searched refs:maxCapacity (Results 1 – 25 of 30) sorted by relevance

12

/third_party/node/deps/icu-small/source/common/
Duvectr64.cpp29 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
38 maxCapacity(0), in UVector64()
51 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
52 initialCapacity = maxCapacity; in _init()
55 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
129 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
141 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
142 newCap = maxCapacity; in expandCapacity()
169 maxCapacity = limit; in setMaxCapacity()
170 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
[all …]
Duvectr32.cpp32 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
41 maxCapacity(0), in UVector32()
54 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
55 initialCapacity = maxCapacity; in _init()
58 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
211 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
223 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
224 newCap = maxCapacity; in expandCapacity()
251 maxCapacity = limit; in setMaxCapacity()
252 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
[all …]
Dputilimp.h561 int32_t maxCapacity = (int32_t)(maxBytes / sizeof(T)); in pinCapacity() local
562 return capacity <= maxCapacity ? capacity : maxCapacity; in pinCapacity()
Duvectr64.h66 int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow. variable
/third_party/skia/third_party/externals/icu/source/common/
Duvectr64.cpp29 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
38 maxCapacity(0), in UVector64()
51 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
52 initialCapacity = maxCapacity; in _init()
55 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
129 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
141 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
142 newCap = maxCapacity; in expandCapacity()
169 maxCapacity = limit; in setMaxCapacity()
170 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
[all …]
Duvectr32.cpp32 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
41 maxCapacity(0), in UVector32()
54 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
55 initialCapacity = maxCapacity; in _init()
58 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
211 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
223 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
224 newCap = maxCapacity; in expandCapacity()
251 maxCapacity = limit; in setMaxCapacity()
252 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
[all …]
Dputilimp.h561 int32_t maxCapacity = (int32_t)(maxBytes / sizeof(T)); in pinCapacity() local
562 return capacity <= maxCapacity ? capacity : maxCapacity; in pinCapacity()
Duvectr64.h66 int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow. variable
/third_party/flutter/skia/third_party/externals/icu/source/common/
Duvectr64.cpp29 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
38 maxCapacity(0), in UVector64()
51 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
52 initialCapacity = maxCapacity; in _init()
55 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
129 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
141 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
142 newCap = maxCapacity; in expandCapacity()
169 maxCapacity = limit; in setMaxCapacity()
170 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
[all …]
Duvectr32.cpp32 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
41 maxCapacity(0), in UVector32()
54 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
55 initialCapacity = maxCapacity; in _init()
58 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
211 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
223 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
224 newCap = maxCapacity; in expandCapacity()
251 maxCapacity = limit; in setMaxCapacity()
252 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
[all …]
Dputilimp.h615 int32_t maxCapacity = (int32_t)(maxBytes / sizeof(T)); in pinCapacity() local
616 return capacity <= maxCapacity ? capacity : maxCapacity; in pinCapacity()
/third_party/icu/icu4c/source/common/
Duvectr64.cpp29 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
38 maxCapacity(0), in UVector64()
51 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
52 initialCapacity = maxCapacity; in _init()
55 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
129 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
141 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
142 newCap = maxCapacity; in expandCapacity()
169 maxCapacity = limit; in setMaxCapacity()
170 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
[all …]
Duvectr32.cpp32 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
41 maxCapacity(0), in UVector32()
54 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
55 initialCapacity = maxCapacity; in _init()
58 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
211 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
223 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
224 newCap = maxCapacity; in expandCapacity()
251 maxCapacity = limit; in setMaxCapacity()
252 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
[all …]
Dputilimp.h561 int32_t maxCapacity = (int32_t)(maxBytes / sizeof(T)); in pinCapacity() local
562 return capacity <= maxCapacity ? capacity : maxCapacity; in pinCapacity()
Duvectr64.h66 int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow. variable
/third_party/icu/icu4c/source/tools/toolutil/
Dtoolutil.cpp243 int32_t capacity, maxCapacity, size, idx; member
249 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size) { in utm_open() argument
252 if(maxCapacity<initialCapacity) { in utm_open()
253 maxCapacity=initialCapacity; in utm_open()
265 mem->maxCapacity=maxCapacity; in utm_open()
298 if(mem->maxCapacity<capacity) { in utm_hasCapacity()
300 mem->name, (long)mem->maxCapacity); in utm_hasCapacity()
307 } else if(mem->capacity<=mem->maxCapacity/3) { in utm_hasCapacity()
310 newCapacity=mem->maxCapacity; in utm_hasCapacity()
Dtoolutil.h160 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size);
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/
Dtoolutil.cpp244 int32_t capacity, maxCapacity, size, idx; member
250 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size) { in utm_open() argument
253 if(maxCapacity<initialCapacity) { in utm_open()
254 maxCapacity=initialCapacity; in utm_open()
266 mem->maxCapacity=maxCapacity; in utm_open()
299 if(mem->maxCapacity<capacity) { in utm_hasCapacity()
301 mem->name, (long)mem->maxCapacity); in utm_hasCapacity()
308 } else if(mem->capacity<=mem->maxCapacity/3) { in utm_hasCapacity()
311 newCapacity=mem->maxCapacity; in utm_hasCapacity()
Dtoolutil.h154 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size);
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Dtoolutil.cpp243 int32_t capacity, maxCapacity, size, idx; member
249 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size) { in utm_open() argument
252 if(maxCapacity<initialCapacity) { in utm_open()
253 maxCapacity=initialCapacity; in utm_open()
265 mem->maxCapacity=maxCapacity; in utm_open()
298 if(mem->maxCapacity<capacity) { in utm_hasCapacity()
300 mem->name, (long)mem->maxCapacity); in utm_hasCapacity()
307 } else if(mem->capacity<=mem->maxCapacity/3) { in utm_hasCapacity()
310 newCapacity=mem->maxCapacity; in utm_hasCapacity()
Dtoolutil.h160 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size);
/third_party/node/deps/icu-small/source/tools/toolutil/
Dtoolutil.cpp267 int32_t capacity, maxCapacity, size, idx; member
273 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size) { in utm_open() argument
276 if(maxCapacity<initialCapacity) { in utm_open()
277 maxCapacity=initialCapacity; in utm_open()
289 mem->maxCapacity=maxCapacity; in utm_open()
322 if(mem->maxCapacity<capacity) { in utm_hasCapacity()
324 mem->name, (long)mem->maxCapacity); in utm_hasCapacity()
331 } else if(mem->capacity<=mem->maxCapacity/3) { in utm_hasCapacity()
334 newCapacity=mem->maxCapacity; in utm_hasCapacity()
Dtoolutil.h175 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size);
/third_party/flutter/engine/flutter/third_party/txt/src/utils/
DLruCache.h40 explicit LruCache(uint32_t maxCapacity);
166 LruCache<TKey, TValue>::LruCache(uint32_t maxCapacity) in LruCache() argument
171 mMaxCapacity(maxCapacity), in LruCache()
/third_party/flutter/txt/src/utils/
DLruCache.h40 explicit LruCache(uint32_t maxCapacity);
166 LruCache<TKey, TValue>::LruCache(uint32_t maxCapacity) in LruCache() argument
171 mMaxCapacity(maxCapacity), in LruCache()

12