/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StringBuilderTest.java | 34 StringBuilder sb = new StringBuilder(); in test_Constructor() local 43 StringBuilder sb = new StringBuilder(24); in test_ConstructorI() local 62 StringBuilder sb = new StringBuilder((CharSequence) "fixture"); in test_ConstructorLjava_lang_CharSequence() local 82 StringBuilder sb = new StringBuilder("fixture"); in test_ConstructorLjava_lang_String() local 97 StringBuilder sb = new StringBuilder(); in test_appendZ() local 109 StringBuilder sb = new StringBuilder(); in test_appendC() local 121 StringBuilder sb = new StringBuilder(); in test_append$C() local 139 StringBuilder sb = new StringBuilder(); in test_append$CII() local 191 StringBuilder sb = new StringBuilder(); in test_appendLjava_lang_CharSequence() local 207 StringBuilder sb = new StringBuilder(); in test_appendLjava_lang_CharSequenceII() local [all …]
|
D | StringBufferTest.java | 139 StringBuffer sb = new StringBuffer(); in test_appendLjava_lang_CharSequence() local 155 StringBuffer sb = new StringBuffer(); in test_appendLjava_lang_CharSequenceII() local 203 StringBuffer sb = new StringBuffer(fixture); in test_insertILjava_lang_CharSequence() local 246 StringBuffer sb = new StringBuffer(fixture); in test_insertILjava_lang_CharSequenceII() local 339 StringBuffer sb = new StringBuffer(); in test_appendCodePointI() local 352 StringBuffer sb = new StringBuffer("abc"); in test_codePointAtI() local 387 StringBuffer sb = new StringBuffer("abc"); in test_codePointBeforeI() local 430 StringBuffer sb = new StringBuffer("abc"); in test_codePointCountII() local 494 StringBuffer sb = new StringBuffer("abc"); in test_offsetByCodePointsII() local 537 StringBuffer sb = new StringBuffer(fixture); in test_IndexOfStringInt() local [all …]
|
D | StringBuffer2Test.java | 38 StringBuffer sb = new StringBuffer(8); in test_ConstructorI() local 49 StringBuffer sb = new StringBuffer("HelloWorld"); in test_ConstructorLjava_lang_String() local 82 StringBuffer sb = new StringBuffer(); in test_append$CII() local 99 StringBuffer sb = new StringBuffer(); in test_appendC() local 116 StringBuffer sb = new StringBuffer(); in test_appendD() local 129 StringBuffer sb = new StringBuffer(); in test_appendF() local 144 StringBuffer sb = new StringBuffer(); in test_appendI() local 160 StringBuffer sb = new StringBuffer(); in test_appendJ() local 174 StringBuffer sb = new StringBuffer(); in test_appendLjava_lang_Object() local 189 StringBuffer sb = new StringBuffer(); in test_appendLjava_lang_String() local [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | StringBuilderBenchmark.java | 30 StringBuilder sb = new StringBuilder(); in timeAppendBoolean() local 39 StringBuilder sb = new StringBuilder(); in timeAppendChar() local 49 StringBuilder sb = new StringBuilder(); in timeAppendCharArray() local 59 StringBuilder sb = new StringBuilder(); in timeAppendCharSequence() local 69 StringBuilder sb = new StringBuilder(); in timeAppendSubCharSequence() local 79 StringBuilder sb = new StringBuilder(); in timeAppendDouble() local 89 StringBuilder sb = new StringBuilder(); in timeAppendFloat() local 99 StringBuilder sb = new StringBuilder(); in timeAppendInt() local 109 StringBuilder sb = new StringBuilder(); in timeAppendLong() local 124 StringBuilder sb = new StringBuilder(); in timeAppendObject() local [all …]
|
D | FormatterBenchmark.java | 35 StringBuilder sb = new StringBuilder(); in timeStringBuilder_NoFormatting() local 59 StringBuilder sb = new StringBuilder(); in timeStringBuilder_OneInt() local 76 StringBuilder sb = new StringBuilder(); in timeStringBuilder_OneHexInt() local 109 StringBuilder sb = new StringBuilder(); in timeStringBuilder_OneFloat() local 125 StringBuilder sb = new StringBuilder(); in timeStringBuilder_OneString() local
|
/libcore/ojluni/src/test/java/lang/StringBuffer/ |
D | BufferForwarding.java | 88 StringBuffer sb = new StringBuffer("xyz"); in indexOfString() local 95 StringBuffer sb = new StringBuffer("xyyz"); in indexOfStringint() local 104 StringBuffer sb = new StringBuffer(); in indexOfStringIntNull() local 119 StringBuffer sb = new StringBuffer(); in indexOfStringNull() local 136 StringBuffer sb = new StringBuffer("012345"); in insertintboolean() local 143 StringBuffer sb = new StringBuffer("012345"); in insertintchar() local 174 StringBuffer sb = new StringBuffer("012345"); in insertintdouble() local 180 StringBuffer sb = new StringBuffer("012345"); in insertintfloat() local 186 StringBuffer sb = new StringBuffer("012345"); in insertintint() local 193 StringBuffer sb = new StringBuffer("012345"); in insertintlong() local [all …]
|
D | Supplementary.java | 92 StringBuffer sb = new StringBuffer(input[i]); in test1() local 129 StringBuffer sb = new StringBuffer(input[i]); in test2() local 182 StringBuffer sb = new StringBuffer(input[i]).reverse(); in test3() local 190 StringBuffer sb = new StringBuffer(testdata1[i][0]).reverse(); in test3() local 204 StringBuffer sb = new StringBuffer(); in test4() local 232 StringBuffer sb = new StringBuffer(s); in test5() local 265 StringBuffer sb = new StringBuffer(s); in test6() local 317 static void testCodePoint(boolean isAt, StringBuffer sb, int index, int expected) { in testCodePoint() 325 static void testCodePoint(boolean isAt, StringBuffer sb, int index) { in testCodePoint() 352 static void testCodePointCount(StringBuffer sb, int beginIndex, int endIndex, in testCodePointCount() [all …]
|
D | CompactStringBuffer.java | 447 private void checkGetChars(StringBuffer sb, int srcBegin, int srcEnd, in checkGetChars() 454 private void checkSetCharAt(StringBuffer sb, int index, char ch, in checkSetCharAt() 460 private void checkSetLength(StringBuffer sb, int newLength, String expected) { in checkSetLength() 465 private void check(StringBuffer sb, String expected) { in check() 479 StringBuilder sb = new StringBuilder(); in escapeNonASCIIs() local
|
D | AppendCharSequence.java | 162 StringBuffer sb = generateTestBuffer(0, 80); in checkOffsets() local 184 StringBuffer sb = new StringBuffer("test1"); in checkOffsets() local 202 StringBuffer sb = new StringBuffer("test1"); in checkOffsets() local 232 StringBuffer sb = generateTestBuffer(0, 100); in checkConstructor() local
|
/libcore/ojluni/src/test/java/lang/StringBuilder/ |
D | BuilderForwarding.java | 89 StringBuilder sb = new StringBuilder(); in indexOfString() local 110 StringBuilder sb = new StringBuilder(); in indexOfStringint() local 129 StringBuffer sb = new StringBuffer(); in indexOfStringIntNull() local 144 StringBuilder sb = new StringBuilder(); in indexOfStringNull() local 161 StringBuilder sb = new StringBuilder("012345"); in insertintboolean() local 168 StringBuilder sb = new StringBuilder("012345"); in insertintchar() local 200 StringBuilder sb = new StringBuilder("012345"); in insertintdouble() local 206 StringBuilder sb = new StringBuilder("012345"); in insertintfloat() local 212 StringBuilder sb = new StringBuilder("012345"); in insertintint() local 219 StringBuilder sb = new StringBuilder("012345"); in insertintlong() local [all …]
|
D | Supplementary.java | 94 StringBuilder sb = new StringBuilder(input[i]); in test1() local 131 StringBuilder sb = new StringBuilder(input[i]); in test2() local 184 StringBuilder sb = new StringBuilder(input[i]).reverse(); in test3() local 192 StringBuilder sb = new StringBuilder(testdata1[i][0]).reverse(); in test3() local 206 StringBuilder sb = new StringBuilder(); in test4() local 234 StringBuilder sb = new StringBuilder(s); in test5() local 267 StringBuilder sb = new StringBuilder(s); in test6() local 317 StringBuilder sb = new StringBuilder(); in testDontReadOutOfBoundsTrailingSurrogate() local 332 static void testCodePoint(boolean isAt, StringBuilder sb, int index, int expected) { in testCodePoint() 340 static void testCodePoint(boolean isAt, StringBuilder sb, int index) { in testCodePoint() [all …]
|
D | CompactStringBuilder.java | 372 private void checkGetChars(StringBuilder sb, int srcBegin, int srcEnd, in checkGetChars() 379 private void checkSetCharAt(StringBuilder sb, int index, char ch, in checkSetCharAt() 385 private void checkSetLength(StringBuilder sb, int newLength, String expected) { in checkSetLength() 390 private void check(StringBuilder sb, String expected) { in check() 404 StringBuilder sb = new StringBuilder(); in escapeNonASCIIs() local
|
D | EnsureCapacity.java | 55 StringBuilder sb = new StringBuilder("abc"); in testStringBuilder() local 72 StringBuffer sb = new StringBuffer("abc"); in testStringBuffer() local
|
D | Insert.java | 39 StringBuilder sb = new StringBuilder(); in main() local
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | SpinedBufferTest.java | 67 SpinedBuffer<Integer> sb = new SpinedBuffer<>(); in createSpinedBuffer() local 88 public void testSpliterator(int[] array, SpinedBuffer<Integer> sb) { in testSpliterator() 96 public void testLastSplit(int[] array, SpinedBuffer<Integer> sb) { in testLastSplit() 121 SpinedBuffer<Integer> sb = new SpinedBuffer<>(); in testSpinedBuffer() local 153 SpinedBuffer.OfInt sb = new SpinedBuffer.OfInt(); in createIntSpinedBuffer() local 163 public void testIntSpliterator(int[] array, SpinedBuffer.OfInt sb) { in testIntSpliterator() 171 public void testIntLastSplit(int[] array, SpinedBuffer.OfInt sb) { in testIntLastSplit() 196 SpinedBuffer.OfInt sb = new SpinedBuffer.OfInt(); in testIntSpinedBuffer() local 228 SpinedBuffer.OfLong sb = new SpinedBuffer.OfLong(); in createLongSpinedBuffer() local 238 public void testLongSpliterator(long[] array, SpinedBuffer.OfLong sb) { in testLongSpliterator() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringBuilderTest.java | 24 StringBuilder sb = new StringBuilder("oarFish_"); in test_deleteChatAt_lastRange() local 38 StringBuilder sb = new StringBuilder(); in test_deleteCharAt_lastChar() local 52 StringBuilder sb = new StringBuilder("newGuineaSinging"); in test_delete_endsAtLastChar() local 68 StringBuilder sb = new StringBuilder("yeti"); in test_deleteCharAt_boundsChecks() local 84 StringBuilder sb = new StringBuilder("yeti"); in test_delete_boundsChecks() local 126 StringBuilder sb = new StringBuilder("mogwai"); in test_delete_clampsEnd() local
|
/libcore/ojluni/src/test/java/lang/String/concat/ |
D | ImplicitStringConcat.java | 122 static StringBuffer sb = new StringBuffer("a"); field in ImplicitStringConcat 142 StringBuilder sb = new StringBuilder(); in testImplicitStringConcat() local 149 StringBuilder sb = new StringBuilder(); in testImplicitStringConcat() local 156 StringBuilder sb = new StringBuilder(); in testImplicitStringConcat() local 183 StringBuilder sb = new StringBuilder(); in testImplicitStringConcat() local 200 StringBuilder sb = new StringBuilder(); in test() local
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | XMLFormatter.java | 50 private void a2(StringBuilder sb, int x) { in a2() 58 private void appendISO8601(StringBuilder sb, long millis) { in appendISO8601() 77 private void escape(StringBuilder sb, String text) { in escape() 106 StringBuilder sb = new StringBuilder(500); in format() local 232 StringBuilder sb = new StringBuilder(); in getHead() local
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
D | MatcherTest.java | 63 StringBuilder sb = new StringBuilder(); in assertAppendEvaluated() local 85 StringBuilder sb = new StringBuilder(); in assertAppendExpandedReplacement() local 108 StringBuilder sb = new StringBuilder(); in assertAppendReplacement() local
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | Vertex.java | 135 StringBuilder sb = new StringBuilder(); in certToString() local 203 StringBuilder sb = new StringBuilder("Exception: "); in throwableToString() local 220 StringBuilder sb = new StringBuilder("Last cert? "); in moreToString() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | UTFDataFormatExceptionTest.java | 34 StringBuffer sb = new StringBuffer(stringBufferSize); in test_Constructor() local 56 StringBuffer sb = new StringBuffer(stringBufferSize); in test_ConstructorLjava_lang_String() local
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
D | OldAbstractPreferencesTest.java | 92 StringBuffer sb = new StringBuffer(); in testPut() local 229 StringBuffer sb = new StringBuffer(); in testPutInt() local 295 StringBuffer sb = new StringBuffer(); in testPutLong() local 361 StringBuffer sb = new StringBuffer(); in testPutBoolean() local 425 StringBuffer sb = new StringBuffer(); in testPutFloat() local 491 StringBuffer sb = new StringBuffer(); in testPutDouble() local 563 StringBuffer sb = new StringBuffer(); in testPutByteArray() local 753 StringBuffer sb = new StringBuffer(); in testNode() local
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | StreamBuilderTest.java | 100 Stream.Builder<Integer> sb = Stream.builder(); in testAfterBuilding() local 163 IntStream.Builder sb = IntStream.builder(); in testIntAfterBuilding() local 226 LongStream.Builder sb = LongStream.builder(); in testLongAfterBuilding() local 288 DoubleStream.Builder sb = DoubleStream.builder(); in testDoubleAfterBuilding() local
|
/libcore/ojluni/src/main/java/java/beans/ |
D | PropertyChangeEvent.java | 154 StringBuilder sb = new StringBuilder(getClass().getName()); in toString() local 164 void appendTo(StringBuilder sb) { in appendTo()
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
D | BytecodeDescriptor.java | 98 StringBuilder sb = new StringBuilder(); in unparse() local 116 StringBuilder sb = new StringBuilder(); in unparseMethod() local 125 static private void unparseSig(Class<?> t, StringBuilder sb) { in unparseSig()
|