Home
last modified time | relevance | path

Searched refs:ensureCapacity (Results 1 – 19 of 19) sorted by relevance

/external/icu4c/common/
Duvector.cpp95 if (ensureCapacity(other.count, ec)) { in assign()
122 if (ensureCapacity(count + 1, status)) { in addElement()
128 if (ensureCapacity(count + 1, status)) { in addElement()
159 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt()
171 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt()
325 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function in UVector
359 if (!ensureCapacity(newSize, ec)) { in setSize()
462 if (ensureCapacity(count + 1, ec)) { in sortedInsert()
Duvectr32.h127 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
203 inline UBool UVector32::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function
217 if (ensureCapacity(count + 1, status)) { in addElement()
224 ensureCapacity(count+size, status); in reserveBlock()
Duvectr32.cpp66 if (ensureCapacity(other.count, ec)) { in assign()
96 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt()
223 if (!ensureCapacity(newSize, ec)) { in setSize()
259 if (ensureCapacity(count + 1, ec)) { in sortedInsert()
Duvector.h190 UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
Duniset.cpp245 ensureCapacity(o.len); in operator =()
856 ensureCapacity(len+1); in add()
897 ensureCapacity(len+2); in add()
1474 void UnicodeSet::ensureCapacity(int32_t newLen) { in ensureCapacity() function in UnicodeSet
/external/apache-http/src/org/apache/http/message/
DBasicLineFormatter.java131 result.ensureCapacity(len); in appendProtocolVersion()
207 buffer.ensureCapacity(len); in doFormatRequestLine()
268 buffer.ensureCapacity(len); in doFormatStatusLine()
336 buffer.ensureCapacity(len); in doFormatHeader()
DBasicHeaderValueFormatter.java119 buffer.ensureCapacity(len); in formatElements()
188 buffer.ensureCapacity(len); in formatHeaderElement()
276 buffer.ensureCapacity(len); in formatParameters()
344 buffer.ensureCapacity(len); in formatNameValuePair()
/external/icu4c/test/intltest/
Dtextfile.cpp53 if (!ensureCapacity((int32_t)(uprv_strlen(testDir) + uprv_strlen(name) + 1))) { in TextFile()
134 if (!ensureCapacity(index+1)) { in setBuffer()
148 UBool TextFile::ensureCapacity(int32_t mincapacity) { in ensureCapacity() function in TextFile
Dtextfile.h57 UBool ensureCapacity(int32_t capacity);
Dv32test.cpp327 TEST_ASSERT(a->ensureCapacity(5000, status)== TRUE); in UVector32_API()
486 a->ensureCapacity(1000, status); in UVector32_API()
/external/icu4c/test/perf/usetperf/
Dbitset.cpp41 ensureCapacity(longIndex+1); in set()
50 void BitSet::ensureCapacity(uint32_t minLen) { in ensureCapacity() function in BitSet
Dbitset.h21 void ensureCapacity(uint32_t minLen);
/external/icu4c/layoutex/
DRunArrays.cpp35 le_int32 RunArray::ensureCapacity() in ensureCapacity() function in RunArray
66 le_int32 index = ensureCapacity(); in add()
/external/icu4c/i18n/
Dsortkey.cpp155 ensureCapacity(other.fCount); in operator =()
304 CollationKey::ensureCapacity(int32_t newSize) in ensureCapacity() function in CollationKey
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DAttributesImpl.java390 ensureCapacity(length+1); in addAttribute()
574 private void ensureCapacity (int n) { in ensureCapacity() method in AttributesImpl
/external/icu4c/i18n/unicode/
Dsortkey.h261 CollationKey& ensureCapacity(int32_t newSize);
/external/apache-http/src/org/apache/http/util/
DCharArrayBuffer.java184 public void ensureCapacity(int required) { in ensureCapacity() method in CharArrayBuffer
/external/icu4c/layoutex/layout/
DRunArrays.h211 le_int32 ensureCapacity();
/external/icu4c/common/unicode/
Duniset.h1377 void ensureCapacity(int32_t newLen);