Searched refs:ensureCapacity (Results 1 - 25 of 51) sorted by relevance

123

/macosx-10.10.1/ICU-531.30/icuSources/test/perf/usetperf/
H A Dbitset.h21 void ensureCapacity(uint32_t minLen);
H A Dbitset.cpp41 ensureCapacity(longIndex+1);
50 void BitSet::ensureCapacity(uint32_t minLen) { function in class:BitSet
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Dcharstr.cpp23 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) {
41 if(ensureCapacity(len+2, 0, errorCode)) {
74 } else if(ensureCapacity(len+sLength+1, 0, errorCode)) {
95 if(ensureCapacity(len+minCapacity+1, len+desiredCapacityHint+1, errorCode)) {
104 if(ensureCapacity(len+s.length()+1, 0, errorCode)) {
110 UBool CharString::ensureCapacity(int32_t capacity, function in class:CharString
H A Duvectr32.h129 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
131 // Out-of-line, handles actual growth. Called by ensureCapacity() when necessary.
213 inline UBool UVector32::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { function in class:UVector32
227 if (ensureCapacity(count + 1, status)) {
234 if (ensureCapacity(count+size, status) == FALSE) {
H A Duvectr64.h128 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
130 // Out-of-line, handles actual growth. Called by ensureCapacity() when necessary.
202 inline UBool UVector64::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { function in class:UVector64
216 if (ensureCapacity(count + 1, status)) {
223 if (ensureCapacity(count+size, status) == FALSE) {
H A Duvectr64.cpp72 if (ensureCapacity(other.count, ec)) {
102 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) {
198 if (!ensureCapacity(newSize, ec)) {
H A Duvector.cpp97 if (ensureCapacity(other.count, ec)) {
126 if (ensureCapacity(count + 1, status)) {
132 if (ensureCapacity(count + 1, status)) {
163 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) {
175 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) {
329 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { function in class:UVector
372 if (!ensureCapacity(newSize, status)) {
475 if (ensureCapacity(count + 1, ec)) {
H A Dsimplepatternformatter.h147 int32_t ensureCapacity(int32_t size);
H A Duvectr32.cpp75 if (ensureCapacity(other.count, ec)) {
105 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) {
280 if (!ensureCapacity(newSize, ec)) {
316 if (ensureCapacity(count + 1, ec)) {
H A Dcharstr.h121 UBool ensureCapacity(int32_t capacity, int32_t desiredCapacityHint, UErrorCode &errorCode);
H A Dsimplepatternformatter.cpp82 placeholderSize = ensureCapacity(other.placeholderSize);
96 placeholderSize = ensureCapacity(other.placeholderSize);
302 int32_t SimplePatternFormatter::ensureCapacity(int32_t atLeast) { function in class:SimplePatternFormatter
330 if (ensureCapacity(placeholderSize + 1) < placeholderSize + 1) {
/macosx-10.10.1/ICU-531.30/icuSources/test/intltest/
H A Dtextfile.h57 UBool ensureCapacity(int32_t capacity);
H A Dtextfile.cpp53 if (!ensureCapacity((int32_t)(uprv_strlen(testDir) + uprv_strlen(name) + 1))) {
80 // Note: 'buffer' may change after ensureCapacity() is called,
134 if (!ensureCapacity(index+1)) {
149 UBool TextFile::ensureCapacity(int32_t mincapacity) { function in class:TextFile
/macosx-10.10.1/xnu-2782.1.97/libkern/libkern/c++/
H A DOSCollection.h306 * //apple_ref/cpp/instm/OSCollection/ensureCapacity/virtualunsignedint/(unsignedint)
307 * ensureCapacity@/link</code>
337 * //apple_ref/cpp/instm/OSCollection/ensureCapacity/virtualunsignedint/(unsignedint)
338 * ensureCapacity@/link
345 * @function ensureCapacity
374 virtual unsigned int ensureCapacity(unsigned int newCapacity) = 0;
H A DOSArray.h349 * //apple_ref/cpp/instm/OSArray/ensureCapacity/virtualunsignedint/(unsignedint)
350 * <code>ensureCapacity</code>.@/link
390 * @function ensureCapacity
412 virtual unsigned int ensureCapacity(unsigned int newCapacity);
478 * //apple_ref/cpp/instm/OSArray/ensureCapacity/virtualunsignedint/(unsignedint)
479 * ensureCapacity@/link</code>.
H A DOSData.h423 * //apple_ref/cpp/instm/OSData/ensureCapacity/virtualunsignedint/(unsignedint)
424 * ensureCapacity@/link</code>.
473 * @function ensureCapacity
497 virtual unsigned int ensureCapacity(unsigned int newCapacity);
H A DOSOrderedSet.h287 * //apple_ref/cpp/instm/OSOrderedSet/ensureCapacity/virtualunsignedint/(unsignedint)
288 * ensureCapacity@/link</code>.
328 * @function ensureCapacity
350 virtual unsigned int ensureCapacity(unsigned int newCapacity);
H A DOSSerialize.h307 virtual unsigned int ensureCapacity(unsigned int newCapacity);
H A DOSSet.h427 * //apple_ref/cpp/instm/OSSet/ensureCapacity/virtualunsignedint/(unsignedint)
428 * ensureCapacity@/link</code>.
468 * @function ensureCapacity
489 virtual unsigned int ensureCapacity(unsigned int newCapacity);
/macosx-10.10.1/ICU-531.30/icuSources/layoutex/
H A DRunArrays.cpp35 le_int32 RunArray::ensureCapacity() function in class:RunArray
66 le_int32 index = ensureCapacity();
/macosx-10.10.1/xnu-2782.1.97/libkern/c++/
H A DOSSerialize.cpp151 if (length >= capacity && length >=ensureCapacity(capacity+capacityIncrement))
222 unsigned int OSSerialize::ensureCapacity(unsigned int newCapacity) function in class:OSSerialize
H A DOSArray.cpp191 unsigned int OSArray::ensureCapacity(unsigned int newCapacity) function in class:OSArray
251 if (newCount > capacity && newCount > ensureCapacity(newCount))
275 if (newCount > capacity && newCount > ensureCapacity(newCount))
H A DOSData.cpp218 unsigned int OSData::ensureCapacity(unsigned int newCapacity) function in class:OSData
260 if ( (newSize > capacity) && newSize > ensureCapacity(newSize) )
284 if ( (newSize > capacity) && newSize > ensureCapacity(newSize) )
/macosx-10.10.1/IOFireWireFamily-456/IOFireWireFamily.kmodproj/
H A DIOFireWireROMCache.h113 @function ensureCapacity
119 virtual unsigned int ensureCapacity(unsigned int newCapacity);
/macosx-10.10.1/ICU-531.30/icuSources/i18n/
H A Dcollationkeys.cpp119 UBool ensureCapacity(int32_t appendCapacity);
126 if(len < buffer.getCapacity() || ensureCapacity(1)) {
137 if((len + appendLength) <= buffer.getCapacity() || ensureCapacity(appendLength)) {
150 if((len + appendLength) <= buffer.getCapacity() || ensureCapacity(appendLength)) {
170 if((len + appendLength) <= buffer.getCapacity() || ensureCapacity(appendLength)) {
181 UBool SortKeyLevel::ensureCapacity(int32_t appendCapacity) { function in class:__anon925::SortKeyLevel

Completed in 220 milliseconds

123