/external/icu4c/test/intltest/ |
numfmtst.h | 167 static UBool equalValue(const Formattable& a, const Formattable& b); 175 void expect2(NumberFormat& fmt, const Formattable& n, const UnicodeString& str); 177 void expect3(NumberFormat& fmt, const Formattable& n, const UnicodeString& str); 179 void expect2(NumberFormat& fmt, const Formattable& n, const char* str) { 183 void expect2(NumberFormat* fmt, const Formattable& n, const UnicodeString& str, UErrorCode ec); 185 void expect2(NumberFormat* fmt, const Formattable& n, const char* str, UErrorCode ec) { 189 void expect(NumberFormat& fmt, const UnicodeString& str, const Formattable& n); 191 void expect(NumberFormat& fmt, const char *str, const Formattable& n) { 195 void expect(NumberFormat& fmt, const Formattable& n [all...] |
msfmrgts.cpp | 97 Formattable params [] = { 98 Formattable(UnicodeString("BUG")), 99 Formattable(0, Formattable::kIsDate) 113 // do we want to verify that the Formattable* array is not NULL, 192 Formattable params []= { 193 Formattable((int32_t)7) 203 Formattable *objs = messageFormatter->parse(tempBuffer, pp, count); 213 Formattable obj = objs[i]; 215 if(obj.getType() == Formattable::kString [all...] |
tsnmfmt.cpp | 20 static const char * formattableTypeName(Formattable::Type t) 23 case Formattable::kDate: return "kDate"; 24 case Formattable::kDouble: return "kDouble"; 25 case Formattable::kLong: return "kLong"; 26 case Formattable::kString: return "kString"; 27 case Formattable::kArray: return "kArray"; 28 case Formattable::kInt64: return "kInt64"; 285 Formattable number[DEPTH]; 309 if (number[i].getType() == Formattable::kLong) 311 else if (number[i].getType() == Formattable::kInt64 [all...] |
nmfmtrt.cpp | 220 test(fmt, Formattable(value)); 226 test(fmt, Formattable(value)); 230 NumberFormatRoundTripTest::test(NumberFormat *fmt, const Formattable& value) 244 Formattable n; 292 escape(s) + " P> " + (n.getType() == Formattable::kDouble ? n.getDouble() : (double)n.getLong()) 299 NumberFormatRoundTripTest::proportionalError(const Formattable& a, const Formattable& b) 321 NumberFormatRoundTripTest::typeOf(const Formattable& n, UnicodeString& result) 323 if(n.getType() == Formattable::kLong) { 326 else if(n.getType() == Formattable::kDouble) [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
msfmrgts.cpp | 100 Formattable params [] = { 101 Formattable(UnicodeString("BUG")), 102 Formattable(0, Formattable::kIsDate) 116 // do we want to verify that the Formattable* array is not NULL, 190 Formattable params []= { 191 Formattable((int32_t)7) 201 Formattable *objs = messageFormatter->parse(tempBuffer, pp, count); 211 Formattable obj = objs[i]; 213 if(obj.getType() == Formattable::kString [all...] |
tsnmfmt.cpp | 19 static const char * formattableTypeName(Formattable::Type t) 22 case Formattable::kDate: return "kDate"; 23 case Formattable::kDouble: return "kDouble"; 24 case Formattable::kLong: return "kLong"; 25 case Formattable::kString: return "kString"; 26 case Formattable::kArray: return "kArray"; 27 case Formattable::kInt64: return "kInt64"; 274 Formattable number[DEPTH]; 298 if (number[i].getType() == Formattable::kLong) 300 else if (number[i].getType() == Formattable::kInt64 [all...] |
nmfmtrt.cpp | 220 test(fmt, Formattable(value)); 226 test(fmt, Formattable(value)); 230 NumberFormatRoundTripTest::test(NumberFormat *fmt, const Formattable& value) 244 Formattable n; 292 escape(s) + " P> " + (n.getType() == Formattable::kDouble ? n.getDouble() : (double)n.getLong()) 299 NumberFormatRoundTripTest::proportionalError(const Formattable& a, const Formattable& b) 321 NumberFormatRoundTripTest::typeOf(const Formattable& n, UnicodeString& result) 323 if(n.getType() == Formattable::kLong) { 326 else if(n.getType() == Formattable::kDouble) [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
choicfmt.h | 238 * Formattable testArgs[] = {0L, "Disk A"}; 243 * Formattable fInt(i); 504 virtual UnicodeString& format(const Formattable* objs, 523 virtual UnicodeString& format(const Formattable& obj, 539 UnicodeString& format(const Formattable& obj, 581 * @param result Formattable to be set to the parse result. 590 Formattable& result, 603 * @param result Formattable to be set to the parse result. 610 Formattable& result, 725 ChoiceFormat::format(const Formattable& obj [all...] |
msgfmt.h | 56 * Formattable object; they may be passed in in an array, or as a 57 * single Formattable object which itself contains an array. Each 75 * {@link #format(const UnicodeString* argumentNames, const Formattable* arguments, 91 * {@link #format(const Formattable* source, int32_t count, UnicodeString& appendTo, FieldPosition& ignore, UErrorCode& success)}, 92 * {@link #format(const UnicodeString& pattern,const Formattable* arguments,int32_t cnt,UnicodeString& appendTo,UErrorCode& success)}, 93 * {@link #format(const Formattable& source, UnicodeString& appendTo, FieldPosition& ignore, UErrorCode& success)}, 94 * {@link #format(const Formattable* arguments, int32_t cnt, UnicodeString& appendTo, FieldPosition& status, int32_t recursionProtection,UErrorCode& success)}, 100 * template of the MessageFormat to produce an array of Formattable 112 * will be returned as a default Formattable. 135 * Formattable arguments[] = [all...] |
numfmt.h | 101 * Formattable result(-999); // initialized with error code 242 * Formattable objects with numeric types. If the Formattable 255 virtual UnicodeString& format(const Formattable& obj, 262 * Formattable objects with numeric types. If the Formattable 276 virtual UnicodeString& format(const Formattable& obj, 283 * parsing of numeric strings into Formattable objects with numeric 297 * @param result Formattable to be set to the parse result. 304 * @return A newly created Formattable* object, or NUL [all...] |
curramt.h | 47 CurrencyAmount(const Formattable& amount, const UChar* isoCode,
|
tmutamt.h | 45 TimeUnitAmount(const Formattable& number,
|
selfmt.h | 168 * Formattable args1[] = {"Kirti","female"}; 279 * If the Formattable object is not a <code>UnicodeString</code>, 291 UnicodeString& format(const Formattable& obj, 319 * @param result Formattable to be set to the parse result. 329 Formattable& result,
|
/external/chromium_org/third_party/icu/source/i18n/ |
tmutamt.cpp | 17 TimeUnitAmount::TimeUnitAmount(const Formattable& number, 27 : Measure(Formattable(amount),
|
currfmt.cpp | 53 UnicodeString& CurrencyFormat::format(const Formattable& obj, 62 Formattable& result,
|
/external/icu4c/i18n/ |
tmutamt.cpp | 17 TimeUnitAmount::TimeUnitAmount(const Formattable& number, 27 : Measure(Formattable(amount),
|
currfmt.cpp | 54 UnicodeString& CurrencyFormat::format(const Formattable& obj, 63 Formattable& result,
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldFormattableTest.java | 21 import java.util.Formattable; 26 class Mock_Formattable implements Formattable {
|
/external/icu4c/i18n/unicode/ |
choicfmt.h | 418 virtual UnicodeString& format(const Formattable* objs, 437 virtual UnicodeString& format(const Formattable& obj, 453 UnicodeString& format(const Formattable& obj, 492 * @param result Formattable to be set to the parse result. 500 Formattable& result, 510 * @param result Formattable to be set to the parse result. 516 Formattable& result, 663 ChoiceFormat::format(const Formattable& obj,
|
curramt.h | 47 CurrencyAmount(const Formattable& amount, const UChar* isoCode,
|
tmutamt.h | 45 TimeUnitAmount(const Formattable& number,
|
selfmt.h | 166 * Formattable args1[] = {"Kirti","female"}; 278 * If the Formattable object is not a <code>UnicodeString</code>, 290 UnicodeString& format(const Formattable& obj, 318 * @param result Formattable to be set to the parse result. 328 Formattable& result,
|
/external/icu4c/samples/msgfmt/answers/ |
main_2.cpp | 32 Formattable msgArgs[2];
|
main_3.cpp | 32 Formattable msgArgs[2];
|
/external/icu4c/samples/msgfmt/ |
main.cpp | 32 Formattable msgArgs[2];
|