/external/dexmaker/src/dx/java/com/android/dx/util/ |
D | ByteArrayAnnotatedOutput.java | 162 ensureCapacity(end); in writeByte() 178 ensureCapacity(end); in writeShort() 195 ensureCapacity(end); in writeInt() 214 ensureCapacity(end); in writeLong() 238 ensureCapacity(cursor + 5); // pessimistic in writeUleb128() 248 ensureCapacity(cursor + 5); // pessimistic in writeSleb128() 262 ensureCapacity(end); in write() 286 ensureCapacity(end); in write() 310 ensureCapacity(end); in writeZeroes() 335 ensureCapacity(end); in alignTo() [all …]
|
D | BitIntSet.java | 40 ensureCapacity(value); in add() 49 private void ensureCapacity(int value) { in ensureCapacity() method in BitIntSet 74 ensureCapacity(Bits.getMax(o.bits) + 1); in merge() 81 ensureCapacity(o.ints.get(sz - 1)); in merge()
|
/external/icu/icu4c/source/common/ |
D | charstr.cpp | 24 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) { in copyFrom() 51 if(ensureCapacity(len+2, 0, errorCode)) { in append() 84 } else if(ensureCapacity(len+sLength+1, 0, errorCode)) { in append() 105 if(ensureCapacity(len+minCapacity+1, len+desiredCapacityHint+1, errorCode)) { in getAppendBuffer() 121 if(ensureCapacity(len+s.length()+1, 0, errorCode)) { in appendInvariantChars() 127 UBool CharString::ensureCapacity(int32_t capacity, in ensureCapacity() function in CharString
|
D | uvectr64.h | 128 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status); 202 inline UBool UVector64::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function 216 if (ensureCapacity(count + 1, status)) { in addElement() 223 if (ensureCapacity(count+size, status) == FALSE) { in reserveBlock()
|
D | uvectr32.h | 129 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status); 213 inline UBool UVector32::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function 227 if (ensureCapacity(count + 1, status)) { in addElement() 234 if (ensureCapacity(count+size, status) == FALSE) { in reserveBlock()
|
D | uvector.cpp | 97 if (ensureCapacity(other.count, ec)) { in assign() 126 if (ensureCapacity(count + 1, status)) { in addElement() 132 if (ensureCapacity(count + 1, status)) { in addElement() 163 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt() 175 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt() 329 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function in UVector 372 if (!ensureCapacity(newSize, status)) { in setSize() 475 if (ensureCapacity(count + 1, ec)) { in sortedInsert()
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/batches/ |
D | BufferedParticleBatch.java | 37 ensureCapacity(bufferedParticlesCount); in end() 43 public void ensureCapacity(int capacity){ in ensureCapacity() method in BufferedParticleBatch 45 sorter.ensureCapacity(capacity); in ensureCapacity() 68 sorter.ensureCapacity(currentCapacity); in setSorter()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | ByteBuffer.java | 88 ensureCapacity(length + chunk); in ByteBuffer() 184 ensureCapacity(length + 1); in append() 198 ensureCapacity(length + len); in append() 317 private void ensureCapacity(int requestedLength) in ensureCapacity() method in ByteBuffer
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | CharsTrieBuilder.java | 137 private void ensureCapacity(int length) { in ensureCapacity() method in CharsTrieBuilder 158 ensureCapacity(newLength); in write() 172 ensureCapacity(newLength); in write() 183 ensureCapacity(newLength); in write()
|
D | BytesTrieBuilder.java | 159 private void ensureCapacity(int length) { in ensureCapacity() method in BytesTrieBuilder 180 ensureCapacity(newLength); in write() 194 ensureCapacity(newLength); in write() 205 ensureCapacity(newLength); in write()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | CharsTrieBuilder.java | 133 private void ensureCapacity(int length) { in ensureCapacity() method in CharsTrieBuilder 154 ensureCapacity(newLength); in write() 168 ensureCapacity(newLength); in write() 179 ensureCapacity(newLength); in write()
|
D | BytesTrieBuilder.java | 155 private void ensureCapacity(int length) { in ensureCapacity() method in BytesTrieBuilder 176 ensureCapacity(newLength); in write() 190 ensureCapacity(newLength); in write() 201 ensureCapacity(newLength); in write()
|
/external/dexmaker/src/dx/java/com/android/dx/ssa/back/ |
D | InterferenceGraph.java | 65 ensureCapacity(Math.max(regV, regW) + 1); in add() 104 private void ensureCapacity(int size) { in ensureCapacity() method in InterferenceGraph 107 interference.ensureCapacity(size); in ensureCapacity()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
D | IntArrayList.java | 70 ensureCapacity(newSize); in setSize() 76 ensureCapacity((elements.length * 3)/2 + 1); in grow() 89 public void ensureCapacity(int newCapacity) { in ensureCapacity() method in IntArrayList
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | BytesTest.java | 140 assertSame(EMPTY, Bytes.ensureCapacity(EMPTY, 0, 1)); in testEnsureCapacity() 141 assertSame(ARRAY1, Bytes.ensureCapacity(ARRAY1, 0, 1)); in testEnsureCapacity() 142 assertSame(ARRAY1, Bytes.ensureCapacity(ARRAY1, 1, 1)); in testEnsureCapacity() 145 Bytes.ensureCapacity(ARRAY1, 2, 1))); in testEnsureCapacity() 150 Bytes.ensureCapacity(ARRAY1, -1, 1); in testEnsureCapacity_fail() 156 Bytes.ensureCapacity(ARRAY1, 1, -1); in testEnsureCapacity_fail()
|
D | BooleansTest.java | 118 assertSame(EMPTY, Booleans.ensureCapacity(EMPTY, 0, 1)); in testEnsureCapacity() 119 assertSame(ARRAY_FALSE, Booleans.ensureCapacity(ARRAY_FALSE, 0, 1)); in testEnsureCapacity() 120 assertSame(ARRAY_FALSE, Booleans.ensureCapacity(ARRAY_FALSE, 1, 1)); in testEnsureCapacity() 123 Booleans.ensureCapacity(new boolean[] {true}, 2, 1))); in testEnsureCapacity() 128 Booleans.ensureCapacity(ARRAY_FALSE, -1, 1); in testEnsureCapacity_fail() 134 Booleans.ensureCapacity(ARRAY_FALSE, 1, -1); in testEnsureCapacity_fail()
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | BytesTest.java | 138 assertSame(EMPTY, Bytes.ensureCapacity(EMPTY, 0, 1)); in testEnsureCapacity() 139 assertSame(ARRAY1, Bytes.ensureCapacity(ARRAY1, 0, 1)); in testEnsureCapacity() 140 assertSame(ARRAY1, Bytes.ensureCapacity(ARRAY1, 1, 1)); in testEnsureCapacity() 143 Bytes.ensureCapacity(ARRAY1, 2, 1))); in testEnsureCapacity() 148 Bytes.ensureCapacity(ARRAY1, -1, 1); in testEnsureCapacity_fail() 154 Bytes.ensureCapacity(ARRAY1, 1, -1); in testEnsureCapacity_fail()
|
D | CharsTest.java | 216 assertSame(EMPTY, Chars.ensureCapacity(EMPTY, 0, 1)); in testEnsureCapacity() 217 assertSame(ARRAY1, Chars.ensureCapacity(ARRAY1, 0, 1)); in testEnsureCapacity() 218 assertSame(ARRAY1, Chars.ensureCapacity(ARRAY1, 1, 1)); in testEnsureCapacity() 221 Chars.ensureCapacity(ARRAY1, 2, 1))); in testEnsureCapacity() 226 Chars.ensureCapacity(ARRAY1, -1, 1); in testEnsureCapacity_fail() 232 Chars.ensureCapacity(ARRAY1, 1, -1); in testEnsureCapacity_fail()
|
D | BooleansTest.java | 115 assertSame(EMPTY, Booleans.ensureCapacity(EMPTY, 0, 1)); in testEnsureCapacity() 116 assertSame(ARRAY_FALSE, Booleans.ensureCapacity(ARRAY_FALSE, 0, 1)); in testEnsureCapacity() 117 assertSame(ARRAY_FALSE, Booleans.ensureCapacity(ARRAY_FALSE, 1, 1)); in testEnsureCapacity() 120 Booleans.ensureCapacity(new boolean[] {true}, 2, 1))); in testEnsureCapacity() 125 Booleans.ensureCapacity(ARRAY_FALSE, -1, 1); in testEnsureCapacity_fail() 131 Booleans.ensureCapacity(ARRAY_FALSE, 1, -1); in testEnsureCapacity_fail()
|
/external/apache-http/src/org/apache/http/message/ |
D | BasicLineFormatter.java | 136 result.ensureCapacity(len); in appendProtocolVersion() 212 buffer.ensureCapacity(len); in doFormatRequestLine() 273 buffer.ensureCapacity(len); in doFormatStatusLine() 341 buffer.ensureCapacity(len); in doFormatHeader()
|
D | BasicHeaderValueFormatter.java | 124 buffer.ensureCapacity(len); in formatElements() 193 buffer.ensureCapacity(len); in formatHeaderElement() 281 buffer.ensureCapacity(len); in formatParameters() 349 buffer.ensureCapacity(len); in formatNameValuePair()
|
/external/guava/guava/src/com/google/common/collect/ |
D | ImmutableCollection.java | 330 private void ensureCapacity(int minCapacity) { in ensureCapacity() method in ImmutableCollection.ArrayBasedBuilder 340 ensureCapacity(size + 1); in add() 348 ensureCapacity(size + elements.length); in add() 358 ensureCapacity(size + collection.size()); in addAll()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
D | IntArray.java | 50 ensureCapacity(p+1); in add() 73 public void ensureCapacity(int index) { in ensureCapacity() method in IntArray
|
/external/icu/icu4c/source/test/intltest/ |
D | textfile.cpp | 53 if (!ensureCapacity((int32_t)(uprv_strlen(testDir) + uprv_strlen(name) + 1))) { in TextFile() 134 if (!ensureCapacity(index+1)) { in setBuffer() 149 UBool TextFile::ensureCapacity(int32_t mincapacity) { in ensureCapacity() function in TextFile
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | IntArray.h | 50 ensureCapacity(p+1); in add() 73 public void ensureCapacity(int index) { in ensureCapacity() function
|