Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dbytestream.cpp17 char* ByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument
21 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer()
66 char* CheckedArrayByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument
71 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer()
76 if (available >= min_capacity) { in GetAppendBuffer()
/external/v8/src/
Dcollector.h133 void Grow(int min_capacity) { in Grow() argument
139 new_capacity = min_capacity * growth_factor; in Grow()
147 if (new_capacity < min_capacity) { in Grow()
148 new_capacity = min_capacity + growth; in Grow()
152 DCHECK(index_ + min_capacity <= current_chunk_.length()); in Grow()
/external/icu/icu4c/source/common/unicode/
Dbytestream.h113 virtual char* GetAppendBuffer(int32_t min_capacity,
189 virtual char* GetAppendBuffer(int32_t min_capacity,
/external/icu/icu4c/source/i18n/
Dcollationkeys.cpp59 SortKeyByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument
64 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer()
74 if (available >= min_capacity) { in GetAppendBuffer()
Dcollationkeys.h52 virtual char *GetAppendBuffer(int32_t min_capacity,
/external/libevent/
Dht-internal.h130 int name##_HT_GROW(struct name *ht, unsigned min_capacity); \
/external/v8/src/parsing/
Dscanner.cc69 int Scanner::LiteralBuffer::NewCapacity(int min_capacity) { in NewCapacity() argument
70 int capacity = Max(min_capacity, backing_store_.length()); in NewCapacity()
Dscanner.h442 int NewCapacity(int min_capacity);