Home
last modified time | relevance | path

Searched refs:formatAndAppend (Results 1 – 17 of 17) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dsimplepatternformattertest.cpp79 fmt.formatAndAppend(NULL, 0, appendTo, offsets, 1, status)); in TestNoPlaceholders()
144 assertEquals("{20}=b", "abc", fmt.formatAndAppend(values, 21, result, NULL, 0, status)); in TestBigPlaceholder()
167 fmt.formatAndAppend( in TestManyPlaceholders()
184 fmt.formatAndAppend( in TestManyPlaceholders()
200 s.formatAndAppend( in TestManyPlaceholders()
214 r.formatAndAppend( in TestManyPlaceholders()
259 fmt.formatAndAppend( in TestTooFewPlaceholderValues()
279 fmt.formatAndAppend( in TestBadArguments()
287 fmt.formatAndAppend( in TestBadArguments()
295 fmt.formatAndAppend( in TestBadArguments()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DSimplePatternFormatterTest.java57 fmt.formatAndAppend(new StringBuilder(), offsets).toString()); in TestWithNoPlaceholders()
65 fmt.formatAndAppend(new StringBuilder(), null, (CharSequence[])null).toString()); in TestWithNoPlaceholders()
117 fmt.formatAndAppend( in TestTooFewPlaceholderValues()
147 fmt.formatAndAppend( in TestWithPlaceholders()
161 fmt.formatAndAppend(appendTo, null, appendTo, "frog"); in TestFormatUseAppendToAsPlaceholder()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DSimplePatternFormatterTest.java61 fmt.formatAndAppend(new StringBuilder(), offsets).toString()); in TestWithNoPlaceholders()
69 fmt.formatAndAppend(new StringBuilder(), null, (CharSequence[])null).toString()); in TestWithNoPlaceholders()
121 fmt.formatAndAppend( in TestTooFewPlaceholderValues()
151 fmt.formatAndAppend( in TestWithPlaceholders()
165 fmt.formatAndAppend(appendTo, null, appendTo, "frog"); in TestFormatUseAppendToAsPlaceholder()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DSimplePatternFormatter.java233 return formatAndAppend(compiledPattern, new StringBuilder(), null, values).toString(); in formatCompiledPattern()
250 public StringBuilder formatAndAppend( in formatAndAppend() method in SimplePatternFormatter
252 return formatAndAppend(compiledPattern, appendTo, offsets, values); in formatAndAppend()
270 public static StringBuilder formatAndAppend( in formatAndAppend() method in SimplePatternFormatter
360 return formatAndAppend(new StringBuilder(), null, values).toString(); in toString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSimplePatternFormatter.java231 return formatAndAppend(compiledPattern, new StringBuilder(), null, values).toString(); in formatCompiledPattern()
248 public StringBuilder formatAndAppend( in formatAndAppend() method in SimplePatternFormatter
250 return formatAndAppend(compiledPattern, appendTo, offsets, values); in formatAndAppend()
268 public static StringBuilder formatAndAppend( in formatAndAppend() method in SimplePatternFormatter
358 return formatAndAppend(new StringBuilder(), null, values).toString(); in toString()
/external/icu/icu4c/source/common/
Dsimplepatternformatter.cpp161 return formatAndAppend(values, 1, appendTo, NULL, 0, errorCode); in format()
169 return formatAndAppend(values, 2, appendTo, NULL, 0, errorCode); in format()
178 return formatAndAppend(values, 3, appendTo, NULL, 0, errorCode); in format()
181 UnicodeString& SimplePatternFormatter::formatAndAppend( in formatAndAppend() function in SimplePatternFormatter
Dsimplepatternformatter.h183 UnicodeString &formatAndAppend(
/external/messageformat/java/com/ibm/icu/simple/
DMessageFormat.java1538 dest.formatAndAppend(pluralNumber.formatter, in format()
1541 dest.formatAndAppend(getStockNumberFormatter(), pluralNumber.number); in format()
1600 … dest.formatAndAppend(pluralNumber.formatter, pluralNumber.number, pluralNumber.numberString); in format()
1604 dest.formatAndAppend(pluralNumber.formatter, arg); in format()
1609 dest.formatAndAppend(formatter, arg); in format()
1618 dest.formatAndAppend(getStockNumberFormatter(), arg); in format()
1621 dest.formatAndAppend(getStockDateFormatter(), arg); in format()
2450 public void formatAndAppend(Format formatter, Object arg) { in formatAndAppend() method in MessageFormat.AppendableWrapper
2479 public void formatAndAppend(Format formatter, Object arg, String argString) { in formatAndAppend() method in MessageFormat.AppendableWrapper
2483 formatAndAppend(formatter, arg); in formatAndAppend()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessageFormat.java1620 dest.formatAndAppend(pluralNumber.formatter, in format()
1623 dest.formatAndAppend(getStockNumberFormatter(), pluralNumber.number); in format()
1668 … dest.formatAndAppend(pluralNumber.formatter, pluralNumber.number, pluralNumber.numberString); in format()
1672 dest.formatAndAppend(pluralNumber.formatter, arg); in format()
1695 dest.formatAndAppend(formatter, arg); in format()
1698 dest.formatAndAppend(formatter, arg); in format()
1707 dest.formatAndAppend(getStockNumberFormatter(), arg); in format()
1710 dest.formatAndAppend(getStockDateFormatter(), arg); in format()
2607 public void formatAndAppend(Format formatter, Object arg) { in formatAndAppend() method in MessageFormat.AppendableWrapper
2636 public void formatAndAppend(Format formatter, Object arg, String argString) { in formatAndAppend() method in MessageFormat.AppendableWrapper
[all …]
DQuantityFormatter.java126 SimplePatternFormatter.formatAndAppend(compiledPattern, appendTo, offsets, value); in format()
DMeasureFormat.java1001 SimplePatternFormatter.formatAndAppend(perUnitPattern, appendTo, offsets, formatted); in withPerUnitAndAppend()
1007 SimplePatternFormatter.formatAndAppend( in withPerUnitAndAppend()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessageFormat.java1576 dest.formatAndAppend(pluralNumber.formatter, in format()
1579 dest.formatAndAppend(getStockNumberFormatter(), pluralNumber.number); in format()
1624 … dest.formatAndAppend(pluralNumber.formatter, pluralNumber.number, pluralNumber.numberString); in format()
1628 dest.formatAndAppend(pluralNumber.formatter, arg); in format()
1651 dest.formatAndAppend(formatter, arg); in format()
1654 dest.formatAndAppend(formatter, arg); in format()
1663 dest.formatAndAppend(getStockNumberFormatter(), arg); in format()
1666 dest.formatAndAppend(getStockDateFormatter(), arg); in format()
2562 public void formatAndAppend(Format formatter, Object arg) { in formatAndAppend() method in MessageFormat.AppendableWrapper
2591 public void formatAndAppend(Format formatter, Object arg, String argString) { in formatAndAppend() method in MessageFormat.AppendableWrapper
[all …]
DQuantityFormatter.java127 SimplePatternFormatter.formatAndAppend(compiledPattern, appendTo, offsets, value); in format()
DMeasureFormat.java974 SimplePatternFormatter.formatAndAppend(perUnitPattern, appendTo, offsets, formatted); in withPerUnitAndAppend()
980 SimplePatternFormatter.formatAndAppend( in withPerUnitAndAppend()
/external/icu/icu4c/source/i18n/
Dmsgfmt.cpp201 void formatAndAppend(const Format* formatter, const Formattable& arg, UErrorCode& ec) { in formatAndAppend() function in AppendableWrapper
208 void formatAndAppend(const Format* formatter, const Formattable& arg, in formatAndAppend() function in AppendableWrapper
215 formatAndAppend(formatter, arg, ec); in formatAndAppend()
1026 appendTo.formatAndAppend(pluralNumber.formatter, in format()
1030 appendTo.formatAndAppend(nf, pluralNumber.number, success); in format()
1071 appendTo.formatAndAppend(pluralNumber.formatter, pluralNumber.number, in format()
1076 appendTo.formatAndAppend(pluralNumber.formatter, *arg, success); in format()
1097 appendTo.formatAndAppend(formatter, *arg, success); in format()
1105 appendTo.formatAndAppend(nf, *arg, success); in format()
1108 appendTo.formatAndAppend(df, *arg, success); in format()
Dquantityformatter.cpp186 pattern.formatAndAppend(&param, 1, appendTo, &offset, 1, status); in format()
Dmeasfmt.cpp1112 perUnitFormatter->formatAndAppend( in withPerUnitAndAppend()
1130 perFormatter->formatAndAppend( in withPerUnitAndAppend()