Searched refs:setLength (Results 1 - 25 of 31) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DStringBufferTest.java29 * java.lang.StringBuffer#setLength(int)
35 buffer.setLength(-1);
42 buffer.setLength(1);
48 buffer.setLength(3);
53 buffer.setLength(2);
63 buffer.setLength(2);
64 buffer.setLength(5);
72 buffer.setLength(7);
85 buffer.setLength(7);
100 buffer.setLength(100
[all...]
H A DStringBuilderTest.java100 sb.setLength(0);
112 sb.setLength(0);
124 sb.setLength(0);
142 sb.setLength(0);
146 sb.setLength(0);
150 sb.setLength(0);
154 sb.setLength(0);
194 sb.setLength(0);
197 sb.setLength(0);
210 sb.setLength(
[all...]
H A DStringBuffer2Test.java563 * java.lang.StringBuffer#setLength(int)
566 // Test for method void java.lang.StringBuffer.setLength(int)
567 testBuffer.setLength(1000);
571 testBuffer.setLength(2);
/libcore/luni/src/test/java/libcore/java/io/
H A DRandomAccessFileTest.java52 raf.setLength(Long.MAX_VALUE);
60 raf.setLength(0);
63 raf.setLength(moreThanFourGig);
H A DOldRandomAccessFileTest.java1013 raf.setLength(truncLength);
1029 raf.setLength(testLength + 2);
1037 raf.setLength(-1);
1045 raf.setLength(truncLength);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DGuardedObjectTest.java61 objBuffer.setLength(0);
/libcore/luni/src/test/java/libcore/java/net/
H A DOldAndroidDatagramTest.java58 packet.setLength(buffer.length);
112 packet.setLength(bytes.length);
149 packet.setLength(buffer.length);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DChoiceFormatTest.java256 buf.setLength(0);
259 buf.setLength(0);
262 buf.setLength(0);
265 buf.setLength(0);
287 buf.setLength(0);
290 buf.setLength(0);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DStackTest.java175 public void setLength(int elementCount) { method in class:StackTest.BugStack
189 testStack.setLength(20);
/libcore/luni/src/main/java/java/lang/reflect/
H A DModifier.java302 buf.setLength(buf.length() - 1);
/libcore/luni/src/main/java/java/net/
H A DDatagramPacket.java211 public synchronized void setLength(int length) { method in class:DatagramPacket
/libcore/tzdata/tools/src/main/libcore/tzdata/update/tools/
H A DTzDataBundleBuilder.java76 checksumsFileContent.setLength(0);
/libcore/luni/src/main/java/java/lang/
H A DStringBuffer.java702 public synchronized void setLength(int length) { method in class:StringBuffer
703 super.setLength(length);
/libcore/luni/src/main/java/libcore/io/
H A DStreams.java213 result.setLength(length - 1);
/libcore/luni/src/main/java/java/util/
H A DDate.java425 buffer.setLength(0);
486 buffer.setLength(0);
H A DProperties.java229 sb.setLength(0);
555 sb.setLength(0);
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/
H A DDriver.java387 rawName.setLength(0);
417 rawName.setLength(0);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DDatagramPacketTest.java179 * java.net.DatagramPacket#setLength(int)
183 dp.setLength(1);
/libcore/luni/src/main/java/java/sql/
H A DTimestamp.java373 sb.setLength(sb.length() - 1);
/libcore/luni/src/main/java/java/text/
H A DChoiceFormat.java176 buffer.setLength(0);
/libcore/luni/src/main/java/org/apache/harmony/security/x501/
H A DAttributeValue.java324 buf.setLength(bufLength + 1);
/libcore/luni/src/main/java/java/io/
H A DRandomAccessFile.java623 public void setLength(long newLength) throws IOException { method in class:RandomAccessFile
/libcore/luni/src/main/java/java/util/logging/
H A DFileHandler.java565 public void setLength(long newLength) { method in class:FileHandler.MeasureOutputStream
/libcore/benchmarks/src/benchmarks/regression/
H A DByteBufferBenchmark.java66 raf.setLength(8192*8);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DInputStreamReaderTest.java418 sb.setLength(0);

Completed in 887 milliseconds

12