Home
last modified time | relevance | path

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

12345678

/external/icu/icu4c/source/i18n/
Ddigitaffixesandpadding.cpp40 UnicodeString &appendTo, in formatInt32() argument
43 return appendTo; in formatInt32()
54 appendTo, in formatInt32()
63 prefix->format(handler, appendTo); in formatInt32()
64 formatter.formatInt32(value, handler, appendTo); in formatInt32()
65 return suffix->format(handler, appendTo); in formatInt32()
72 UnicodeString &appendTo) { in formatAffix() argument
74 affix->format(handler, appendTo); in formatAffix()
76 return appendTo; in formatAffix()
93 UnicodeString &appendTo, in format() argument
[all …]
Ddigitformatter.cpp84 UnicodeString &appendTo) { in appendField() argument
85 int32_t currentLength = appendTo.length(); in appendField()
86 appendTo.append(value); in appendField()
90 appendTo.length()); in appendField()
168 UnicodeString &appendTo) const { in format()
170 return formatNaN(handler, appendTo); in format()
173 return formatInfinity(handler, appendTo); in format()
179 int32_t intBegin = appendTo.length(); in format()
184 appendTo.append(fLocalizedDigits[0]); in format()
185 handler.addAttribute(UNUM_INTEGER_FIELD, intBegin, appendTo.length()); in format()
[all …]
Dscientificnumberformatter.cpp133 UnicodeString &appendTo, in format() argument
136 return appendTo; in format()
143 appendTo.append( in format()
148 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 …]
Daffixpatternparser.cpp316 AffixPattern::toString(UnicodeString &appendTo) const { in toString()
319 UnicodeStringAppender appender(appendTo); in toString()
356 return appendTo; in toString()
360 AffixPattern::toUserString(UnicodeString &appendTo) const { in toUserString()
363 UnicodeStringAppender appender(appendTo); in toUserString()
395 return appendTo; in toUserString()
443 AffixPattern &appendTo, in parseUserAffixString() argument
446 return appendTo; in parseUserAffixString()
452 AffixPatternAppender appender(appendTo); in parseUserAffixString()
465 appendTo.add(kPercent, 1); in parseUserAffixString()
[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.cpp735 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()
772 newMeasure, **numberFormat, appendTo, pos, status); in formatMeasurePerUnit()
780 appendTo, in formatMeasurePerUnit()
783 return appendTo; in formatMeasurePerUnit()
789 return appendTo; in formatMeasurePerUnit()
[all …]
Dplurfmt.cpp205 UnicodeString& appendTo, in format() argument
209 if (U_FAILURE(status)) return appendTo; in format()
212 return format(obj, obj.getDouble(), appendTo, pos, status); in format()
215 return appendTo; in format()
236 UnicodeString& appendTo, in format() argument
239 return format(Formattable(number), (double)number, appendTo, pos, status); in format()
244 UnicodeString& appendTo, in format() argument
247 return format(Formattable(number), (double)number, appendTo, pos, status); in format()
252 UnicodeString& appendTo, in format() argument
256 return appendTo; in format()
[all …]
Dnumfmt.cpp403 UnicodeString& appendTo, in format() argument
407 return format(number,appendTo,pos); in format()
409 return appendTo; in format()
415 UnicodeString& appendTo, in format() argument
419 return format(number,appendTo,pos); in format()
421 return appendTo; in format()
427 UnicodeString& appendTo, in format() argument
431 return format(number,appendTo,pos); in format()
433 return appendTo; in format()
528 UnicodeString& appendTo, in format() argument
[all …]
Ddecimfmtimpl.h183 UnicodeString &appendTo,
188 UnicodeString &appendTo,
193 UnicodeString &appendTo,
198 UnicodeString &appendTo,
203 UnicodeString &appendTo,
208 UnicodeString &appendTo,
213 UnicodeString &appendTo,
218 UnicodeString &appendTo,
223 UnicodeString &appendTo,
228 UnicodeString &appendTo,
[all …]
Dcompactdecimalformat.cpp251 UnicodeString& appendTo, in format() argument
254 return format(number, appendTo, pos, status); in format()
260 UnicodeString& appendTo, in format() argument
264 return appendTo; in format()
271 return appendTo; in format()
284 appendTo += unit->prefix; in format()
285 DecimalFormat::format(numberToFormat, appendTo, pos); in format()
286 appendTo += unit->suffix; in format()
287 return appendTo; in format()
293 UnicodeString& appendTo, in format() argument
[all …]
Ddigitformatter.h165 UnicodeString &appendTo) const;
179 UnicodeString &appendTo) const;
195 UnicodeString &appendTo) const;
237 UnicodeString &appendTo) const;
248 UnicodeString &appendTo) const { in formatNaN() argument
249 return fNan.format(handler, appendTo); in formatNaN()
258 UnicodeString &appendTo) const { in formatInfinity() argument
259 return fInfinity.format(handler, appendTo); in formatInfinity()
272 UnicodeString &appendTo) const;
Ddatefmt.cpp198 UnicodeString& appendTo, in format() argument
202 if (U_FAILURE(status)) return appendTo; in format()
219 return appendTo; in format()
226 return format(date, appendTo, fieldPosition); in format()
233 UnicodeString& appendTo, in format() argument
237 if (U_FAILURE(status)) return appendTo; in format()
254 return appendTo; in format()
261 return format(date, appendTo, posIter, status); in format()
269 UnicodeString& appendTo, in format() argument
275 return appendTo; in format()
[all …]
Dmsgfmt.cpp178 static UnicodeString& itos(int32_t i, UnicodeString& appendTo) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
181 appendTo.append(temp, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
182 return appendTo; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
524 MessageFormat::toPattern(UnicodeString& appendTo) const { in toPattern()
528 appendTo.setToBogus(); in toPattern()
529 return appendTo; in toPattern()
531 return appendTo.append(msgPattern.getPatternString()); in toPattern()
873 UnicodeString& appendTo, in format() argument
877 return format(source, NULL, cnt, appendTo, &ignore, success); in format()
889 UnicodeString& appendTo, in format() argument
[all …]
Dchoicfmt.cpp380 UnicodeString& appendTo, in format() argument
383 return format((double) number, appendTo, status); in format()
392 UnicodeString& appendTo, in format() argument
395 return format((double) number, appendTo, status); in format()
403 UnicodeString& appendTo, in format() argument
408 return appendTo; in format()
415 appendTo.append(msgPattern.getPatternString(), in format()
418 return appendTo; in format()
421 return MessageImpl::appendSubMessageWithoutSkipSyntax(msgPattern, msgStart, appendTo); in format()
472 UnicodeString& appendTo, in format() argument
[all …]
Ddecimfmtimpl.cpp256 UnicodeString &appendTo, in format() argument
260 return formatInt32(number, appendTo, handler, status); in format()
266 UnicodeString &appendTo, in format() argument
270 return formatInt32(number, appendTo, handler, status); in format()
276 UnicodeString &appendTo, in maybeFormatWithDigitList() argument
284 formatAdjustedDigitList(digits, appendTo, handler, status); in maybeFormatWithDigitList()
291 formatAdjustedDigitList(digits, appendTo, handler, status); in maybeFormatWithDigitList()
323 UnicodeString &appendTo, in formatInt32() argument
326 if (maybeFormatWithDigitList(number, appendTo, handler, status)) { in formatInt32()
327 return appendTo; in formatInt32()
[all …]
/external/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.cpp96 UnicodeString &appendTo) { in fromEnum() argument
99 appendTo.append(table[i].str); in fromEnum()
110 const void *strPtr, UnicodeString &appendTo) { in identStr() argument
111 appendTo.append(*static_cast<const UnicodeString *>(strPtr)); in identStr()
125 const void *localePtr, UnicodeString &appendTo) { in localeToStr() argument
126 appendTo.append( in localeToStr()
163 const void *intPtr, UnicodeString &appendTo) { in intToStr() argument
172 appendTo.append((UChar)0x2D); in intToStr()
175 appendTo.append(buffer, 0, len); in intToStr()
192 const void *doublePtr, UnicodeString &appendTo) { in doubleToStr() argument
[all …]
/external/guava/guava/src/com/google/common/base/
DJoiner.java95 public <A extends Appendable> A appendTo(A appendable, Iterable<?> parts) throws IOException { in appendTo() method in Joiner
96 return appendTo(appendable, parts.iterator()); in appendTo()
105 public <A extends Appendable> A appendTo(A appendable, Iterator<?> parts) throws IOException { in appendTo() method in Joiner
121 public final <A extends Appendable> A appendTo(A appendable, Object[] parts) throws IOException { in appendTo() method in Joiner
122 return appendTo(appendable, Arrays.asList(parts)); in appendTo()
128 public final <A extends Appendable> A appendTo( in appendTo() method in Joiner
131 return appendTo(appendable, iterable(first, second, rest)); in appendTo()
139 public final StringBuilder appendTo(StringBuilder builder, Iterable<?> parts) { in appendTo() method in Joiner
140 return appendTo(builder, parts.iterator()); in appendTo()
150 public final StringBuilder appendTo(StringBuilder builder, Iterator<?> parts) { in appendTo() method in Joiner
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dcompactdecimalformat.h123 UnicodeString& appendTo,
139 UnicodeString& appendTo,
158 UnicodeString& appendTo,
174 UnicodeString& appendTo,
189 UnicodeString& appendTo,
208 UnicodeString& appendTo,
224 UnicodeString& appendTo,
239 UnicodeString& appendTo,
258 UnicodeString& appendTo,
279 UnicodeString& appendTo,
[all …]
Dnumfmt.h285 UnicodeString& appendTo,
306 UnicodeString& appendTo,
353 UnicodeString& appendTo) const;
366 UnicodeString& appendTo) const;
379 UnicodeString& appendTo) const;
394 UnicodeString& appendTo,
411 UnicodeString& appendTo,
429 UnicodeString& appendTo,
445 UnicodeString& appendTo,
462 UnicodeString& appendTo,
[all …]
Dmeasfmt.h155 UnicodeString &appendTo,
189 UnicodeString &appendTo,
209 UnicodeString &appendTo,
363 UnicodeString &appendTo,
369 UnicodeString &appendTo,
376 UnicodeString& appendTo,
384 UnicodeString &appendTo,
392 UnicodeString &appendTo,
/external/emma/core/java12/com/vladium/emma/report/
DIItemAttribute.java45 void format (IItem item, StringBuffer appendTo); in format() argument
94 public void format (final IItem item, final StringBuffer appendTo) in format() argument
96 appendTo.append (item.getName ()); in format()
138 public void format (final IItem item, final StringBuffer appendTo) in format() argument
147 final int appendToStart = appendTo.length (); in format()
150 m_format.format (1.0F, appendTo, m_fieldPosition); in format()
152 m_format.format (n_scaled / d, appendTo, m_fieldPosition); in format()
154 final int iLimit = Math.max (1, 5 - appendTo.length () + appendToStart); in format()
155 for (int i = 0; i < iLimit; ++ i) appendTo.append (' '); in format()
157 appendTo.append ('('); in format()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUtilityExtensions.java59 StringBuffer appendTo = new StringBuffer(); in formatInput() local
60 formatInput(appendTo, input, pos); in formatInput()
61 return android.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()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/impl/
DUtilityExtensions.java57 StringBuffer appendTo = new StringBuffer(); in formatInput() local
58 formatInput(appendTo, input, pos); in formatInput()
59 return com.ibm.icu.impl.Utility.escape(appendTo.toString()); in formatInput()
67 public static StringBuffer formatInput(StringBuffer appendTo, in formatInput() argument
82 appendTo.//append(a). in formatInput()
89 appendTo.append("INVALID Position {cs=" + in formatInput()
94 return appendTo; in formatInput()
108 public static StringBuffer formatInput(StringBuffer appendTo, in formatInput() argument
111 return formatInput(appendTo, (ReplaceableString) input, pos); in formatInput()

12345678