/libcore/ojluni/src/main/java/java/io/ |
D | ByteArrayOutputStream.java | 90 private void ensureCapacity(int minCapacity) { in ensureCapacity() method in ByteArrayOutputStream 135 ensureCapacity(count + 1); in write() 153 ensureCapacity(count + len); in write()
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | AttributesImpl.java | 384 ensureCapacity(length+1); in addAttribute() 569 private void ensureCapacity (int n) { in ensureCapacity() method in AttributesImpl
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | VectorTest.java | 523 v.ensureCapacity(20); in test_ensureCapacityI() 529 v.ensureCapacity(150); in test_ensureCapacityI() 535 v.ensureCapacity(20); in test_ensureCapacityI() 538 v.ensureCapacity(15); in test_ensureCapacityI() 540 v.ensureCapacity(35); in test_ensureCapacityI() 546 v.ensureCapacity(11); in test_ensureCapacityI() 549 v.ensureCapacity(5); in test_ensureCapacityI() 551 v.ensureCapacity(20); in test_ensureCapacityI()
|
D | ArrayListTest.java | 548 al.ensureCapacity(capacity); in test_ensureCapacityI() 552 al.ensureCapacity(capacity); in test_ensureCapacityI() 555 al.ensureCapacity(capacity + 2); in test_ensureCapacityI() 561 list.ensureCapacity(Integer.MIN_VALUE); in test_ensureCapacityI()
|
/libcore/ojluni/src/main/java/java/util/ |
D | BitSet.java | 333 private void ensureCapacity(int wordsRequired) { in ensureCapacity() method in BitSet 352 ensureCapacity(wordsRequired); in expandTo() 943 ensureCapacity(set.wordsInUse); in or() 979 ensureCapacity(set.wordsInUse); in xor()
|
D | ComparableTimSort.java | 653 Object[] tmp = ensureCapacity(len1); 770 Object[] tmp = ensureCapacity(len2); 883 private Object[] ensureCapacity(int minCapacity) {
|
D | TimSort.java | 686 T[] tmp = ensureCapacity(len1); 802 T[] tmp = ensureCapacity(len2); 916 private T[] ensureCapacity(int minCapacity) {
|
D | Vector.java | 228 public synchronized void ensureCapacity(int minCapacity) { in ensureCapacity() method in Vector
|
D | ArrayList.java | 223 public void ensureCapacity(int minCapacity) { in ensureCapacity() method in ArrayList
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StringBuffer.java | 173 public synchronized void ensureCapacity(int minimumCapacity) { in ensureCapacity() method in StringBuffer 174 super.ensureCapacity(minimumCapacity); in ensureCapacity()
|
D | AbstractStringBuilder.java | 109 public void ensureCapacity(int minimumCapacity) { in ensureCapacity() method in AbstractStringBuilder
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | SpinedBuffer.java | 136 protected final void ensureCapacity(long targetSize) { in ensureCapacity() method in SpinedBuffer 158 ensureCapacity(capacity() + 1); in increaseCapacity() 501 protected final void ensureCapacity(long targetSize) { in ensureCapacity() method in SpinedBuffer.OfPrimitive 520 ensureCapacity(capacity() + 1); in increaseCapacity()
|
D | Nodes.java | 1271 ensureCapacity(size); 1663 ensureCapacity(size); 1723 ensureCapacity(size); 1783 ensureCapacity(size);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StringBuffer2Test.java | 222 sb.ensureCapacity(100); in test_capacity() 293 sb.ensureCapacity(100); in test_ensureCapacityI()
|
D | StringBuilderTest.java | 632 sb.ensureCapacity(10); in test_ensureCapacityI() 634 sb.ensureCapacity(26); in test_ensureCapacityI() 636 sb.ensureCapacity(55); in test_ensureCapacityI()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldStringBufferTest.java | 44 sb.ensureCapacity(-2); in test_ensureCapacityI()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | ArrayList.annotated.java | 42 public void ensureCapacity(int minCapacity) { throw new RuntimeException("Stub!"); } in ensureCapacity() method in ArrayList
|
D | Vector.annotated.java | 45 public synchronized void ensureCapacity(int minCapacity) { throw new RuntimeException("Stub!"); } in ensureCapacity() method in Vector
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | AbstractStringBuilder.java | 49 public void ensureCapacity(int minimumCapacity) { in ensureCapacity() method in AbstractStringBuilder
|
/libcore/xml/src/main/java/com/android/org/kxml2/io/ |
D | KXmlParser.java | 217 nspStack = ensureCapacity(nspStack, j + 2); in adjustNsp() 294 private String[] ensureCapacity(String[] arr, int required) { in ensureCapacity() method in KXmlParser 1094 attributes = ensureCapacity(attributes, i + 4); in parseStartTag() 1141 elementStack = ensureCapacity(elementStack, sp + 4); in parseStartTag() 1168 attributes = ensureCapacity(attributes, i + 4); in parseStartTag()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Vector.java | 61 public synchronized void ensureCapacity(int minCapacity) { in ensureCapacity() method in Vector
|
D | ArrayList.java | 54 public void ensureCapacity(int minCapacity) { in ensureCapacity() method in ArrayList
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | StringBuffer.annotated.java | 45 public synchronized void ensureCapacity(int minimumCapacity) { throw new RuntimeException("Stub!");… in ensureCapacity() method in StringBuffer
|
D | StringBuilder.annotated.java | 132 public void ensureCapacity(int minimumCapacity) { throw new RuntimeException("Stub!"); } in ensureCapacity() method in StringBuilder
|
/libcore/luni/src/main/native/ |
D | org_apache_harmony_xml_ExpatParser.cpp | 138 jcharArray ensureCapacity(int length) { in ensureCapacity() function 436 jcharArray javaChars = parsingContext->ensureCapacity(byteLength); in fillBuffer()
|