/external/icu4c/i18n/ |
winnmfmt.h | 97 virtual void parse(const UnicodeString& text, Formattable& result, ParsePosition& parsePosition) const;
|
nfrs.h | 54 UBool parse(const UnicodeString& text, ParsePosition& pos, double upperBound, Formattable& result) const;
|
reldtfmt.h | 106 * Format an object to produce a string. This method handles Formattable 107 * objects with a UDate type. If a the Formattable object type is not a Date, 119 virtual UnicodeString& format(const Formattable& obj,
|
tmutfmt.cpp | 201 TimeUnitFormat::format(const Formattable& obj, UnicodeString& toAppendTo, 206 if (obj.getType() == Formattable::kObject) { 212 const Formattable& amtNumber = amount->getNumber(); 213 if (amtNumber.getType() == Formattable::kDouble) { 215 } else if (amtNumber.getType() == Formattable::kLong) { 228 Formattable formattable[1]; local 229 formattable[0].setDouble(number); 230 return pattern->format(formattable, 1, toAppendTo, pos, status); 240 Formattable& result [all...] |
unum.cpp | 260 Formattable numFmtbl(numSP, *status); 305 Formattable n(tempCurrAmnt); 317 parseRes(Formattable& res, 352 Formattable res; 364 Formattable res; 376 Formattable res; 397 Formattable res;
|
nfsubs.cpp | 163 Formattable& result) const; 231 Formattable& result) const; 304 Formattable& result) const; 339 Formattable& result) const 707 Formattable& result) const [all...] |
/external/icu4c/test/intltest/ |
itrbnfrt.cpp | 298 Formattable parseResult; 305 double rt = (parseResult.getType() == Formattable::kDouble) ? 325 Formattable parseResult; 332 double rt = (parseResult.getType() == Formattable::kDouble) ?
|
nmfmapts.cpp | 119 Formattable fD(d); 120 Formattable fL(l); 140 errln("ERROR: format(Formattable [double]) failed"); 147 errln("ERROR: format(Formattable [long]) failed"); 159 Formattable result1, result2, result3; 162 if(result1.getType() != Formattable::kDouble && result1.getDouble() != d) { 168 if(result2.getType() != Formattable::kDouble && result2.getDouble() != d) { 178 if(result3.getType() != Formattable::kDouble && result3.getDouble() != d) {
|
tufmtts.cpp | 69 Formattable formattable; local 70 formattable.adoptObject(source); 71 formatted = ((Format*)formats[style])->format(formattable, formatted, status); 78 Formattable result; 81 if (result != formattable) { 85 Formattable result_1; 88 if (result_1 != formattable) { 127 Formattable formattable((int32_t)2) [all...] |
intltest.cpp | 128 UnicodeString _toString(const Formattable& f) { 131 case Formattable::kDate: 144 case Formattable::kDouble: 147 case Formattable::kLong: 151 case Formattable::kInt64: 155 case Formattable::kString: 159 case Formattable::kArray: 162 const Formattable* array = f.getArray(n); 173 case Formattable::kObject: { 183 s = UnicodeString("Unknown Formattable type=") + (int32_t)f.getType() [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
nmfmapts.cpp | 119 Formattable fD(d); 120 Formattable fL(l); 140 errln("ERROR: format(Formattable [double]) failed"); 147 errln("ERROR: format(Formattable [long]) failed"); 159 Formattable result1, result2, result3; 162 if(result1.getType() != Formattable::kDouble && result1.getDouble() != d) { 168 if(result2.getType() != Formattable::kDouble && result2.getDouble() != d) { 178 if(result3.getType() != Formattable::kDouble && result3.getDouble() != d) {
|
dcfmapts.cpp | 133 Formattable fD(d); 134 Formattable fL(l); 148 errln((UnicodeString)"ERROR: format(Formattable [double]) failed"); 155 errln((UnicodeString)"ERROR: format(Formattable [long]) failed"); 164 Formattable result1, result2; 173 if(result1.getType() != Formattable::kDouble && result1.getDouble() != d) { 183 if(result2.getType() != Formattable::kDouble && result2.getDouble() != d) {
|
tufmtts.cpp | 68 Formattable formattable; local 69 formattable.adoptObject(source); 70 formatted = ((Format*)formats[style])->format(formattable, formatted, status); 77 Formattable result; 80 if (result != formattable) { 84 Formattable result_1; 87 if (result_1 != formattable) { 126 Formattable formattable((int32_t)2) [all...] |
intltest.cpp | 128 UnicodeString _toString(const Formattable& f) { 131 case Formattable::kDate: 144 case Formattable::kDouble: 147 case Formattable::kLong: 151 case Formattable::kInt64: 155 case Formattable::kString: 159 case Formattable::kArray: 162 const Formattable* array = f.getArray(n); 173 case Formattable::kObject: { 183 s = UnicodeString("Unknown Formattable type=") + (int32_t)f.getType() [all...] |
numrgts.cpp | 39 virtual UnicodeString& format(const Formattable& obj, 63 Formattable& result, 70 Formattable& result, 408 Formattable result; 411 float floatResult = (float) (result.getType() == Formattable::kDouble 431 Formattable result; 585 Formattable d; 740 Formattable d2; [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
dtitvfmt.h | 369 * Format an object to produce a string. This method handles Formattable 371 * If a the Formattable object type is not a DateInterval, 384 virtual UnicodeString& format(const Formattable& obj, 439 * date time interval strings into Formattable objects with 452 * @param result Formattable to be set to the parse result. 456 * @return A newly created Formattable* object, or NULL 462 Formattable& result, [all...] |
/external/icu4c/i18n/unicode/ |
dtitvfmt.h | 369 * Format an object to produce a string. This method handles Formattable 371 * If a the Formattable object type is not a DateInterval, 384 virtual UnicodeString& format(const Formattable& obj, 439 * date time interval strings into Formattable objects with 452 * @param result Formattable to be set to the parse result. 456 * @return A newly created Formattable* object, or NULL 462 Formattable& result, [all...] |
decimfmt.h | 102 * Formattable fmtable; 140 * Formattable fmtable; 381 * <p>If parse(UnicodeString&,Formattable&,ParsePosition&) 383 * The convenience method parse(UnicodeString&,Formattable&,UErrorCode&) [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
reldtfmt.h | 104 * Format an object to produce a string. This method handles Formattable 105 * objects with a UDate type. If a the Formattable object type is not a Date, 117 virtual UnicodeString& format(const Formattable& obj,
|
selfmt.cpp | 258 SelectFormat::format(const Formattable& obj, 265 case Formattable::kString: 400 Formattable& /*result*/,
|
plurfmt.cpp | 250 PluralFormat::format(const Formattable& obj, 260 case Formattable::kDouble: 263 case Formattable::kLong: 267 case Formattable::kInt64: 462 Formattable& /*result*/,
|
tmutfmt.cpp | 198 TimeUnitFormat::format(const Formattable& obj, UnicodeString& toAppendTo, 203 if (obj.getType() == Formattable::kObject) { 209 const Formattable& amtNumber = amount->getNumber(); 210 if (amtNumber.getType() == Formattable::kDouble) { 212 } else if (amtNumber.getType() == Formattable::kLong) { 225 Formattable formattable[1]; local 226 formattable[0].setDouble(number); 227 return pattern->format(formattable, 1, toAppendTo, pos, status); 237 Formattable& result [all...] |
nfsubs.cpp | 156 Formattable& result) const; 216 Formattable& result) const; 283 Formattable& result) const; 315 Formattable& result) const 681 Formattable& result) const [all...] |
unum.cpp | 292 Formattable numFmtbl(numSP, *status); 337 Formattable n(tempCurrAmnt); 349 parseRes(Formattable& res, 390 Formattable res; 402 Formattable res; 414 Formattable res; 435 Formattable res; 458 Formattable res; 462 if (res.getType() == Formattable::kObject &&
|
choicfmt.cpp | 673 ChoiceFormat::format(const Formattable* objs, 701 ChoiceFormat::format(const Formattable& obj, 712 Formattable& result, 741 // Parses the text and return the Formattable object. 745 Formattable& result,
|