/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 …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | SimpleFormatterTest.java | 55 fmt.formatAndAppend(new StringBuilder(), offsets).toString()); in TestWithNoArguments() 63 fmt.formatAndAppend(new StringBuilder(), null, (CharSequence[])null).toString()); in TestWithNoArguments() 67 fmt.formatAndReplace(new StringBuilder(), null, (CharSequence[])null).toString()); in TestWithNoArguments() 121 new StringBuilder(), null, "freddy", "tommy", "frog", "leg"); in TestTooFewArgumentValues() 128 new StringBuilder(), null, "freddy", "tommy", "frog", "leg"); in TestTooFewArgumentValues() 152 new StringBuilder("123456: "), in TestWithArguments() 164 StringBuilder appendTo = new StringBuilder("previous:"); in TestFormatUseAppendToAsArgument() 177 StringBuilder result = new StringBuilder("original"); in TestFormatReplaceNoOptimization() 195 StringBuilder result = new StringBuilder("original"); in TestFormatReplaceNoOptimizationLeadingText() 212 StringBuilder result = new StringBuilder("original"); in TestFormatReplaceOptimization() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | SimpleFormatterTest.java | 58 fmt.formatAndAppend(new StringBuilder(), offsets).toString()); in TestWithNoArguments() 66 fmt.formatAndAppend(new StringBuilder(), null, (CharSequence[])null).toString()); in TestWithNoArguments() 70 fmt.formatAndReplace(new StringBuilder(), null, (CharSequence[])null).toString()); in TestWithNoArguments() 124 new StringBuilder(), null, "freddy", "tommy", "frog", "leg"); in TestTooFewArgumentValues() 131 new StringBuilder(), null, "freddy", "tommy", "frog", "leg"); in TestTooFewArgumentValues() 155 new StringBuilder("123456: "), in TestWithArguments() 167 StringBuilder appendTo = new StringBuilder("previous:"); in TestFormatUseAppendToAsArgument() 180 StringBuilder result = new StringBuilder("original"); in TestFormatReplaceNoOptimization() 198 StringBuilder result = new StringBuilder("original"); in TestFormatReplaceNoOptimizationLeadingText() 215 StringBuilder result = new StringBuilder("original"); in TestFormatReplaceOptimization() [all …]
|
/external/antlr/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/antlr/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/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/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/libphonenumber/repackaged/internal/prefixmapper/src/com/android/i18n/phonenumbers/prefixmapper/ |
D | MappingFileProvider.java | 130 StringBuilder output = new StringBuilder(); in toString() 170 StringBuilder fileName = new StringBuilder(); in getFileName() 180 StringBuilder fullLocale = constructFullLocale(language, script, region); in findBestMatchingLanguageCode() 197 StringBuilder langWithScript = new StringBuilder(language).append('_').append(script); in findBestMatchingLanguageCode() 203 StringBuilder langWithRegion = new StringBuilder(language).append('_').append(region); in findBestMatchingLanguageCode() 221 private StringBuilder constructFullLocale(String language, String script, String region) { in constructFullLocale() 222 StringBuilder fullLocale = new StringBuilder(language); in constructFullLocale() 228 private void appendSubsequentLocalePart(String subsequentLocalePart, StringBuilder fullLocale) { in appendSubsequentLocalePart()
|
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/ |
D | MappingFileProvider.java | 128 StringBuilder output = new StringBuilder(); in toString() 168 StringBuilder fileName = new StringBuilder(); in getFileName() 178 StringBuilder fullLocale = constructFullLocale(language, script, region); in findBestMatchingLanguageCode() 195 StringBuilder langWithScript = new StringBuilder(language).append('_').append(script); in findBestMatchingLanguageCode() 201 StringBuilder langWithRegion = new StringBuilder(language).append('_').append(region); in findBestMatchingLanguageCode() 219 private StringBuilder constructFullLocale(String language, String script, String region) { in constructFullLocale() 220 StringBuilder fullLocale = new StringBuilder(language); in constructFullLocale() 226 private void appendSubsequentLocalePart(String subsequentLocalePart, StringBuilder fullLocale) { in appendSubsequentLocalePart()
|
/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-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/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
D | Strftime.java | 23 StringBuilder buffer = new StringBuilder(); in format() 59 StringBuilder padWidthBuffer = new StringBuilder(); in format() 71 padWidthBuffer = new StringBuilder(); in format() 145 ? new StringBuilder("2") in format() 206 ? new StringBuilder("2") in format() 219 ? new StringBuilder("2") in format() 232 ? new StringBuilder("2") in format() 469 StringBuilder buffer = new StringBuilder(); in correctCase() 487 StringBuilder padWidthBuffer) { in correctPad() 501 StringBuilder buffer = new StringBuilder(); in correctPad()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | Normalizer2.java | 215 StringBuilder sb=new StringBuilder(src.length()).append(src, 0, spanLength); in normalize() 219 return normalize(src, new StringBuilder(src.length())).toString(); in normalize() 230 public abstract StringBuilder normalize(CharSequence src, StringBuilder dest); in normalize() 254 public abstract StringBuilder normalizeSecondAndAppend( in normalizeSecondAndAppend() 255 StringBuilder first, CharSequence second); in normalizeSecondAndAppend() 266 public abstract StringBuilder append(StringBuilder first, CharSequence second); in append()
|
D | SimpleFormatter.java | 77 StringBuilder sb = new StringBuilder(); in compileMinMaxArguments() 110 public StringBuilder formatAndAppend( in formatAndAppend() 111 StringBuilder appendTo, int[] offsets, CharSequence... values) { in formatAndAppend() 130 public StringBuilder formatAndReplace( in formatAndReplace() 131 StringBuilder result, int[] offsets, CharSequence... values) { in formatAndReplace() 144 return formatAndAppend(new StringBuilder(), null, values).toString(); in toString()
|
/external/icu/icu4c/source/i18n/ |
D | double-conversion.h | 172 bool ToShortest(double value, StringBuilder* result_builder) const { 177 bool ToShortestSingle(float value, StringBuilder* result_builder) const { 217 StringBuilder* result_builder) const; 249 StringBuilder* result_builder) const; 287 StringBuilder* result_builder) const; 365 StringBuilder* result_builder, 372 bool HandleSpecialValues(double value, StringBuilder* result_builder) const; 378 StringBuilder* result_builder) const; 384 StringBuilder* result_builder) const;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Normalizer2.java | 227 StringBuilder sb=new StringBuilder(src.length()).append(src, 0, spanLength); in normalize() 231 return normalize(src, new StringBuilder(src.length())).toString(); in normalize() 243 public abstract StringBuilder normalize(CharSequence src, StringBuilder dest); in normalize() 269 public abstract StringBuilder normalizeSecondAndAppend( in normalizeSecondAndAppend() 270 StringBuilder first, CharSequence second); in normalizeSecondAndAppend() 282 public abstract StringBuilder append(StringBuilder first, CharSequence second); in append()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | HelpMessages.java | 37 StringBuilder[] currentColumn = new StringBuilder[2]; 57 currentColumn[0] = new StringBuilder(); in HelpMessages() 58 currentColumn[1] = new StringBuilder(); in HelpMessages() 69 StringBuilder result = new StringBuilder(); in HelpMessages() 143 StringBuilder header = new StringBuilder(); in find() 144 StringBuilder result = new StringBuilder(); in find() 155 StringBuilder newValue = new StringBuilder(); in find()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/ |
D | com_github_javaparser_utils_Utils.txt | 4 Line 61) escapedString.append("\\n") ==> java.lang.StringBuilder.append(java.lang.String) 5 Line 64) escapedString.append("\\r") ==> java.lang.StringBuilder.append(java.lang.String) 6 Line 67) escapedString.append(c) ==> java.lang.StringBuilder.append(char) 7 Line 70) escapedString.toString() ==> java.lang.StringBuilder.toString() 9 Line 79) result.append(buffer, 0, numChars) ==> java.lang.StringBuilder.append(char[], int, int) 10 Line 82) result.toString() ==> java.lang.StringBuilder.toString() 12 Line 91) result.append(buffer, 0, numChars) ==> java.lang.StringBuilder.append(char[], int, int) 13 Line 94) result.toString() ==> java.lang.StringBuilder.toString()
|
/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/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/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/cldr/tools/java/org/unicode/cldr/util/ |
D | EmojiConstants.java | 49 return new StringBuilder() in getEmojiFromRegionCodes() 60 StringBuilder result = new StringBuilder().appendCodePoint(0x1F3F4); in getEmojiFromSubdivisionCodes() 83 StringBuilder b = new StringBuilder(); in getTagSpec() 94 StringBuilder b = new StringBuilder().appendCodePoint(0x1F3F4); in toTagSeq() 102 return EmojiConstants.appendCodePoints(new StringBuilder(), codePoints).toString(); in fromCodePoints() 105 public static StringBuilder appendCodePoints(StringBuilder b, int... codePoints) { in appendCodePoints()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/visitor/ |
D | TreeVisitorTest.java | 41 StringBuilder result = new StringBuilder(); in isValidBreadthFirstTraversal() 58 StringBuilder result = new StringBuilder(); in issue743ConcurrentModificationProblem() 75 StringBuilder result = new StringBuilder(); in isValidPreOrderTraversal() 87 StringBuilder result = new StringBuilder(); in isValidPostOrderTraversal() 146 StringBuilder result = new StringBuilder(); in isValidDirectChildrenTraversal()
|
/external/antlr/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/antlr/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()
|