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

1234

/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.m35 * get dynamic sizing. Make sure to call ensureCapacity() when you are
50 ensureCapacity(p+1);
73 public void ensureCapacity(int index) {
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/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
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/
H A DFaceInfoVec.java51 super.ensureCapacity(i);
/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 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.cpp96 if (ensureCapacity(other.count, ec)) {
125 if (ensureCapacity(count + 1, status)) {
131 if (ensureCapacity(count + 1, status)) {
162 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) {
174 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) {
328 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { function in class:UVector
371 if (!ensureCapacity(newSize, status)) {
474 if (ensureCapacity(count + 1, ec)) {
/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/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.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)) {
148 UBool TextFile::ensureCapacity(int32_t mincapacity) { function in class:TextFile
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
H A DByteArrayOutput.java159 ensureCapacity(end);
175 ensureCapacity(end);
192 ensureCapacity(end);
211 ensureCapacity(end);
275 ensureCapacity(end);
299 ensureCapacity(end);
323 ensureCapacity(end);
342 ensureCapacity(end);
482 private void ensureCapacity(int desiredSize) { method in class:ByteArrayOutput
H A DByteArrayAnnotatedOutput.java164 ensureCapacity(end);
180 ensureCapacity(end);
197 ensureCapacity(end);
216 ensureCapacity(end);
281 ensureCapacity(end);
305 ensureCapacity(end);
329 ensureCapacity(end);
354 ensureCapacity(end);
575 private void ensureCapacity(int desiredSize) { method in class:ByteArrayAnnotatedOutput
/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/guava/guava-tests/test/com/google/common/primitives/
H A DBooleansTest.java107 assertSame(EMPTY, Booleans.ensureCapacity(EMPTY, 0, 1));
108 assertSame(ARRAY_FALSE, Booleans.ensureCapacity(ARRAY_FALSE, 0, 1));
109 assertSame(ARRAY_FALSE, Booleans.ensureCapacity(ARRAY_FALSE, 1, 1));
112 Booleans.ensureCapacity(new boolean[] {true}, 2, 1)));
117 Booleans.ensureCapacity(ARRAY_FALSE, -1, 1);
123 Booleans.ensureCapacity(ARRAY_FALSE, 1, -1);
H A DBytesTest.java140 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);
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRPtrBuffer.h89 - (void) ensureCapacity:(NSInteger) index;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
H A DANTLRPtrBuffer.h89 - (void) ensureCapacity:(NSInteger) index;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
H A DANTLRPtrBuffer.h89 - (void) ensureCapacity:(NSInteger) index;

Completed in 334 milliseconds

1234