/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/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/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/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 | 93 Stream.Builder<Integer> sb = Stream.builder(); in testAfterBuilding() local 155 IntStream.Builder sb = IntStream.builder(); in testIntAfterBuilding() local 217 LongStream.Builder sb = LongStream.builder(); in testLongAfterBuilding() local 278 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()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | OldAndroidNIOTest.java | 53 ShortBuffer sb = ShortBuffer.wrap(shortArray); in testNIO_short_array() local 349 ShortBuffer sb = bb.asShortBuffer(); in byteBufferTest() local 393 private void shortBufferTest(ShortBuffer sb) { in shortBufferTest()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | PosixFilePermissions.java | 42 private static void writeBits(StringBuilder sb, boolean r, boolean w, boolean x) { in writeBits() 74 StringBuilder sb = new StringBuilder(9); in toString() local
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Executable.java | 73 void separateWithCommas(Class<?>[] types, StringBuilder sb) { in separateWithCommas() 82 void printModifiersIfNonzero(StringBuilder sb, int mask, boolean isDefault) { in printModifiersIfNonzero() 104 StringBuilder sb = new StringBuilder(); in sharedToString() local 126 abstract void specificToStringHeader(StringBuilder sb); in specificToStringHeader() 130 StringBuilder sb = new StringBuilder(); in sharedToGenericString() local 183 abstract void specificToGenericStringHeader(StringBuilder sb); in specificToGenericStringHeader()
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | ConsumerTest.java | 29 StringBuilder sb = new StringBuilder(); in testAndThen() local
|
D | LongConsumerTest.java | 26 StringBuilder sb = new StringBuilder(); in testAndThen() local
|
D | BiConsumerTest.java | 29 StringBuilder sb = new StringBuilder(); in testAndThen() local
|
D | IntConsumerTest.java | 26 StringBuilder sb = new StringBuilder(); in testAndThen() local
|
D | DoubleConsumerTest.java | 26 StringBuilder sb = new StringBuilder(); in testAndThen() local
|
/libcore/luni/src/main/java/libcore/util/ |
D | Objects.java | 33 StringBuilder sb = new StringBuilder(); in toString() local
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CollectionCertStoreParameters.java | 135 StringBuffer sb = new StringBuffer(); in toString() local
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | ParseUtil.java | 333 StringBuffer sb = new StringBuffer(); in toString() local 345 private static void appendSchemeSpecificPart(StringBuffer sb, in appendSchemeSpecificPart() 386 private static void appendAuthority(StringBuffer sb, in appendAuthority() 434 private static void appendFragment(StringBuffer sb, String fragment) { in appendFragment() 446 StringBuffer sb = null; in quote() local 490 private static void appendEncoded(StringBuffer sb, char c) { in appendEncoded() 512 private static void appendEscape(StringBuffer sb, byte b) { in appendEscape()
|