/external/caliper/examples/src/main/java/examples/ |
D | StringBuilderBenchmark.java | 32 StringBuilder sb = new StringBuilder(); in appendBoolean() 44 StringBuilder sb = new StringBuilder(); in appendChar() 54 StringBuilder sb = new StringBuilder(); in appendCharArray() 64 StringBuilder sb = new StringBuilder(); in appendCharSequence() 74 StringBuilder sb = new StringBuilder(); in appendDouble() 84 StringBuilder sb = new StringBuilder(); in appendFloat() 94 StringBuilder sb = new StringBuilder(); in appendInt() 104 StringBuilder sb = new StringBuilder(); in appendLong() 114 StringBuilder sb = new StringBuilder(); in appendObject() 124 StringBuilder sb = new StringBuilder(); in appendString() [all …]
|
D | FormatterBenchmark.java | 36 StringBuilder sb = new StringBuilder(); in stringBuilder_NoFormatting() 51 StringBuilder sb = new StringBuilder(); in stringBuilder_OneInt() 68 StringBuilder sb = new StringBuilder(); in stringBuilder_OneString()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | SimplePatternFormatterTest.java | 61 fmt.formatAndAppend(new StringBuilder(), offsets).toString()); in TestWithNoPlaceholders() 69 fmt.formatAndAppend(new StringBuilder(), null, (CharSequence[])null).toString()); in TestWithNoPlaceholders() 73 fmt.formatAndReplace(new StringBuilder(), null, (CharSequence[])null).toString()); in TestWithNoPlaceholders() 122 new StringBuilder(), null, "freddy", "tommy", "frog", "leg"); in TestTooFewPlaceholderValues() 129 new StringBuilder(), null, "freddy", "tommy", "frog", "leg"); in TestTooFewPlaceholderValues() 152 new StringBuilder("123456: "), in TestWithPlaceholders() 163 StringBuilder appendTo = new StringBuilder("previous:"); in TestFormatUseAppendToAsPlaceholder() 175 StringBuilder result = new StringBuilder("original"); in TestFormatReplaceNoOptimization() 192 StringBuilder result = new StringBuilder("original"); in TestFormatReplaceNoOptimizationLeadingText() 208 StringBuilder result = new StringBuilder("original"); in TestFormatReplaceOptimization() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | SimplePatternFormatterTest.java | 57 fmt.formatAndAppend(new StringBuilder(), offsets).toString()); in TestWithNoPlaceholders() 65 fmt.formatAndAppend(new StringBuilder(), null, (CharSequence[])null).toString()); in TestWithNoPlaceholders() 69 fmt.formatAndReplace(new StringBuilder(), null, (CharSequence[])null).toString()); in TestWithNoPlaceholders() 118 new StringBuilder(), null, "freddy", "tommy", "frog", "leg"); in TestTooFewPlaceholderValues() 125 new StringBuilder(), null, "freddy", "tommy", "frog", "leg"); in TestTooFewPlaceholderValues() 148 new StringBuilder("123456: "), in TestWithPlaceholders() 159 StringBuilder appendTo = new StringBuilder("previous:"); in TestFormatUseAppendToAsPlaceholder() 171 StringBuilder result = new StringBuilder("original"); in TestFormatReplaceNoOptimization() 188 StringBuilder result = new StringBuilder("original"); in TestFormatReplaceNoOptimizationLeadingText() 204 StringBuilder result = new StringBuilder("original"); in TestFormatReplaceOptimization() [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
D | StringBuilder.java | 27 public class StringBuilder implements Appendable, CharSequence { class 61 public StringBuilder () { in StringBuilder() method in StringBuilder 70 public StringBuilder (int capacity) { in StringBuilder() method in StringBuilder 82 public StringBuilder (CharSequence seq) { in StringBuilder() method in StringBuilder 86 public StringBuilder (StringBuilder builder) { in StringBuilder() method in StringBuilder 97 public StringBuilder (String string) { in StringBuilder() method in StringBuilder 708 public StringBuilder append (boolean b) { in append() 719 public StringBuilder append (char c) { in append() 730 public StringBuilder append (int value) { in append() 741 public StringBuilder append (int value, int minLength) { in append() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | SimplePatternFormatter.java | 98 StringBuilder sb = new StringBuilder(); in compileMinMaxPlaceholders() 112 CharSequence pattern, StringBuilder sb, int min, int max) { in compileToStringMinMaxPlaceholders() 233 return formatAndAppend(compiledPattern, new StringBuilder(), null, values).toString(); in formatCompiledPattern() 250 public StringBuilder formatAndAppend( in formatAndAppend() 251 StringBuilder appendTo, int[] offsets, CharSequence... values) { in formatAndAppend() 270 public static StringBuilder formatAndAppend( in formatAndAppend() 271 String compiledPattern, StringBuilder appendTo, int[] offsets, CharSequence... values) { in formatAndAppend() 294 public StringBuilder formatAndReplace( in formatAndReplace() 295 StringBuilder result, int[] offsets, CharSequence... values) { in formatAndReplace() 315 public static StringBuilder formatAndReplace( in formatAndReplace() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | SimplePatternFormatter.java | 96 StringBuilder sb = new StringBuilder(); in compileMinMaxPlaceholders() 110 CharSequence pattern, StringBuilder sb, int min, int max) { in compileToStringMinMaxPlaceholders() 231 return formatAndAppend(compiledPattern, new StringBuilder(), null, values).toString(); in formatCompiledPattern() 248 public StringBuilder formatAndAppend( in formatAndAppend() 249 StringBuilder appendTo, int[] offsets, CharSequence... values) { in formatAndAppend() 268 public static StringBuilder formatAndAppend( in formatAndAppend() 269 String compiledPattern, StringBuilder appendTo, int[] offsets, CharSequence... values) { in formatAndAppend() 292 public StringBuilder formatAndReplace( in formatAndReplace() 293 StringBuilder result, int[] offsets, CharSequence... values) { in formatAndReplace() 313 public static StringBuilder formatAndReplace( in formatAndReplace() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | StringBuilderExtensions.cs | 35 using StringBuilder = System.Text.StringBuilder; typedef 44 public static void append<T>( this StringBuilder buffer, T value ) in append() 50 public static char charAt( this StringBuilder buffer, int index ) in charAt() 56 public static int length( this StringBuilder buffer ) in length() 62 public static void setCharAt( this StringBuilder buffer, int index, char c ) in setCharAt() 68 public static void setLength( this StringBuilder buffer, int length ) in setLength()
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
D | DebugEventSocketProxy.cs | 42 using StringBuilder = System.Text.StringBuilder; typedef 221 StringBuilder buf = new StringBuilder(50); in RecognitionException() 243 StringBuilder buf = new StringBuilder(50); in SemanticPredicate() 253 StringBuilder buf = new StringBuilder(50); in ConsumeNode() 263 StringBuilder buf = new StringBuilder(50); in LT() 270 protected virtual void SerializeNode(StringBuilder buf, object t) { in SerializeNode() 308 StringBuilder buf = new StringBuilder(50); in ErrorNode() 321 StringBuilder buf = new StringBuilder(50); in CreateNode() 359 StringBuilder buf = new StringBuilder(50); in SerializeToken() 373 protected virtual void SerializeText(StringBuilder buf, string text) { in SerializeText()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
D | DebugEventSocketProxy.cs | 41 using StringBuilder = System.Text.StringBuilder; typedef 255 StringBuilder buf = new StringBuilder( 50 ); in RecognitionException() 280 StringBuilder buf = new StringBuilder( 50 ); in SemanticPredicate() 291 StringBuilder buf = new StringBuilder( 50 ); in ConsumeNode() 302 StringBuilder buf = new StringBuilder( 50 ); in LT() 309 protected virtual void SerializeNode( StringBuilder buf, object t ) in SerializeNode() 351 StringBuilder buf = new StringBuilder( 50 ); in ErrorNode() 365 StringBuilder buf = new StringBuilder( 50 ); in CreateNode() 408 StringBuilder buf = new StringBuilder( 50 ); in SerializeToken() 422 protected virtual void SerializeText( StringBuilder buf, string text ) in SerializeText()
|
/external/jetty/src/java/org/eclipse/jetty/util/log/ |
D | StdErrLog.java | 211 StringBuilder dense = new StringBuilder(); in condensePackageString() 276 StringBuilder buffer = new StringBuilder(64); in warn() 291 StringBuilder buffer = new StringBuilder(64); in warn() 301 StringBuilder buffer = new StringBuilder(64); in info() 316 StringBuilder buffer = new StringBuilder(64); in info() 383 StringBuilder buffer = new StringBuilder(64); in debug() 398 StringBuilder buffer = new StringBuilder(64); in debug() 404 private void format(StringBuilder buffer, String level, String msg, Object... args) in format() 412 private void format(StringBuilder buffer, String level, String msg, Throwable thrown) in format() 425 private void tag(StringBuilder buffer, String d, int ms, String tag) in tag() [all …]
|
/external/jetty/src/java/org/eclipse/jetty/util/ |
D | Utf8StringBuilder.java | 37 final StringBuilder _buffer; 41 super(new StringBuilder()); in Utf8StringBuilder() 42 _buffer=(StringBuilder)_appendable; in Utf8StringBuilder() 47 super(new StringBuilder(capacity)); in Utf8StringBuilder() 48 _buffer=(StringBuilder)_appendable; in Utf8StringBuilder() 64 public StringBuilder getStringBuilder() in getStringBuilder()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Normalizer2.java | 224 StringBuilder sb=new StringBuilder(src.length()).append(src, 0, spanLength); in normalize() 227 return normalize(src, new StringBuilder(src.length())).toString(); in normalize() 239 public abstract StringBuilder normalize(CharSequence src, StringBuilder dest); in normalize() 265 public abstract StringBuilder normalizeSecondAndAppend( in normalizeSecondAndAppend() 266 StringBuilder first, CharSequence second); in normalizeSecondAndAppend() 278 public abstract StringBuilder append(StringBuilder first, CharSequence second); in append()
|
D | FilteredNormalizer2.java | 45 public StringBuilder normalize(CharSequence src, StringBuilder dest) { in normalize() 70 public StringBuilder normalizeSecondAndAppend( in normalizeSecondAndAppend() 71 StringBuilder first, CharSequence second) { in normalizeSecondAndAppend() 79 public StringBuilder append(StringBuilder first, CharSequence second) { in append() 229 StringBuilder tempDest=new StringBuilder(); in normalize() 255 private StringBuilder normalizeSecondAndAppend(StringBuilder first, CharSequence second, in normalizeSecondAndAppend() 279 StringBuilder middle=new StringBuilder( in normalizeSecondAndAppend()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | Normalizer2.java | 212 StringBuilder sb=new StringBuilder(src.length()).append(src, 0, spanLength); in normalize() 215 return normalize(src, new StringBuilder(src.length())).toString(); in normalize() 226 public abstract StringBuilder normalize(CharSequence src, StringBuilder dest); in normalize() 250 public abstract StringBuilder normalizeSecondAndAppend( in normalizeSecondAndAppend() 251 StringBuilder first, CharSequence second); in normalizeSecondAndAppend() 262 public abstract StringBuilder append(StringBuilder first, CharSequence second); in append()
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
D | JoinerBenchmark.java | 82 StringBuilder sb = new StringBuilder(); in joinerInlined() 104 StringBuilder sb = new StringBuilder(); in stringBuilderIsEmpty() 123 StringBuilder sb = new StringBuilder(); in booleanIfFirst() 144 StringBuilder sb = new StringBuilder(); in assignDelimiter() 163 StringBuilder sb = new StringBuilder(); in alwaysAppendThenBackUp()
|
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/ |
D | MappingFileProvider.java | 128 StringBuilder output = new StringBuilder(); in toString() 166 StringBuilder fileName = new StringBuilder(); in getFileName() 176 StringBuilder fullLocale = constructFullLocale(language, script, region); in findBestMatchingLanguageCode() 193 StringBuilder langWithScript = new StringBuilder(language).append('_').append(script); in findBestMatchingLanguageCode() 199 StringBuilder langWithRegion = new StringBuilder(language).append('_').append(region); in findBestMatchingLanguageCode() 217 private StringBuilder constructFullLocale(String language, String script, String region) { in constructFullLocale() 218 StringBuilder fullLocale = new StringBuilder(language); in constructFullLocale() 224 private void appendSubsequentLocalePart(String subsequentLocalePart, StringBuilder fullLocale) { in appendSubsequentLocalePart()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | ParseTree.cs | 37 using StringBuilder = System.Text.StringBuilder; typedef 126 StringBuilder buf = new StringBuilder(); in ToStringWithHiddenTokens() 148 StringBuilder buf = new StringBuilder(); in ToInputString() 153 protected virtual void ToStringLeaves( StringBuilder buf ) in ToStringLeaves()
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | ParseTree.cs | 36 using StringBuilder = System.Text.StringBuilder; typedef 106 StringBuilder buf = new StringBuilder(); in ToStringWithHiddenTokens() 125 StringBuilder buf = new StringBuilder(); in ToInputString() 130 protected virtual void ToStringLeaves(StringBuilder buf) { in ToStringLeaves()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | AppendableWriterTest.java | 35 StringBuilder result = new StringBuilder(); 62 StringBuilder builder = new StringBuilder(); in testWriteMethods() 76 StringBuilder builder = new StringBuilder(); in testAppendMethods() 105 StringBuilder builder = new StringBuilder(); in testCloseIsFinal()
|
/external/guava/guava/src/com/google/common/base/ |
D | Joiner.java | 139 public final StringBuilder appendTo(StringBuilder builder, Iterable<?> parts) { in appendTo() 150 public final StringBuilder appendTo(StringBuilder builder, Iterator<?> parts) { in appendTo() 164 public final StringBuilder appendTo(StringBuilder builder, Object[] parts) { in appendTo() 173 public final StringBuilder appendTo( in appendTo() 174 StringBuilder builder, @Nullable Object first, @Nullable Object second, Object... rest) { in appendTo() 193 return appendTo(new StringBuilder(), parts).toString(); in join() 321 public StringBuilder appendTo(StringBuilder builder, Map<?, ?> map) { 379 public StringBuilder appendTo(StringBuilder builder, Iterable<? extends Entry<?, ?>> entries) { 391 public StringBuilder appendTo(StringBuilder builder, Iterator<? extends Entry<?, ?>> entries) { 419 return appendTo(new StringBuilder(), entries).toString();
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | JoinerTest.java | 131 StringBuilder sb1FromIterable = new StringBuilder(); in checkNoOutput() 135 StringBuilder sb1FromIterator = new StringBuilder(); in checkNoOutput() 139 StringBuilder sb2 = new StringBuilder(); in checkNoOutput() 181 StringBuilder sb1FromIterable = new StringBuilder().append('x'); in checkResult() 185 StringBuilder sb1FromIterator = new StringBuilder().append('x'); in checkResult() 192 StringBuilder sb2 = new StringBuilder().append('x'); in checkResult() 205 StringBuilder sb3 = new StringBuilder().append('x'); in checkResult() 255 StringBuilder sb = new StringBuilder(); in testMap() 289 StringBuilder sb1 = new StringBuilder(); in testEntries() 293 StringBuilder sb2 = new StringBuilder(); in testEntries()
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_Exec.java | 67 StringBuilder output = new StringBuilder(); in run() 86 ((StringBuilder) arr[1]).toString() in run() 118 StringBuilder output = new StringBuilder(); in getProcessOutput() 141 StringBuilder errBuf = (StringBuilder) execArgs[1]; in checkStderr() 163 StringBuilder classPathString = new StringBuilder(); in execJavaCommon() 164 StringBuilder command; in execJavaCommon() 218 StringBuilder commandLine; in exec() 220 commandLine = new StringBuilder(args.get(0)); in exec() 234 final StringBuilder errBuf = new StringBuilder(); in exec()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | JoinerTest.java | 133 StringBuilder sb1FromIterable = new StringBuilder(); in checkNoOutput() 137 StringBuilder sb1FromIterator = new StringBuilder(); in checkNoOutput() 141 StringBuilder sb2 = new StringBuilder(); in checkNoOutput() 183 StringBuilder sb1FromIterable = new StringBuilder().append('x'); in checkResult() 187 StringBuilder sb1FromIterator = new StringBuilder().append('x'); in checkResult() 194 StringBuilder sb2 = new StringBuilder().append('x'); in checkResult() 207 StringBuilder sb3 = new StringBuilder().append('x'); in checkResult() 257 StringBuilder sb = new StringBuilder(); in testMap() 291 StringBuilder sb1 = new StringBuilder(); in testEntries() 295 StringBuilder sb2 = new StringBuilder(); in testEntries()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/ |
D | SQLite.java | 29 StringBuilder sb = new StringBuilder(); in buildInsertString() 57 StringBuilder sb = new StringBuilder(); in buildUpdateString() 88 StringBuilder sb = new StringBuilder(); in buildDeleteString() 146 StringBuilder clause = new StringBuilder("("); in buildColumnValuesClause() 175 StringBuilder clause = new StringBuilder(); in buildColumnAssignmentsClause()
|