Home
last modified time | relevance | path

Searched refs:appendTo (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/third_party/icu/icu4c/source/test/intltest/
Dscientificnumberformattertest.cpp54 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 …]
Dsimpleformattertest.cpp71 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 …]
Dnumberformattesttuple.cpp97 UnicodeString &appendTo) { in fromEnum() argument
100 appendTo.append(table[i].str); in fromEnum()
111 const void *strPtr, UnicodeString &appendTo) { in identStr() argument
112 appendTo.append(*static_cast<const UnicodeString *>(strPtr)); in identStr()
126 const void *localePtr, UnicodeString &appendTo) { in localeToStr() argument
127 appendTo.append( in localeToStr()
162 const void *intPtr, UnicodeString &appendTo) { in intToStr() argument
168 appendTo.append((UChar)0x2D); in intToStr()
174 appendTo.append(buffer, 0, len); in intToStr()
191 const void *doublePtr, UnicodeString &appendTo) { in doubleToStr() argument
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dscientificnumberformatter.cpp132 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 …]
Dnumber_asformat.cpp50 …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 …]
Dselfmt.cpp72 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 …]
Dmeasfmt.cpp472 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 …]
Ddecimfmt.cpp513 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/
Dscientificnumberformatter.cpp132 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 …]
Dnumber_asformat.cpp50 …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 …]
Dselfmt.cpp72 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 …]
Dmeasfmt.cpp472 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 …]
Ddecimfmt.cpp513 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/
Dscientificnumberformatter.cpp132 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 …]
Dnumber_asformat.cpp50 …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 …]
Dselfmt.cpp72 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 …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dscientificnumberformatter.cpp132 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 …]
Dnumber_asformat.cpp50 …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 …]
Dselfmt.cpp72 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 …]
Dmeasfmt.cpp472 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 …]
Ddecimfmt.cpp513 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/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DUtilityExtensions.java59 StringBuffer appendTo = new StringBuffer(); in formatInput() local
60 formatInput(appendTo, input, pos); in formatInput()
61 return ohos.global.icu.impl.Utility.escape(appendTo.toString()); in formatInput()
69 public static StringBuffer formatInput(StringBuffer appendTo, in formatInput() argument
84 appendTo.//append(a). in formatInput()
91 appendTo.append("INVALID Position {cs=" + in formatInput()
96 return appendTo; in formatInput()
110 public static StringBuffer formatInput(StringBuffer appendTo, in formatInput() argument
113 return formatInput(appendTo, (ReplaceableString) input, pos); in formatInput()
/third_party/node/deps/icu-small/source/i18n/unicode/
Dnumfmt.h298 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/icu/icu4c/source/i18n/unicode/
Dnumfmt.h298 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/skia/third_party/externals/icu/source/i18n/unicode/
Dnumfmt.h298 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 …]

12345678910>>...12