Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/io/
DByteArrayOutputStream.java90 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/
DAttributesImpl.java384 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/
DVectorTest.java523 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()
DArrayListTest.java548 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/
DBitSet.java333 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()
DComparableTimSort.java653 Object[] tmp = ensureCapacity(len1);
770 Object[] tmp = ensureCapacity(len2);
883 private Object[] ensureCapacity(int minCapacity) {
DTimSort.java686 T[] tmp = ensureCapacity(len1);
802 T[] tmp = ensureCapacity(len2);
916 private T[] ensureCapacity(int minCapacity) {
DVector.java228 public synchronized void ensureCapacity(int minCapacity) { in ensureCapacity() method in Vector
DArrayList.java223 public void ensureCapacity(int minCapacity) { in ensureCapacity() method in ArrayList
/libcore/ojluni/src/main/java/java/lang/
DStringBuffer.java173 public synchronized void ensureCapacity(int minimumCapacity) { in ensureCapacity() method in StringBuffer
174 super.ensureCapacity(minimumCapacity); in ensureCapacity()
DAbstractStringBuilder.java109 public void ensureCapacity(int minimumCapacity) { in ensureCapacity() method in AbstractStringBuilder
/libcore/ojluni/src/main/java/java/util/stream/
DSpinedBuffer.java136 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()
DNodes.java1271 ensureCapacity(size);
1663 ensureCapacity(size);
1723 ensureCapacity(size);
1783 ensureCapacity(size);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringBuffer2Test.java222 sb.ensureCapacity(100); in test_capacity()
293 sb.ensureCapacity(100); in test_ensureCapacityI()
DStringBuilderTest.java632 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/
DOldStringBufferTest.java44 sb.ensureCapacity(-2); in test_ensureCapacityI()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DArrayList.annotated.java42 public void ensureCapacity(int minCapacity) { throw new RuntimeException("Stub!"); } in ensureCapacity() method in ArrayList
DVector.annotated.java45 public synchronized void ensureCapacity(int minCapacity) { throw new RuntimeException("Stub!"); } in ensureCapacity() method in Vector
/libcore/ojluni/annotations/hiddenapi/java/lang/
DAbstractStringBuilder.java49 public void ensureCapacity(int minimumCapacity) { in ensureCapacity() method in AbstractStringBuilder
/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlParser.java217 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/
DVector.java61 public synchronized void ensureCapacity(int minCapacity) { in ensureCapacity() method in Vector
DArrayList.java54 public void ensureCapacity(int minCapacity) { in ensureCapacity() method in ArrayList
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DStringBuffer.annotated.java45 public synchronized void ensureCapacity(int minimumCapacity) { throw new RuntimeException("Stub!");… in ensureCapacity() method in StringBuffer
DStringBuilder.annotated.java132 public void ensureCapacity(int minimumCapacity) { throw new RuntimeException("Stub!"); } in ensureCapacity() method in StringBuilder
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp138 jcharArray ensureCapacity(int length) { in ensureCapacity() function
436 jcharArray javaChars = parsingContext->ensureCapacity(byteLength); in fillBuffer()