Home
last modified time | relevance | path

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

123

/libcore/ojluni/src/test/java/text/Format/NumberFormat/
DBigDecimalFormat.java115 formatted.setLength(0); in test_Format_in_NumberFormat_BigDecimal()
126 formatted.setLength(0); in test_Format_in_NumberFormat_BigDecimal()
138 formatted.setLength(0); in test_Format_in_NumberFormat_BigDecimal()
151 formatted.setLength(0); in test_Format_in_NumberFormat_BigDecimal()
162 formatted.setLength(0); in test_Format_in_NumberFormat_BigDecimal()
172 formatted.setLength(0); in test_Format_in_NumberFormat_BigDecimal()
182 formatted.setLength(0); in test_Format_in_NumberFormat_BigDecimal()
192 formatted.setLength(0); in test_Format_in_NumberFormat_BigDecimal()
202 formatted.setLength(0); in test_Format_in_NumberFormat_BigDecimal()
212 formatted.setLength(0); in test_Format_in_NumberFormat_BigDecimal()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringBuilderTest.java100 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 …]
DStringBufferTest.java35 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 …]
DStringBuffer2Test.java567 testBuffer.setLength(1000); in test_setLengthI()
571 testBuffer.setLength(2); in test_setLengthI()
/libcore/ojluni/src/test/java/lang/StringBuffer/
DSetLength.java44 active.setLength(0); in main()
47 active.setLength(0); in main()
DComparison.java100 sb1.setLength(5); in testModifiedSequence()
101 sb2.setLength(5); in testModifiedSequence()
/libcore/luni/src/test/java/libcore/java/io/
DRandomAccessFileTest.java47 raf.setLength(Long.MAX_VALUE); in testSetLengthTooLarge()
56 raf.setLength(0); in testSetLength64()
59 raf.setLength(moreThanFourGig); in testSetLength64()
DOldRandomAccessFileTest.java1013 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/
DOldAndroidDatagramTest.java58 packet.setLength(buffer.length); in run()
112 packet.setLength(bytes.length); in stringToPacket()
149 packet.setLength(buffer.length); in testDatagram()
/libcore/ojluni/src/test/java/util/Properties/
DSaveLoadBasher.java90 aKeyBuffer.setLength(0); in main()
91 aValueBuffer.setLength(0); in main()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DChoiceFormatTest.java257 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/ojluni/src/test/java/lang/StringBuilder/
DComparison.java100 sb1.setLength(5); in testModifiedSequence()
101 sb2.setLength(5); in testModifiedSequence()
/libcore/ojluni/src/test/java/util/zip/ZipFile/
DZip64SizeTest.java148 largeFile.setLength(LARGE_FILE_SIZE); in createFiles()
150 smallFile.setLength(SMALL_FILE_SIZE); in createFiles()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DStackTest.java175 public void setLength(int elementCount) { in setLength() method in StackTest.BugStack
189 testStack.setLength(20); in test_pop_modify_elementCount()
/libcore/luni/src/test/java/libcore/java/util/function/
DConsumerTest.java33 sb.setLength(0); in testAndThen()
DBiConsumerTest.java33 sb.setLength(0); in testAndThen()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DGuardedObjectTest.java61 objBuffer.setLength(0); in testGuard()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DAclEntry.java400 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/sun/util/calendar/
DEra.java148 sb.setLength(sb.length() - 1); // remove 'Z' in toString()
/libcore/benchmarks/src/benchmarks/regression/
DByteBufferBulkBenchmark.java60 raf.setLength(size); in newBuffer()
/libcore/luni/src/test/java/libcore/java/lang/
DStringBufferTest.java77 sb1.setLength(0); in testCompareTo()
/libcore/ojluni/src/main/java/java/net/
DDatagramPacket.java401 public synchronized void setLength(int length) { in setLength() method in DatagramPacket
/libcore/ojluni/src/main/java/java/text/
DChoiceFormat.java227 segments[0].setLength(0); in applyPattern()
238 segments[1].setLength(0); in applyPattern()
/libcore/ojluni/src/main/java/java/lang/
DStringBuffer.java235 public synchronized void setLength(int newLength) { in setLength() method in StringBuffer
237 super.setLength(newLength); in setLength()
/libcore/ojluni/src/test/java/lang/StackWalker/
DMultiThreadStackWalk.java153 builder.setLength(0); in consume()
211 b.setLength(0); in consume()

123