/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 | 32 StringBuilder sb = new StringBuilder(); in timeAppendBoolean() local 41 StringBuilder sb = new StringBuilder(); in timeAppendChar() local 51 StringBuilder sb = new StringBuilder(); in timeAppendCharArray() local 61 StringBuilder sb = new StringBuilder(); in timeAppendCharSequence() local 71 StringBuilder sb = new StringBuilder(); in timeAppendDouble() local 81 StringBuilder sb = new StringBuilder(); in timeAppendFloat() local 91 StringBuilder sb = new StringBuilder(); in timeAppendInt() local 101 StringBuilder sb = new StringBuilder(); in timeAppendLong() local 116 StringBuilder sb = new StringBuilder(); in timeAppendObject() local 126 StringBuilder sb = new StringBuilder(); in timeAppendString() local
|
D | FormatterBenchmark.java | 37 StringBuilder sb = new StringBuilder(); in timeStringBuilder_NoFormatting() local 61 StringBuilder sb = new StringBuilder(); in timeStringBuilder_OneInt() local 78 StringBuilder sb = new StringBuilder(); in timeStringBuilder_OneHexInt() local 111 StringBuilder sb = new StringBuilder(); in timeStringBuilder_OneFloat() local 127 StringBuilder sb = new StringBuilder(); in timeStringBuilder_OneString() local
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringBuilderTest.java | 22 StringBuilder sb = new StringBuilder("oarFish_"); in test_deleteChatAt_lastRange() local 36 StringBuilder sb = new StringBuilder(); in test_deleteCharAt_lastChar() local 50 StringBuilder sb = new StringBuilder("newGuineaSinging"); in test_delete_endsAtLastChar() local 66 StringBuilder sb = new StringBuilder("yeti"); in test_deleteCharAt_boundsChecks() local 82 StringBuilder sb = new StringBuilder("yeti"); in test_delete_boundsChecks() local 124 StringBuilder sb = new StringBuilder("mogwai"); in test_delete_clampsEnd() local
|
/libcore/luni/src/main/java/java/util/logging/ |
D | XMLFormatter.java | 56 StringBuilder sb = new StringBuilder(); in format() local 84 private void formatMessages(LogRecord r, StringBuilder sb) { in formatMessages() 112 private void formatThrowable(LogRecord r, StringBuilder sb) { in formatThrowable() 131 private static void append(StringBuilder sb, int indentCount, String tag, Object value) { in append() 159 StringBuilder sb = new StringBuilder(); in getHead() local
|
D | SimpleFormatter.java | 47 StringBuilder sb = new StringBuilder(); in format() local
|
/libcore/luni/src/main/java/java/sql/ |
D | Timestamp.java | 354 StringBuilder sb = new StringBuilder(29); in toString() local 356 format((getYear() + 1900), 4, sb); in toString() local 358 format((getMonth() + 1), 2, sb); in toString() local 360 format(getDate(), 2, sb); in toString() local 362 format(getHours(), 2, sb); in toString() local 364 format(getMinutes(), 2, sb); in toString() local 366 format(getSeconds(), 2, sb); in toString() local 385 private void format(int date, int digits, StringBuilder sb) { in format()
|
D | Date.java | 178 StringBuilder sb = new StringBuilder(10); in toString() local 180 format((getYear() + 1900), 4, sb); in toString() local 182 format((getMonth() + 1), 2, sb); in toString() local 184 format(getDate(), 2, sb); in toString() local 194 private void format(int date, int digits, StringBuilder sb) { in format()
|
D | Time.java | 186 StringBuilder sb = new StringBuilder(8); in toString() local 188 format(getHours(), 2, sb); in toString() local 190 format(getMinutes(), 2, sb); in toString() local 192 format(getSeconds(), 2, sb); in toString() local 202 private void format(int date, int digits, StringBuilder sb) { in format()
|
/libcore/luni/src/main/java/java/lang/ |
D | RealToString.java | 50 private static String resultOrSideEffect(AbstractStringBuilder sb, String s) { in resultOrSideEffect() 62 public void appendDouble(AbstractStringBuilder sb, double d) { in appendDouble() 66 private String convertDouble(AbstractStringBuilder sb, double inputNumber) { in convertDouble() 129 public void appendFloat(AbstractStringBuilder sb, float f) { in appendFloat() 133 public String convertFloat(AbstractStringBuilder sb, float inputNumber) { in convertFloat() 191 private void freeFormatExponential(AbstractStringBuilder sb, boolean positive) { in freeFormatExponential() 216 private void freeFormat(AbstractStringBuilder sb, boolean positive) { in freeFormat()
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
D | ExtensionValue.java | 43 public void dumpValue(StringBuilder sb, String prefix) { in dumpValue() 55 public void dumpValue(StringBuilder sb) { in dumpValue()
|
D | InhibitAnyPolicy.java | 61 @Override public void dumpValue(StringBuilder sb, String prefix) { in dumpValue()
|
D | CertificateIssuer.java | 58 @Override public void dumpValue(StringBuilder sb, String prefix) { in dumpValue()
|
D | ReasonFlags.java | 79 public void dumpValue(StringBuilder sb, String prefix) { in dumpValue()
|
D | PolicyInformation.java | 78 public void dumpValue(StringBuilder sb) { in dumpValue()
|
D | ExtendedKeyUsage.java | 73 @Override public void dumpValue(StringBuilder sb, String prefix) { in dumpValue()
|
/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 | 85 StringBuffer sb = new StringBuffer(); in testPut() local 222 StringBuffer sb = new StringBuffer(); in testPutInt() local 288 StringBuffer sb = new StringBuffer(); in testPutLong() local 354 StringBuffer sb = new StringBuffer(); in testPutBoolean() local 418 StringBuffer sb = new StringBuffer(); in testPutFloat() local 484 StringBuffer sb = new StringBuffer(); in testPutDouble() local 556 StringBuffer sb = new StringBuffer(); in testPutByteArray() local 746 StringBuffer sb = new StringBuffer(); in testNode() local
|
/libcore/support/src/test/java/tests/security/ |
D | MessageDigestTest.java | 177 StringBuilder sb = new StringBuilder(); in testfips180_2_singleblock() local 193 StringBuilder sb = new StringBuilder(); in testfips180_2_multiblock() local 209 StringBuilder sb = new StringBuilder(); in testfips180_2_longMessage() local
|
/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/luni/src/test/java/libcore/java/io/ |
D | ObjectOutputStreamTest.java | 27 StringBuilder sb = new StringBuilder(); in testLongString() local
|
/libcore/luni/src/main/native/ |
D | canonicalize_path.cpp | 91 struct stat sb; in canonicalize_path() local
|
/libcore/luni/src/main/java/java/security/cert/ |
D | CollectionCertStoreParameters.java | 98 StringBuilder sb = in toString() local
|