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

12

/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/icu4c/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/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/icu4c/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)) {
148 UBool TextFile::ensureCapacity(int32_t mincapacity) { function in class:TextFile
/external/icu4c/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/webkit/Source/JavaScriptCore/wtf/
H A DBumpPointerAllocator.h37 // ensureCapacity will check whether the current pool has capacity to
45 BumpPointerPool* ensureCapacity(size_t size) function in class:WTF::BumpPointerPool
54 // alloc should only be called after calling ensureCapacity; as such
/external/apache-http/src/org/apache/http/util/
H A DCharArrayBuffer.java184 public void ensureCapacity(int required) { method in class:CharArrayBuffer
/external/icu4c/i18n/
H A Dsortkey.cpp159 ensureCapacity(other.fCount);
308 CollationKey::ensureCapacity(int32_t newSize) function in class:CollationKey
/external/icu4c/layoutex/
H A DRunArrays.cpp35 le_int32 RunArray::ensureCapacity() function in class:RunArray
66 le_int32 index = ensureCapacity();
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
H A DCompactArray.java151 array = ensureCapacity(array, newSize);
175 protected float[] ensureCapacity(float[] arr, int size) { method in class:CompactArray
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
H A DSparseArray.java318 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
H A DFloats.java270 public static float[] ensureCapacity( method in class:Floats
H A DShorts.java340 public static short[] ensureCapacity( method in class:Shorts
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
H A DChars.java283 public static char[] ensureCapacity( method in class:Chars

Completed in 756 milliseconds

12