/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StringBuilderTest.java | 100 sb.setLength(0); in test_appendZ() 112 sb.setLength(0); in test_appendC() 124 sb.setLength(0); in test_append$C() 142 sb.setLength(0); in test_append$CII() 146 sb.setLength(0); in test_append$CII() 150 sb.setLength(0); in test_append$CII() 154 sb.setLength(0); in test_append$CII() 194 sb.setLength(0); in test_appendLjava_lang_CharSequence() 197 sb.setLength(0); in test_appendLjava_lang_CharSequence() 210 sb.setLength(0); in test_appendLjava_lang_CharSequenceII() [all …]
|
D | StringBufferTest.java | 35 buffer.setLength(-1); in test_setLengthI() 42 buffer.setLength(1); in test_setLengthI() 48 buffer.setLength(3); in test_setLengthI() 53 buffer.setLength(2); in test_setLengthI() 63 buffer.setLength(2); in test_setLengthI() 64 buffer.setLength(5); in test_setLengthI() 72 buffer.setLength(7); in test_setLengthI() 85 buffer.setLength(7); in test_setLengthI() 100 buffer.setLength(1000); in test_toString() 106 buffer.setLength(5); in test_toString() [all …]
|
D | StringBuffer2Test.java | 567 testBuffer.setLength(1000); in test_setLengthI() 571 testBuffer.setLength(2); in test_setLengthI()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | RandomAccessFileTest.java | 47 raf.setLength(Long.MAX_VALUE); in testSetLengthTooLarge() 56 raf.setLength(0); in testSetLength64() 59 raf.setLength(moreThanFourGig); in testSetLength64()
|
D | OldRandomAccessFileTest.java | 1013 raf.setLength(truncLength); in test_setLengthJ() 1029 raf.setLength(testLength + 2); in test_setLengthJ() 1037 raf.setLength(-1); in test_setLengthJ() 1045 raf.setLength(truncLength); in test_setLengthJ()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldAndroidDatagramTest.java | 58 packet.setLength(buffer.length); in run() 112 packet.setLength(bytes.length); in stringToPacket() 149 packet.setLength(buffer.length); in testDatagram()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | ChoiceFormatTest.java | 257 buf.setLength(0); in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition() 260 buf.setLength(0); in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition() 263 buf.setLength(0); in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition() 266 buf.setLength(0); in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition() 288 buf.setLength(0); in test_formatJLjava_lang_StringBufferLjava_text_FieldPosition() 291 buf.setLength(0); in test_formatJLjava_lang_StringBufferLjava_text_FieldPosition()
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | ConsumerTest.java | 33 sb.setLength(0); in testAndThen()
|
D | BiConsumerTest.java | 33 sb.setLength(0); in testAndThen()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | StackTest.java | 175 public void setLength(int elementCount) { in setLength() method in StackTest.BugStack 189 testStack.setLength(20); in test_pop_modify_elementCount()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | AclEntry.java | 400 sb.setLength(sb.length()-1); // drop final slash in toString() 409 sb.setLength(sb.length()-1); // drop final slash in toString()
|
/libcore/ojluni/src/main/java/java/text/ |
D | PatternEntry.java | 210 newChars.setLength(0); in next() 211 newExtension.setLength(0); in next()
|
D | ChoiceFormat.java | 224 segments[0].setLength(0); in applyPattern() 235 segments[1].setLength(0); in applyPattern()
|
D | MergeCollation.java | 280 excess.setLength(0); in fixEntry()
|
/libcore/ojluni/src/main/java/java/util/ |
D | StringJoiner.java | 170 value.setLength(initialLength); in toString()
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | Era.java | 153 sb.setLength(sb.length() - 1); // remove 'Z' in toString()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBulkBenchmark.java | 60 raf.setLength(size); in newBuffer()
|
/libcore/ojluni/src/main/java/java/net/ |
D | DatagramPacket.java | 401 public synchronized void setLength(int length) { in setLength() method in DatagramPacket
|
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/ |
D | Driver.java | 387 rawName.setLength(0); in parseSubTree() 417 rawName.setLength(0); in parseSubTree()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | RandomAccessFile.java | 112 public void setLength(long newLength) throws java.io.IOException { in setLength() method in RandomAccessFile
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | AbstractStringBuilder.java | 69 public void setLength(int newLength) { in setLength() method in AbstractStringBuilder
|
/libcore/luni/src/main/java/libcore/io/ |
D | Streams.java | 310 result.setLength(length - 1); in readAsciiLine()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | StringBuffer.annotated.java | 49 public synchronized void setLength(int newLength) { throw new RuntimeException("Stub!"); } in setLength() method in StringBuffer
|
D | StringBuilder.annotated.java | 130 public void setLength(int newLength) { throw new RuntimeException("Stub!"); } in setLength() method in StringBuilder
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | DatagramSocketAdaptor.java | 218 p.setLength(bb.position() - p.getOffset()); in receive()
|