/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
H A D | IntArray.java | 35 * get dynamic sizing. Make sure to call ensureCapacity() when you are 50 ensureCapacity(p+1); 73 public void ensureCapacity(int index) { method in class:IntArray
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
H A D | IntArray.m | 35 * get dynamic sizing. Make sure to call ensureCapacity() when you are 50 ensureCapacity(p+1); 73 public void ensureCapacity(int index) {
|
H A D | IntArray.h | 35 * get dynamic sizing. Make sure to call ensureCapacity() when you are 50 ensureCapacity(p+1); 73 public void ensureCapacity(int index) { function in class:IntArray
|
/external/icu/icu4c/source/test/perf/usetperf/ |
H A D | bitset.h | 25 void ensureCapacity(uint32_t minLen);
|
H A D | bitset.cpp | 45 ensureCapacity(longIndex+1); 54 void BitSet::ensureCapacity(uint32_t minLen) { function in class:BitSet
|
/external/icu/icu4c/source/common/ |
H A D | charstr.cpp | 26 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) { 53 if(ensureCapacity(len+2, 0, errorCode)) { 86 } else if(ensureCapacity(len+sLength+1, 0, errorCode)) { 107 if(ensureCapacity(len+minCapacity+1, len+desiredCapacityHint+1, errorCode)) { 123 if(ensureCapacity(len+s.length()+1, 0, errorCode)) { 129 UBool CharString::ensureCapacity(int32_t capacity, function in class:CharString
|
H A D | uvectr32.h | 131 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status); 133 // Out-of-line, handles actual growth. Called by ensureCapacity() when necessary. 215 inline UBool UVector32::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { function in class:UVector32 229 if (ensureCapacity(count + 1, status)) { 236 if (ensureCapacity(count+size, status) == FALSE) {
|
H A D | uvectr64.h | 130 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status); 132 // Out-of-line, handles actual growth. Called by ensureCapacity() when necessary. 204 inline UBool UVector64::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { function in class:UVector64 218 if (ensureCapacity(count + 1, status)) { 225 if (ensureCapacity(count+size, status) == FALSE) {
|
H A D | uvectr64.cpp | 74 if (ensureCapacity(other.count, ec)) { 104 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { 203 if (!ensureCapacity(newSize, ec)) {
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
H A D | IntArrayList.java | 70 ensureCapacity(newSize); 76 ensureCapacity((elements.length * 3)/2 + 1); 89 public void ensureCapacity(int newCapacity) { method in class:IntArrayList
|
/external/icu/icu4c/source/test/intltest/ |
H A D | textfile.h | 59 UBool ensureCapacity(int32_t capacity);
|
H A D | textfile.cpp | 55 if (!ensureCapacity((int32_t)(uprv_strlen(testDir) + uprv_strlen(name) + 1))) { 82 // Note: 'buffer' may change after ensureCapacity() is called, 136 if (!ensureCapacity(index+1)) { 151 UBool TextFile::ensureCapacity(int32_t mincapacity) { function in class:TextFile
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
H A D | ByteBuffer.java | 88 ensureCapacity(length + chunk); 184 ensureCapacity(length + 1); 198 ensureCapacity(length + len); 317 private void ensureCapacity(int requestedLength) method in class:ByteBuffer
|
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/ |
H A D | Pool.java | 47 public void ensureCapacity(int minCapacity) { method in class:Pool 48 objects.ensureCapacity(minCapacity);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | SimpleFormatterImpl.java | 88 sb.ensureCapacity(patternLength);
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
H A D | BytesTrieBuilder.java | 157 private void ensureCapacity(int length) { method in class:BytesTrieBuilder 178 ensureCapacity(newLength); 192 ensureCapacity(newLength); 203 ensureCapacity(newLength);
|
H A D | CharsTrieBuilder.java | 135 private void ensureCapacity(int length) { method in class:CharsTrieBuilder 156 ensureCapacity(newLength); 170 ensureCapacity(newLength); 181 ensureCapacity(newLength);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | SimpleFormatterImpl.java | 86 sb.ensureCapacity(patternLength);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | BytesTrieBuilder.java | 161 private void ensureCapacity(int length) { method in class:BytesTrieBuilder 182 ensureCapacity(newLength); 196 ensureCapacity(newLength); 207 ensureCapacity(newLength);
|
H A D | CharsTrieBuilder.java | 139 private void ensureCapacity(int length) { method in class:CharsTrieBuilder 160 ensureCapacity(newLength); 174 ensureCapacity(newLength); 185 ensureCapacity(newLength);
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/ |
H A D | SourceNodeImpl.java | 53 public void ensureCapacity(final int first, final int last) { method in class:SourceNodeImpl 93 ensureCapacity(firstLine, lastLine); 125 ensureCapacity(line, line);
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
H A D | BooleansTest.java | 115 assertSame(EMPTY, Booleans.ensureCapacity(EMPTY, 0, 1)); 116 assertSame(ARRAY_FALSE, Booleans.ensureCapacity(ARRAY_FALSE, 0, 1)); 117 assertSame(ARRAY_FALSE, Booleans.ensureCapacity(ARRAY_FALSE, 1, 1)); 120 Booleans.ensureCapacity(new boolean[] {true}, 2, 1))); 125 Booleans.ensureCapacity(ARRAY_FALSE, -1, 1); 131 Booleans.ensureCapacity(ARRAY_FALSE, 1, -1);
|
H A D | BytesTest.java | 138 assertSame(EMPTY, Bytes.ensureCapacity(EMPTY, 0, 1)); 139 assertSame(ARRAY1, Bytes.ensureCapacity(ARRAY1, 0, 1)); 140 assertSame(ARRAY1, Bytes.ensureCapacity(ARRAY1, 1, 1)); 143 Bytes.ensureCapacity(ARRAY1, 2, 1))); 148 Bytes.ensureCapacity(ARRAY1, -1, 1); 154 Bytes.ensureCapacity(ARRAY1, 1, -1);
|
H A D | CharsTest.java | 216 assertSame(EMPTY, Chars.ensureCapacity(EMPTY, 0, 1)); 217 assertSame(ARRAY1, Chars.ensureCapacity(ARRAY1, 0, 1)); 218 assertSame(ARRAY1, Chars.ensureCapacity(ARRAY1, 1, 1)); 221 Chars.ensureCapacity(ARRAY1, 2, 1))); 226 Chars.ensureCapacity(ARRAY1, -1, 1); 232 Chars.ensureCapacity(ARRAY1, 1, -1);
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
H A D | BytesTest.java | 140 assertSame(EMPTY, Bytes.ensureCapacity(EMPTY, 0, 1)); 141 assertSame(ARRAY1, Bytes.ensureCapacity(ARRAY1, 0, 1)); 142 assertSame(ARRAY1, Bytes.ensureCapacity(ARRAY1, 1, 1)); 145 Bytes.ensureCapacity(ARRAY1, 2, 1))); 150 Bytes.ensureCapacity(ARRAY1, -1, 1); 156 Bytes.ensureCapacity(ARRAY1, 1, -1);
|