Home
last modified time | relevance | path

Searched refs:toAppendTo (Results 1 – 25 of 71) sorted by relevance

123

/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java66 …public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos… in format() argument
67 return fJdkNfmt.format(number, toAppendTo, pos); in format()
71 public StringBuffer format(BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
72 return fJdkNfmt.format(number.toBigDecimal(), toAppendTo, pos); in format()
76 …public StringBuffer format(java.math.BigInteger number, StringBuffer toAppendTo, FieldPosition pos… in format() argument
77 return fJdkNfmt.format(number, toAppendTo, pos); in format()
85 public StringBuffer format(CurrencyAmount currAmt, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
92 fJdkNfmt.format(currAmt.getNumber(), toAppendTo, pos); in format() local
96 return toAppendTo; in format()
102 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DLocalizedNumberFormatterAsFormat.java49 public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
60 if (found && toAppendTo.length() != 0) { in format()
61 pos.setBeginIndex(pos.getBeginIndex() + toAppendTo.length()); in format()
62 pos.setEndIndex(pos.getEndIndex() + toAppendTo.length()); in format()
64 Utility.appendTo(string, toAppendTo); in format()
65 return toAppendTo; in format()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DLocalizedNumberFormatterAsFormat.java47 public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
58 if (found && toAppendTo.length() != 0) { in format()
59 pos.setBeginIndex(pos.getBeginIndex() + toAppendTo.length()); in format()
60 pos.setEndIndex(pos.getEndIndex() + toAppendTo.length()); in format()
62 Utility.appendTo(string, toAppendTo); in format()
63 return toAppendTo; in format()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Drbnf.h793 UnicodeString& toAppendTo,
805 UnicodeString& toAppendTo,
816 UnicodeString& toAppendTo,
832 UnicodeString& toAppendTo,
848 UnicodeString& toAppendTo,
864 UnicodeString& toAppendTo,
1093 …UnicodeString& format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& s…
1094 void format(double number, NFRuleSet& rs, UnicodeString& toAppendTo, UErrorCode& status) const;
/third_party/icu/icu4c/source/i18n/unicode/
Drbnf.h795 UnicodeString& toAppendTo,
807 UnicodeString& toAppendTo,
818 UnicodeString& toAppendTo,
834 UnicodeString& toAppendTo,
850 UnicodeString& toAppendTo,
866 UnicodeString& toAppendTo,
1073 …UnicodeString& format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& s…
1074 void format(double number, NFRuleSet& rs, UnicodeString& toAppendTo, UErrorCode& status) const;
/third_party/node/deps/icu-small/source/i18n/unicode/
Drbnf.h795 UnicodeString& toAppendTo,
807 UnicodeString& toAppendTo,
818 UnicodeString& toAppendTo,
834 UnicodeString& toAppendTo,
850 UnicodeString& toAppendTo,
866 UnicodeString& toAppendTo,
1073 …UnicodeString& format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& s…
1074 void format(double number, NFRuleSet& rs, UnicodeString& toAppendTo, UErrorCode& status) const;
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Drbnf.h795 UnicodeString& toAppendTo,
807 UnicodeString& toAppendTo,
818 UnicodeString& toAppendTo,
834 UnicodeString& toAppendTo,
850 UnicodeString& toAppendTo,
866 UnicodeString& toAppendTo,
1073 …UnicodeString& format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& s…
1074 void format(double number, NFRuleSet& rs, UnicodeString& toAppendTo, UErrorCode& status) const;
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDateNumberFormat.java141 public StringBuffer format(double number, StringBuffer toAppendTo, in format() argument
147 public StringBuffer format(long numberL, StringBuffer toAppendTo, in format() argument
152 toAppendTo.append(minusSign); in format()
176 toAppendTo.append(decimalBuf, index, length); in format()
183 return toAppendTo; in format()
187 public StringBuffer format(BigInteger number, StringBuffer toAppendTo, in format() argument
193 public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, in format() argument
200 StringBuffer toAppendTo, FieldPosition pos) { in format() argument
DRelativeDateFormat.java108 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, in format() argument
149 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
153 toAppendTo.append(relativeDayString); in format()
156 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
167 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
173 toAppendTo.append(relativeDayString); in format()
175 fDateFormat.format(cal, toAppendTo, fieldPosition); in format()
179 return toAppendTo; in format()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DDateNumberFormat.java145 public StringBuffer format(double number, StringBuffer toAppendTo, in format() argument
151 public StringBuffer format(long numberL, StringBuffer toAppendTo, in format() argument
156 toAppendTo.append(minusSign); in format()
180 toAppendTo.append(decimalBuf, index, length); in format()
187 return toAppendTo; in format()
191 public StringBuffer format(BigInteger number, StringBuffer toAppendTo, in format() argument
197 public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, in format() argument
204 StringBuffer toAppendTo, FieldPosition pos) { in format() argument
DRelativeDateFormat.java111 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, in format() argument
152 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
156 toAppendTo.append(relativeDayString); in format()
159 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
170 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
176 toAppendTo.append(relativeDayString); in format()
178 fDateFormat.format(cal, toAppendTo, fieldPosition); in format()
182 return toAppendTo; in format()
/third_party/node/deps/icu-small/source/i18n/
Dformat.cpp112 UnicodeString& toAppendTo, in format() argument
115 if (U_FAILURE(status)) return toAppendTo; in format()
119 return format(obj, toAppendTo, pos, status); in format()
128 UnicodeString& toAppendTo, in format() argument
135 return toAppendTo; in format()
Drbnf.cpp1159 UnicodeString& toAppendTo, in format() argument
1162 return format((int64_t)number, toAppendTo, pos); in format()
1168 UnicodeString& toAppendTo, in format() argument
1173 format(number, defaultRuleSet, toAppendTo, status); in format()
1175 return toAppendTo; in format()
1181 UnicodeString& toAppendTo, in format() argument
1186 format(number, *defaultRuleSet, toAppendTo, status); in format()
1188 return toAppendTo; in format()
1195 UnicodeString& toAppendTo, in format() argument
1199 return format((int64_t)number, ruleSetName, toAppendTo, pos, status); in format()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dformat.cpp112 UnicodeString& toAppendTo, in format() argument
115 if (U_FAILURE(status)) return toAppendTo; in format()
119 return format(obj, toAppendTo, pos, status); in format()
128 UnicodeString& toAppendTo, in format() argument
135 return toAppendTo; in format()
Drbnf.cpp1159 UnicodeString& toAppendTo, in format() argument
1162 return format((int64_t)number, toAppendTo, pos); in format()
1168 UnicodeString& toAppendTo, in format() argument
1173 format(number, defaultRuleSet, toAppendTo, status); in format()
1175 return toAppendTo; in format()
1181 UnicodeString& toAppendTo, in format() argument
1186 format(number, *defaultRuleSet, toAppendTo, status); in format()
1188 return toAppendTo; in format()
1195 UnicodeString& toAppendTo, in format() argument
1199 return format((int64_t)number, ruleSetName, toAppendTo, pos, status); in format()
[all …]
/third_party/icu/icu4c/source/i18n/
Dformat.cpp112 UnicodeString& toAppendTo, in format() argument
115 if (U_FAILURE(status)) return toAppendTo; in format()
119 return format(obj, toAppendTo, pos, status); in format()
128 UnicodeString& toAppendTo, in format() argument
135 return toAppendTo; in format()
Drbnf.cpp1159 UnicodeString& toAppendTo, in format() argument
1162 return format((int64_t)number, toAppendTo, pos); in format()
1168 UnicodeString& toAppendTo, in format() argument
1173 format(number, defaultRuleSet, toAppendTo, status); in format()
1175 return toAppendTo; in format()
1181 UnicodeString& toAppendTo, in format() argument
1186 format(number, *defaultRuleSet, toAppendTo, status); in format()
1188 return toAppendTo; in format()
1195 UnicodeString& toAppendTo, in format() argument
1199 return format((int64_t)number, ruleSetName, toAppendTo, pos, status); in format()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dformat.cpp112 UnicodeString& toAppendTo, in format() argument
115 if (U_FAILURE(status)) return toAppendTo; in format()
119 return format(obj, toAppendTo, pos, status); in format()
128 UnicodeString& toAppendTo, in format() argument
135 return toAppendTo; in format()
Drbnf.cpp1192 UnicodeString& toAppendTo, in format() argument
1195 return format((int64_t)number, toAppendTo, pos); in format()
1201 UnicodeString& toAppendTo, in format() argument
1206 format(number, defaultRuleSet, toAppendTo, status); in format()
1208 return toAppendTo; in format()
1214 UnicodeString& toAppendTo, in format() argument
1219 format(number, *defaultRuleSet, toAppendTo, status); in format()
1221 return toAppendTo; in format()
1228 UnicodeString& toAppendTo, in format() argument
1232 return format((int64_t)number, ruleSetName, toAppendTo, pos, status); in format()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DRuleBasedNumberFormat.java1160 StringBuffer toAppendTo, in format() argument
1166 if (toAppendTo.length() == 0) { in format()
1167 toAppendTo.append(adjustForContext(format(number, defaultRuleSet))); in format()
1170 toAppendTo.append(format(number, defaultRuleSet)); in format()
1172 return toAppendTo; in format()
1189 StringBuffer toAppendTo, in format() argument
1194 if (toAppendTo.length() == 0) { in format()
1195 toAppendTo.append(adjustForContext(format(number, defaultRuleSet))); in format()
1198 toAppendTo.append(format(number, defaultRuleSet)); in format()
1200 return toAppendTo; in format()
[all …]
DNumberFormat.java257 StringBuffer toAppendTo, in format() argument
262 return format(((Long)number).longValue(), toAppendTo, pos); in format()
264 return format((BigInteger) number, toAppendTo, pos); in format()
266 return format((java.math.BigDecimal) number, toAppendTo, pos); in format()
268 return format((ohos.global.icu.math.BigDecimal) number, toAppendTo, pos); in format()
270 return format((CurrencyAmount)number, toAppendTo, pos); in format()
272 return format(((Number)number).doubleValue(), toAppendTo, pos); in format()
348 StringBuffer toAppendTo, in format() argument
356 StringBuffer toAppendTo, in format() argument
363 StringBuffer toAppendTo, in format() argument
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedNumberFormat.java1184 StringBuffer toAppendTo, in format() argument
1190 if (toAppendTo.length() == 0) { in format()
1191 toAppendTo.append(adjustForContext(format(number, defaultRuleSet))); in format()
1194 toAppendTo.append(format(number, defaultRuleSet)); in format()
1196 return toAppendTo; in format()
1214 StringBuffer toAppendTo, in format() argument
1219 if (toAppendTo.length() == 0) { in format()
1220 toAppendTo.append(adjustForContext(format(number, defaultRuleSet))); in format()
1223 toAppendTo.append(format(number, defaultRuleSet)); in format()
1225 return toAppendTo; in format()
[all …]
DNumberFormat.java270 StringBuffer toAppendTo, in format() argument
275 return format(((Long)number).longValue(), toAppendTo, pos); in format()
277 return format((BigInteger) number, toAppendTo, pos); in format()
279 return format((java.math.BigDecimal) number, toAppendTo, pos); in format()
281 return format((com.ibm.icu.math.BigDecimal) number, toAppendTo, pos); in format()
283 return format((CurrencyAmount)number, toAppendTo, pos); in format()
285 return format(((Number)number).doubleValue(), toAppendTo, pos); in format()
369 StringBuffer toAppendTo, in format() argument
378 StringBuffer toAppendTo, in format() argument
386 StringBuffer toAppendTo, in format() argument
[all …]
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java63 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
64 return fIcuNfmt.format(number, toAppendTo, pos); in format()
70 public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
71 return fIcuNfmt.format(number, toAppendTo, pos); in format()
75 public StringBuffer format(Object number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
76 return fIcuNfmt.format(number, toAppendTo, pos); in format()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestNumberFormatAPI.java224 …public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) {return null… in TestCoverage() argument
226 … public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) {return null;} in TestCoverage() argument
228 …public StringBuffer format(BigInteger number, StringBuffer toAppendTo, FieldPosition pos) {return … in TestCoverage() argument
230 …public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos… in TestCoverage() argument
232 …public StringBuffer format(com.ibm.icu.math.BigDecimal number, StringBuffer toAppendTo, FieldPosit… in TestCoverage() argument

123