Searched defs:ensureCapacity (Results 1 - 25 of 62) sorted by relevance

123

/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
H A DIntArray.java35 * 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 DIntArray.h35 * 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/chromium_org/third_party/icu/source/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 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 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) {
/external/chromium_org/third_party/icu/source/test/intltest/
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
/external/chromium_org/third_party/icu/source/test/perf/usetperf/
H A Dbitset.cpp41 ensureCapacity(longIndex+1);
50 void BitSet::ensureCapacity(uint32_t minLen) { function in class:BitSet
/external/dexmaker/src/dx/java/com/android/dx/ssa/back/
H A DInterferenceGraph.java65 ensureCapacity(Math.max(regV, regW) + 1);
104 private void ensureCapacity(int size) { method in class:InterferenceGraph
107 interference.ensureCapacity(size);
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DBitIntSet.java40 ensureCapacity(value);
49 private void ensureCapacity(int value) { method in class:BitIntSet
74 ensureCapacity(Bits.getMax(o.bits) + 1);
81 ensureCapacity(o.ints.get(sz - 1));
H A DByteArrayAnnotatedOutput.java162 ensureCapacity(end);
178 ensureCapacity(end);
195 ensureCapacity(end);
214 ensureCapacity(end);
238 ensureCapacity(cursor + 5); // pessimistic
248 ensureCapacity(cursor + 5); // pessimistic
262 ensureCapacity(end);
286 ensureCapacity(end);
310 ensureCapacity(end);
335 ensureCapacity(en
536 private void ensureCapacity(int desiredSize) { method in class:ByteArrayAnnotatedOutput
[all...]
/external/icu/icu4c/source/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 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 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) {
/external/icu/icu4c/source/test/intltest/
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
/external/icu/icu4c/source/test/perf/usetperf/
H A Dbitset.cpp41 ensureCapacity(longIndex+1);
50 void BitSet::ensureCapacity(uint32_t minLen) { function in class:BitSet
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DIntArrayList.java70 ensureCapacity(newSize);
76 ensureCapacity((elements.length * 3)/2 + 1);
89 public void ensureCapacity(int newCapacity) { method in class:IntArrayList
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DByteBuffer.java88 ensureCapacity(length + chunk);
184 ensureCapacity(length + 1);
198 ensureCapacity(length + len);
317 private void ensureCapacity(int requestedLength) method in class:ByteBuffer
/external/apache-http/src/org/apache/http/util/
H A DCharArrayBuffer.java189 public void ensureCapacity(int required) { method in class:CharArrayBuffer
/external/icu/icu4c/source/layoutex/
H A DRunArrays.cpp35 le_int32 RunArray::ensureCapacity() function in class:RunArray
66 le_int32 index = ensureCapacity();
/external/smali/util/src/main/java/org/jf/util/
H A DSparseArray.java325 public void ensureCapacity(int capacity) { method in class:SparseArray
/external/tagsoup/src/org/ccil/cowan/tagsoup/
H A DAttributesImpl.java393 ensureCapacity(length+1);
578 private void ensureCapacity (int n) {
574 private void ensureCapacity (int n) { method in class:AttributesImpl
/external/guava/guava/src/com/google/common/primitives/
H A DBooleans.java216 public static boolean[] ensureCapacity( method in class:Booleans
H A DBytes.java196 public static byte[] ensureCapacity( method in class:Bytes
H A DChars.java334 public static char[] ensureCapacity( method in class:Chars
H A DDoubles.java273 public static double[] ensureCapacity( method in class:Doubles

Completed in 620 milliseconds

123