Home
last modified time | relevance | path

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

/external/icu4c/common/
Duvectr64.cpp27 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
36 maxCapacity(0), in UVector64()
49 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
50 initialCapacity = maxCapacity; in _init()
53 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
124 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
136 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
137 newCap = maxCapacity; in expandCapacity()
164 maxCapacity = limit; in setMaxCapacity()
165 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
[all …]
Duvectr32.cpp30 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
39 maxCapacity(0), in UVector32()
52 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
53 initialCapacity = maxCapacity; in _init()
56 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
206 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
218 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
219 newCap = maxCapacity; in expandCapacity()
246 maxCapacity = limit; in setMaxCapacity()
247 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
[all …]
Duvectr64.h64 int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow. variable
Duvectr32.h65 int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow. variable
/external/icu4c/tools/toolutil/
Dtoolutil.cpp212 int32_t capacity, maxCapacity, size, idx; member
218 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size) { in utm_open() argument
221 if(maxCapacity<initialCapacity) { in utm_open()
222 maxCapacity=initialCapacity; in utm_open()
234 mem->maxCapacity=maxCapacity; in utm_open()
267 if(mem->maxCapacity<capacity) { in utm_hasCapacity()
269 mem->name, (long)mem->maxCapacity); in utm_hasCapacity()
276 } else if(mem->capacity<=mem->maxCapacity/3) { in utm_hasCapacity()
279 newCapacity=mem->maxCapacity; in utm_hasCapacity()
Dtoolutil.h141 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size);
/external/webkit/Source/WebCore/inspector/
DEventsCollector.h45 static const size_t maxCapacity = 1024*1024; // 1 Mb
DEventsCollector.cpp45 while (m_totalLength > maxCapacity) { in addEvent()