Home
last modified time | relevance | path

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

/dalvik/dx/src/com/android/dx/util/
DBitIntSet.java40 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()
DByteArrayAnnotatedOutput.java153 ensureCapacity(end); in writeByte()
169 ensureCapacity(end); in writeShort()
186 ensureCapacity(end); in writeInt()
205 ensureCapacity(end); in writeLong()
269 ensureCapacity(end); in write()
293 ensureCapacity(end); in write()
317 ensureCapacity(end); in writeZeroes()
342 ensureCapacity(end); in alignTo()
543 private void ensureCapacity(int desiredSize) { in ensureCapacity() method in ByteArrayAnnotatedOutput
/dalvik/dx/src/com/android/dx/ssa/back/
DInterferenceGraph.java62 ensureCapacity(Math.max(regV, regW) + 1); in add()
101 private void ensureCapacity(int size) { in ensureCapacity() method in InterferenceGraph
103 interference.ensureCapacity(size); in ensureCapacity()
/dalvik/dx/src/com/android/dx/ssa/
DInterferenceRegisterMapper.java122 newRegInterference.ensureCapacity(newReg + 1); in addInterfence()
DSsaRenamer.java205 ssaRegToLocalItems.ensureCapacity(reg + 1); in setNameForSsaReg()
DSsaBasicBlock.java128 result.insns.ensureCapacity(ropInsns.size()); in newFromRop()
/dalvik/libcore/xml/src/main/java/org/xml/sax/helpers/
DAttributesImpl.java382 ensureCapacity(length+1); in addAttribute()
566 private void ensureCapacity (int n) { in ensureCapacity() method in AttributesImpl
/dalvik/libcore/luni/src/main/java/java/lang/
DStringBuffer.java405 public synchronized void ensureCapacity(int min) { in ensureCapacity() method in StringBuffer
406 super.ensureCapacity(min); in ensureCapacity()
DAbstractStringBuilder.java303 public void ensureCapacity(int min) { in ensureCapacity() method in AbstractStringBuilder
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DStringBuffer2Test.java313 sb.ensureCapacity(100); in test_capacity()
422 sb.ensureCapacity(-2); in test_ensureCapacityI()
425 sb.ensureCapacity(100); in test_ensureCapacityI()
429 sb.ensureCapacity(Integer.MAX_VALUE); in test_ensureCapacityI()
DStringBuilderTest.java806 sb.ensureCapacity(10); in test_ensureCapacityI()
808 sb.ensureCapacity(26); in test_ensureCapacityI()
810 sb.ensureCapacity(55); in test_ensureCapacityI()
/dalvik/libcore/xml/src/main/java/org/kxml2/wap/
DWbxmlParser.java515 nspStack = ensureCapacity(nspStack, j + 2); in adjustNsp()
846 attributes = ensureCapacity(attributes, i + 4); in readAttr()
917 elementStack = ensureCapacity(elementStack, sp + 4); in parseElement()
949 private final String[] ensureCapacity( in ensureCapacity() method in WbxmlParser
/dalvik/libcore/luni/src/main/java/java/util/
DTimSort.java651 T[] tmp = ensureCapacity(len1);
768 T[] tmp = ensureCapacity(len2);
881 private T[] ensureCapacity(int minCapacity) {
DComparableTimSort.java619 Object[] tmp = ensureCapacity(len1);
736 Object[] tmp = ensureCapacity(len2);
848 private Object[] ensureCapacity(int minCapacity) {
DVector.java394 public synchronized void ensureCapacity(int minimumCapacity) { in ensureCapacity() method
958 ensureCapacity(length); in setSize()
DArrayList.java336 public void ensureCapacity(int minimumCapacity) { in ensureCapacity() method in ArrayList
/dalvik/libcore/xml/src/main/java/org/kxml2/io/
DKXmlParser.java143 nspStack = ensureCapacity(nspStack, j + 2); in adjustNsp()
227 private final String[] ensureCapacity(String[] arr, int required) { in ensureCapacity() method in KXmlParser
655 attributes = ensureCapacity(attributes, i + 4); in parseStartTag()
692 elementStack = ensureCapacity(elementStack, sp + 4); in parseStartTag()
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
DArrayListTest.java419 al.ensureCapacity(capacity); in test_ensureCapacityI()
423 al.ensureCapacity(capacity); in test_ensureCapacityI()
426 al.ensureCapacity(capacity + 2); in test_ensureCapacityI()
DVectorTest.java634 v.ensureCapacity(20); in test_ensureCapacityI()
/dalvik/libcore/xml/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp398 static jcharArray ensureCapacity(ParsingContext* parsingContext, int length) { in ensureCapacity() function
433 jcharArray buffer = ensureCapacity(parsingContext, length); in fillBuffer()