/third_party/icu/icu4c/source/test/intltest/ |
D | scientificnumberformattertest.cpp | 54 UnicodeString appendTo(prefix); in TestBasic() local 61 fmt->format(1.23456e-78, appendTo, status); in TestBasic() 66 appendTo); in TestBasic() 75 appendTo = prefix; in TestBasic() 76 fmt->format(1.23456e-78, appendTo, status); in TestBasic() 81 appendTo); in TestBasic() 89 appendTo = prefix; in TestBasic() 90 fmt3->format(1.23456e-78, appendTo, status); in TestBasic() 95 appendTo); in TestBasic() 102 UnicodeString appendTo(prefix); in TestFarsi() local [all …]
|
D | simpleformattertest.cpp | 71 UnicodeString appendTo; in TestNoArguments() local 75 fmt.format("unused", appendTo, status)); in TestNoArguments() 76 appendTo.remove(); in TestNoArguments() 81 fmt.formatAndAppend(NULL, 0, appendTo, offsets, 1, status)); in TestNoArguments() 86 fmt.formatAndReplace(NULL, 0, appendTo, NULL, 0, status)); in TestNoArguments() 107 UnicodeString appendTo; in TestOneArgument() local 111 fmt.format("1", appendTo, status)); in TestOneArgument() 116 appendTo.remove(); in TestOneArgument() 120 s.format("1", appendTo, status)); in TestOneArgument() 124 appendTo.remove(); in TestOneArgument() [all …]
|
D | numberformattesttuple.cpp | 98 UnicodeString &appendTo) { in fromEnum() argument 101 appendTo.append(table[i].str); in fromEnum() 112 const void *strPtr, UnicodeString &appendTo) { in identStr() argument 113 appendTo.append(*static_cast<const UnicodeString *>(strPtr)); in identStr() 127 const void *localePtr, UnicodeString &appendTo) { in localeToStr() argument 128 appendTo.append( in localeToStr() 163 const void *intPtr, UnicodeString &appendTo) { in intToStr() argument 169 appendTo.append((UChar)0x2D); in intToStr() 175 appendTo.append(buffer, 0, len); in intToStr() 192 const void *doublePtr, UnicodeString &appendTo) { in doubleToStr() argument [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | scientificnumberformatter.cpp | 132 UnicodeString &appendTo, in format() argument 135 return appendTo; in format() 142 appendTo.append( in format() 147 appendTo.append(preExponent); in format() 156 appendTo.append( in format() 160 appendTo.append(kSuperscriptMinusSign); in format() 162 appendTo.append( in format() 166 appendTo.append(kSuperscriptPlusSign); in format() 169 return appendTo; in format() 175 appendTo.append( in format() [all …]
|
D | number_asformat.cpp | 50 …deString& LocalizedNumberFormatterAsFormat::format(const Formattable& obj, UnicodeString& appendTo, in format() argument 52 if (U_FAILURE(status)) { return appendTo; } in format() 56 return appendTo; in format() 60 return appendTo; in format() 66 if (found && appendTo.length() != 0) { in format() 67 pos.setBeginIndex(pos.getBeginIndex() + appendTo.length()); in format() 68 pos.setEndIndex(pos.getEndIndex() + appendTo.length()); in format() 70 appendTo.append(data.toTempString(status)); in format() 71 return appendTo; in format() 74 …deString& LocalizedNumberFormatterAsFormat::format(const Formattable& obj, UnicodeString& appendTo, in format() argument [all …]
|
D | selfmt.cpp | 72 UnicodeString& appendTo, in format() argument 77 return appendTo; in format() 80 return format(obj.getString(status), appendTo, pos, status); in format() 83 return appendTo; in format() 89 UnicodeString& appendTo, in format() argument 93 return appendTo; in format() 101 return appendTo; in format() 107 appendTo.append(msgPattern.getPatternString(), in format() 110 return appendTo; in format() 113 return MessageImpl::appendSubMessageWithoutSkipSyntax(msgPattern, msgStart, appendTo); in format() [all …]
|
D | measfmt.cpp | 472 UnicodeString &appendTo, in format() argument 475 if (U_FAILURE(status)) return appendTo; in format() 481 *amount, **numberFormat, appendTo, pos, status); in format() 485 return appendTo; in format() 498 UnicodeString &appendTo, in formatMeasurePerUnit() argument 502 return appendTo; in formatMeasurePerUnit() 508 return appendTo; in formatMeasurePerUnit() 518 DecimalFormat::fieldPositionHelper(result, pos, appendTo.length(), status); in formatMeasurePerUnit() 519 appendTo.append(result.toTempString(status)); in formatMeasurePerUnit() 520 return appendTo; in formatMeasurePerUnit() [all …]
|
D | decimfmt.cpp | 513 UnicodeString& DecimalFormat::format(double number, UnicodeString& appendTo, FieldPosition& pos) co… in format() argument 515 appendTo.setToBogus(); in format() 516 return appendTo; in format() 518 if (pos.getField() == FieldPosition::DONT_CARE && fastFormatDouble(number, appendTo)) { in format() 519 return appendTo; in format() 525 fieldPositionHelper(output, pos, appendTo.length(), localStatus); in format() 526 auto appendable = UnicodeStringAppendable(appendTo); in format() 527 output.appendTo(appendable, localStatus); in format() 528 return appendTo; in format() 531 UnicodeString& DecimalFormat::format(double number, UnicodeString& appendTo, FieldPosition& pos, in format() argument [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | scientificnumberformatter.cpp | 132 UnicodeString &appendTo, in format() argument 135 return appendTo; in format() 142 appendTo.append( in format() 147 appendTo.append(preExponent); in format() 156 appendTo.append( in format() 160 appendTo.append(kSuperscriptMinusSign); in format() 162 appendTo.append( in format() 166 appendTo.append(kSuperscriptPlusSign); in format() 169 return appendTo; in format() 175 appendTo.append( in format() [all …]
|
D | number_asformat.cpp | 50 …deString& LocalizedNumberFormatterAsFormat::format(const Formattable& obj, UnicodeString& appendTo, in format() argument 52 if (U_FAILURE(status)) { return appendTo; } in format() 56 return appendTo; in format() 60 return appendTo; in format() 66 if (found && appendTo.length() != 0) { in format() 67 pos.setBeginIndex(pos.getBeginIndex() + appendTo.length()); in format() 68 pos.setEndIndex(pos.getEndIndex() + appendTo.length()); in format() 70 appendTo.append(data.string.toTempUnicodeString()); in format() 71 return appendTo; in format() 74 …deString& LocalizedNumberFormatterAsFormat::format(const Formattable& obj, UnicodeString& appendTo, in format() argument [all …]
|
D | selfmt.cpp | 72 UnicodeString& appendTo, in format() argument 77 return appendTo; in format() 80 return format(obj.getString(status), appendTo, pos, status); in format() 83 return appendTo; in format() 89 UnicodeString& appendTo, in format() argument 93 return appendTo; in format() 101 return appendTo; in format() 107 appendTo.append(msgPattern.getPatternString(), in format() 110 return appendTo; in format() 113 return MessageImpl::appendSubMessageWithoutSkipSyntax(msgPattern, msgStart, appendTo); in format() [all …]
|
D | decimfmt.cpp | 429 UnicodeString& DecimalFormat::format(double number, UnicodeString& appendTo, FieldPosition& pos) co… in format() argument 430 if (pos.getField() == FieldPosition::DONT_CARE && fastFormatDouble(number, appendTo)) { in format() 431 return appendTo; in format() 435 fieldPositionHelper(output, pos, appendTo.length(), localStatus); in format() 436 auto appendable = UnicodeStringAppendable(appendTo); in format() 437 output.appendTo(appendable); in format() 438 return appendTo; in format() 441 UnicodeString& DecimalFormat::format(double number, UnicodeString& appendTo, FieldPosition& pos, in format() argument 443 if (pos.getField() == FieldPosition::DONT_CARE && fastFormatDouble(number, appendTo)) { in format() 444 return appendTo; in format() [all …]
|
D | measfmt.cpp | 735 UnicodeString &appendTo, in format() argument 738 if (U_FAILURE(status)) return appendTo; in format() 744 *amount, **numberFormat, appendTo, pos, status); in format() 748 return appendTo; in format() 761 UnicodeString &appendTo, in formatMeasurePerUnit() argument 765 return appendTo; in formatMeasurePerUnit() 773 newMeasure, **numberFormat, appendTo, pos, status); in formatMeasurePerUnit() 781 appendTo, in formatMeasurePerUnit() 784 return appendTo; in formatMeasurePerUnit() 790 return appendTo; in formatMeasurePerUnit() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | scientificnumberformatter.cpp | 132 UnicodeString &appendTo, in format() argument 135 return appendTo; in format() 142 appendTo.append( in format() 147 appendTo.append(preExponent); in format() 156 appendTo.append( in format() 160 appendTo.append(kSuperscriptMinusSign); in format() 162 appendTo.append( in format() 166 appendTo.append(kSuperscriptPlusSign); in format() 169 return appendTo; in format() 175 appendTo.append( in format() [all …]
|
D | number_asformat.cpp | 50 …deString& LocalizedNumberFormatterAsFormat::format(const Formattable& obj, UnicodeString& appendTo, in format() argument 52 if (U_FAILURE(status)) { return appendTo; } in format() 56 return appendTo; in format() 60 return appendTo; in format() 66 if (found && appendTo.length() != 0) { in format() 67 pos.setBeginIndex(pos.getBeginIndex() + appendTo.length()); in format() 68 pos.setEndIndex(pos.getEndIndex() + appendTo.length()); in format() 70 appendTo.append(data.toTempString(status)); in format() 71 return appendTo; in format() 74 …deString& LocalizedNumberFormatterAsFormat::format(const Formattable& obj, UnicodeString& appendTo, in format() argument [all …]
|
D | selfmt.cpp | 72 UnicodeString& appendTo, in format() argument 77 return appendTo; in format() 80 return format(obj.getString(status), appendTo, pos, status); in format() 83 return appendTo; in format() 89 UnicodeString& appendTo, in format() argument 93 return appendTo; in format() 101 return appendTo; in format() 107 appendTo.append(msgPattern.getPatternString(), in format() 110 return appendTo; in format() 113 return MessageImpl::appendSubMessageWithoutSkipSyntax(msgPattern, msgStart, appendTo); in format() [all …]
|
D | measfmt.cpp | 472 UnicodeString &appendTo, in format() argument 475 if (U_FAILURE(status)) return appendTo; in format() 481 *amount, **numberFormat, appendTo, pos, status); in format() 485 return appendTo; in format() 498 UnicodeString &appendTo, in formatMeasurePerUnit() argument 502 return appendTo; in formatMeasurePerUnit() 508 return appendTo; in formatMeasurePerUnit() 518 DecimalFormat::fieldPositionHelper(result, pos, appendTo.length(), status); in formatMeasurePerUnit() 519 appendTo.append(result.toTempString(status)); in formatMeasurePerUnit() 520 return appendTo; in formatMeasurePerUnit() [all …]
|
D | decimfmt.cpp | 513 UnicodeString& DecimalFormat::format(double number, UnicodeString& appendTo, FieldPosition& pos) co… in format() argument 515 appendTo.setToBogus(); in format() 516 return appendTo; in format() 518 if (pos.getField() == FieldPosition::DONT_CARE && fastFormatDouble(number, appendTo)) { in format() 519 return appendTo; in format() 525 fieldPositionHelper(output, pos, appendTo.length(), localStatus); in format() 526 auto appendable = UnicodeStringAppendable(appendTo); in format() 527 output.appendTo(appendable, localStatus); in format() 528 return appendTo; in format() 531 UnicodeString& DecimalFormat::format(double number, UnicodeString& appendTo, FieldPosition& pos, in format() argument [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | scientificnumberformatter.cpp | 132 UnicodeString &appendTo, in format() argument 135 return appendTo; in format() 142 appendTo.append( in format() 147 appendTo.append(preExponent); in format() 156 appendTo.append( in format() 160 appendTo.append(kSuperscriptMinusSign); in format() 162 appendTo.append( in format() 166 appendTo.append(kSuperscriptPlusSign); in format() 169 return appendTo; in format() 175 appendTo.append( in format() [all …]
|
D | number_asformat.cpp | 50 …deString& LocalizedNumberFormatterAsFormat::format(const Formattable& obj, UnicodeString& appendTo, in format() argument 52 if (U_FAILURE(status)) { return appendTo; } in format() 56 return appendTo; in format() 60 return appendTo; in format() 66 if (found && appendTo.length() != 0) { in format() 67 pos.setBeginIndex(pos.getBeginIndex() + appendTo.length()); in format() 68 pos.setEndIndex(pos.getEndIndex() + appendTo.length()); in format() 70 appendTo.append(data.toTempString(status)); in format() 71 return appendTo; in format() 74 …deString& LocalizedNumberFormatterAsFormat::format(const Formattable& obj, UnicodeString& appendTo, in format() argument [all …]
|
D | selfmt.cpp | 72 UnicodeString& appendTo, in format() argument 77 return appendTo; in format() 80 return format(obj.getString(status), appendTo, pos, status); in format() 83 return appendTo; in format() 89 UnicodeString& appendTo, in format() argument 93 return appendTo; in format() 101 return appendTo; in format() 107 appendTo.append(msgPattern.getPatternString(), in format() 110 return appendTo; in format() 113 return MessageImpl::appendSubMessageWithoutSkipSyntax(msgPattern, msgStart, appendTo); in format() [all …]
|
D | measfmt.cpp | 472 UnicodeString &appendTo, in format() argument 475 if (U_FAILURE(status)) return appendTo; in format() 481 *amount, **numberFormat, appendTo, pos, status); in format() 485 return appendTo; in format() 498 UnicodeString &appendTo, in formatMeasurePerUnit() argument 502 return appendTo; in formatMeasurePerUnit() 508 return appendTo; in formatMeasurePerUnit() 518 DecimalFormat::fieldPositionHelper(result, pos, appendTo.length(), status); in formatMeasurePerUnit() 519 appendTo.append(result.toTempString(status)); in formatMeasurePerUnit() 520 return appendTo; in formatMeasurePerUnit() [all …]
|
D | decimfmt.cpp | 513 UnicodeString& DecimalFormat::format(double number, UnicodeString& appendTo, FieldPosition& pos) co… in format() argument 515 appendTo.setToBogus(); in format() 516 return appendTo; in format() 518 if (pos.getField() == FieldPosition::DONT_CARE && fastFormatDouble(number, appendTo)) { in format() 519 return appendTo; in format() 525 fieldPositionHelper(output, pos, appendTo.length(), localStatus); in format() 526 auto appendable = UnicodeStringAppendable(appendTo); in format() 527 output.appendTo(appendable, localStatus); in format() 528 return appendTo; in format() 531 UnicodeString& DecimalFormat::format(double number, UnicodeString& appendTo, FieldPosition& pos, in format() argument [all …]
|
/third_party/icu/icu4c/source/i18n/unicode/ |
D | numfmt.h | 298 UnicodeString& appendTo, 319 UnicodeString& appendTo, 366 UnicodeString& appendTo) const; 379 UnicodeString& appendTo) const; 392 UnicodeString& appendTo) const; 407 UnicodeString& appendTo, 424 UnicodeString& appendTo, 442 UnicodeString& appendTo, 458 UnicodeString& appendTo, 475 UnicodeString& appendTo, [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/ |
D | numfmt.h | 284 UnicodeString& appendTo, 305 UnicodeString& appendTo, 352 UnicodeString& appendTo) const; 365 UnicodeString& appendTo) const; 378 UnicodeString& appendTo) const; 393 UnicodeString& appendTo, 410 UnicodeString& appendTo, 428 UnicodeString& appendTo, 444 UnicodeString& appendTo, 461 UnicodeString& appendTo, [all …]
|