/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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 …]
|
/third_party/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 …]
|
/third_party/icu/icu4c/source/i18n/ |
D | double-conversion-double-to-string.h | 230 bool ToShortest(double value, StringBuilder* result_builder) const { 235 bool ToShortestSingle(float value, StringBuilder* result_builder) const { 277 StringBuilder* result_builder) const; 311 StringBuilder* result_builder) const; 352 StringBuilder* result_builder) const; 427 StringBuilder* result_builder, 434 bool HandleSpecialValues(double value, StringBuilder* result_builder) const; 440 StringBuilder* result_builder) const; 446 StringBuilder* result_builder) const;
|
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
D | double-to-string.h | 215 bool ToShortest(double value, StringBuilder* result_builder) const { in ToShortest() 220 bool ToShortestSingle(float value, StringBuilder* result_builder) const { in ToShortestSingle() 262 StringBuilder* result_builder) const; 296 StringBuilder* result_builder) const; 337 StringBuilder* result_builder) const; 409 StringBuilder* result_builder, 416 bool HandleSpecialValues(double value, StringBuilder* result_builder) const; 422 StringBuilder* result_builder) const; 428 StringBuilder* result_builder) const;
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | double-conversion-double-to-string.h | 230 bool ToShortest(double value, StringBuilder* result_builder) const { 235 bool ToShortestSingle(float value, StringBuilder* result_builder) const { 277 StringBuilder* result_builder) const; 311 StringBuilder* result_builder) const; 352 StringBuilder* result_builder) const; 427 StringBuilder* result_builder, 434 bool HandleSpecialValues(double value, StringBuilder* result_builder) const; 440 StringBuilder* result_builder) const; 446 StringBuilder* result_builder) const;
|
/third_party/node/deps/icu-small/source/i18n/ |
D | double-conversion-double-to-string.h | 255 bool ToShortest(double value, StringBuilder* result_builder) const { 260 bool ToShortestSingle(float value, StringBuilder* result_builder) const { 302 StringBuilder* result_builder) const; 336 StringBuilder* result_builder) const; 377 StringBuilder* result_builder) const; 452 StringBuilder* result_builder, 459 bool HandleSpecialValues(double value, StringBuilder* result_builder) const; 465 StringBuilder* result_builder) const; 471 StringBuilder* result_builder) const;
|
/third_party/libphonenumber/java/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()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
|
D | FilteredNormalizer2.java | 46 public StringBuilder normalize(CharSequence src, StringBuilder dest) { in normalize() 69 public StringBuilder normalizeSecondAndAppend( in normalizeSecondAndAppend() 70 StringBuilder first, CharSequence second) { in normalizeSecondAndAppend() 77 public StringBuilder append(StringBuilder first, CharSequence second) { in append() 217 StringBuilder tempDest=new StringBuilder(); in normalize() 243 private StringBuilder normalizeSecondAndAppend(StringBuilder first, CharSequence second, in normalizeSecondAndAppend() 267 StringBuilder middle=new StringBuilder( in normalizeSecondAndAppend()
|
/third_party/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()
|
D | SimpleFormatter.java | 78 StringBuilder sb = new StringBuilder(); in compileMinMaxArguments() 114 public StringBuilder formatAndAppend( in formatAndAppend() 115 StringBuilder appendTo, int[] offsets, CharSequence... values) { in formatAndAppend() 135 public StringBuilder formatAndReplace( in formatAndReplace() 136 StringBuilder result, int[] offsets, CharSequence... values) { in formatAndReplace() 151 return formatAndAppend(new StringBuilder(), null, values).toString(); in toString()
|
D | FilteredNormalizer2.java | 47 public StringBuilder normalize(CharSequence src, StringBuilder dest) { in normalize() 72 public StringBuilder normalizeSecondAndAppend( in normalizeSecondAndAppend() 73 StringBuilder first, CharSequence second) { in normalizeSecondAndAppend() 81 public StringBuilder append(StringBuilder first, CharSequence second) { in append() 231 StringBuilder tempDest=new StringBuilder(); in normalize() 257 private StringBuilder normalizeSecondAndAppend(StringBuilder first, CharSequence second, in normalizeSecondAndAppend() 281 StringBuilder middle=new StringBuilder( in normalizeSecondAndAppend()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
D | UTS46Test.java | 51 StringBuilder result=new StringBuilder(); in TestAPI() 88 StringBuilder result=new StringBuilder(); in TestNotSTD3() 114 StringBuilder result=new StringBuilder(); in TestInvalidPunycodeDigits() 163 StringBuilder result=new StringBuilder(); in TestACELabelEdgeCases() 185 StringBuilder sb = new StringBuilder(count); in TestTooLong() 577 StringBuilder aT=new StringBuilder(), uT=new StringBuilder(); in TestSomeCases() 578 StringBuilder aN=new StringBuilder(), uN=new StringBuilder(); in TestSomeCases() 582 StringBuilder aTuN=new StringBuilder(), uTaN=new StringBuilder(); in TestSomeCases() 583 StringBuilder aNuN=new StringBuilder(), uNaN=new StringBuilder(); in TestSomeCases() 587 StringBuilder aTL=new StringBuilder(), uTL=new StringBuilder(); in TestSomeCases() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/personname/ |
D | PersonNamePattern.java | 36 StringBuilder workingString = new StringBuilder(); in PersonNamePattern() 52 workingString = new StringBuilder(); in PersonNamePattern() 63 workingString = new StringBuilder(); in PersonNamePattern() 84 StringBuilder result = new StringBuilder(); in format() 88 StringBuilder textBefore = new StringBuilder(); in format() 89 StringBuilder textAfter = new StringBuilder(); in format() 163 private String coalesce(StringBuilder s1, StringBuilder s2) { in coalesce()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/ |
D | UTS46Test.java | 51 StringBuilder result=new StringBuilder(); in TestAPI() 88 StringBuilder result=new StringBuilder(); in TestNotSTD3() 483 StringBuilder aT=new StringBuilder(), uT=new StringBuilder(); in TestSomeCases() 484 StringBuilder aN=new StringBuilder(), uN=new StringBuilder(); in TestSomeCases() 488 StringBuilder aTuN=new StringBuilder(), uTaN=new StringBuilder(); in TestSomeCases() 489 StringBuilder aNuN=new StringBuilder(), uNaN=new StringBuilder(); in TestSomeCases() 493 StringBuilder aTL=new StringBuilder(), uTL=new StringBuilder(); in TestSomeCases() 494 StringBuilder aNL=new StringBuilder(), uNL=new StringBuilder(); in TestSomeCases() 827 StringBuilder uN, aN, aT; in IdnaTest() 829 nontrans.nameToUnicode(source, uN = new StringBuilder(), uNInfo = new IDNA.Info()); in IdnaTest() [all …]
|
/third_party/node/src/inspector/ |
D | node_string.h | 20 using StringBuilder = std::ostringstream; variable 25 inline void builderAppend(StringBuilder& builder, char c) { in builderAppend() 30 inline void builderAppend(StringBuilder& builder, const char* value, in builderAppend() 36 inline void builderAppend(StringBuilder& builder, const char* value) { in builderAppend() 41 inline void builderAppend(StringBuilder& builder, const String& string) { in builderAppend() 46 inline void builderReserve(StringBuilder& builder, size_t) { in builderReserve() 55 inline String builderToString(const StringBuilder& builder) { in builderToString() 67 void builderAppendQuotedString(StringBuilder& builder, const std::string_view);
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | Norm2AllModes.java | 32 public StringBuilder normalize(CharSequence src, StringBuilder dest) { in normalize() 53 public StringBuilder normalizeSecondAndAppend(StringBuilder first, CharSequence second) { in normalizeSecondAndAppend() 61 public StringBuilder append(StringBuilder first, CharSequence second) { in append() 99 public StringBuilder normalize(CharSequence src, StringBuilder dest) { in normalize() 122 public StringBuilder normalizeSecondAndAppend(StringBuilder first, CharSequence second) { in normalizeSecondAndAppend() 126 public StringBuilder append(StringBuilder first, CharSequence second) { in append() 129 public StringBuilder normalizeSecondAndAppend( in normalizeSecondAndAppend() 130 StringBuilder first, CharSequence second, boolean doNormalize) { in normalizeSecondAndAppend() 232 new Normalizer2Impl.ReorderingBuffer(impl, new StringBuilder(), 5)); in isNormalized()
|
D | SimpleFormatterImpl.java | 80 CharSequence pattern, StringBuilder sb, int min, int max) { in compileToStringMinMaxArguments() 196 return formatAndAppend(compiledPattern, new StringBuilder(), null, values).toString(); in formatCompiledPattern() 212 StringBuilder sb = new StringBuilder(); in formatRawPattern() 233 public static StringBuilder formatAndAppend( in formatAndAppend() 234 String compiledPattern, StringBuilder appendTo, int[] offsets, CharSequence... values) { in formatAndAppend() 258 public static StringBuilder formatAndReplace( in formatAndReplace() 259 String compiledPattern, StringBuilder result, int[] offsets, CharSequence... values) { in formatAndReplace() 302 StringBuilder sb = new StringBuilder(capacity); in getTextWithNoArguments() 446 private static StringBuilder format( 448 StringBuilder result, String resultCopy, boolean forbidResultAsValue,
|
D | UTS46.java | 43 public StringBuilder labelToASCII(CharSequence label, StringBuilder dest, Info info) { in labelToASCII() 48 public StringBuilder labelToUnicode(CharSequence label, StringBuilder dest, Info info) { in labelToUnicode() 53 public StringBuilder nameToASCII(CharSequence name, StringBuilder dest, Info info) { in nameToASCII() 65 public StringBuilder nameToUnicode(CharSequence name, StringBuilder dest, Info info) { in nameToUnicode() 114 private StringBuilder 117 StringBuilder dest, in process() 203 private StringBuilder 207 StringBuilder dest, in processUnicode() 266 mapDevChars(StringBuilder dest, int labelStart, int mappingStart) { in mapDevChars() 319 replaceLabel(StringBuilder dest, int destLabelStart, int destLabelLength, in replaceLabel() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Norm2AllModes.java | 25 public StringBuilder normalize(CharSequence src, StringBuilder dest) { in normalize() 46 public StringBuilder normalizeSecondAndAppend(StringBuilder first, CharSequence second) { in normalizeSecondAndAppend() 54 public StringBuilder append(StringBuilder first, CharSequence second) { in append() 89 public StringBuilder normalize(CharSequence src, StringBuilder dest) { in normalize() 112 public StringBuilder normalizeSecondAndAppend(StringBuilder first, CharSequence second) { in normalizeSecondAndAppend() 116 public StringBuilder append(StringBuilder first, CharSequence second) { in append() 119 public StringBuilder normalizeSecondAndAppend( in normalizeSecondAndAppend() 120 StringBuilder first, CharSequence second, boolean doNormalize) { in normalizeSecondAndAppend() 216 new Normalizer2Impl.ReorderingBuffer(impl, new StringBuilder(), 5)); in isNormalized()
|
D | SimpleFormatterImpl.java | 78 CharSequence pattern, StringBuilder sb, int min, int max) { in compileToStringMinMaxArguments() 194 return formatAndAppend(compiledPattern, new StringBuilder(), null, values).toString(); in formatCompiledPattern() 210 StringBuilder sb = new StringBuilder(); in formatRawPattern() 231 public static StringBuilder formatAndAppend( in formatAndAppend() 232 String compiledPattern, StringBuilder appendTo, int[] offsets, CharSequence... values) { in formatAndAppend() 256 public static StringBuilder formatAndReplace( in formatAndReplace() 257 String compiledPattern, StringBuilder result, int[] offsets, CharSequence... values) { in formatAndReplace() 300 StringBuilder sb = new StringBuilder(capacity); in getTextWithNoArguments() 443 private static StringBuilder format( 445 StringBuilder result, String resultCopy, boolean forbidResultAsValue,
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/ |
D | DataDisplayTable.java | 162 StringBuilder output = new StringBuilder(); in prettyString() 223 StringBuilder output = new StringBuilder(); in csvString() 241 StringBuilder rowString = new StringBuilder(csvFormat(header.get(0))); in csvStringArray() 250 rowString = new StringBuilder(csvFormat(row.get(0))); in csvStringArray() 279 StringBuilder debugString = new StringBuilder(); in toString() 350 StringBuilder output = new StringBuilder(frequency); in repeatCharacter()
|
/third_party/gn/src/base/json/ |
D | json_parser.cc | 126 JSONParser::StringBuilder::StringBuilder() : StringBuilder(nullptr) {} in StringBuilder() function in base::internal::JSONParser::StringBuilder 128 JSONParser::StringBuilder::StringBuilder(const char* pos) in StringBuilder() function in base::internal::JSONParser::StringBuilder 131 JSONParser::StringBuilder::~StringBuilder() = default; 133 JSONParser::StringBuilder& JSONParser::StringBuilder::operator=( 134 StringBuilder&& other) = default; 136 void JSONParser::StringBuilder::Append(uint32_t point) { in Append() 152 void JSONParser::StringBuilder::Convert() { in Convert() 158 std::string JSONParser::StringBuilder::DestructiveAsString() { in DestructiveAsString() 348 StringBuilder key; in ConsumeDictionary() 434 StringBuilder string; in ConsumeString() [all …]
|
D | json_parser.h | 89 class StringBuilder { 92 StringBuilder(); 95 explicit StringBuilder(const char* pos); 97 ~StringBuilder(); 99 StringBuilder& operator=(StringBuilder&& other); 178 bool ConsumeStringRaw(StringBuilder* out);
|