Home
last modified time | relevance | path

Searched refs:numberFormat (Results 1 – 7 of 7) sorted by relevance

/external/icu4c/i18n/
Dplurfmt.cpp38 numberFormat(NULL), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
46 numberFormat(NULL), in PluralFormat()
54 numberFormat(NULL), in PluralFormat()
64 numberFormat(NULL), in PluralFormat()
73 numberFormat(NULL), in PluralFormat()
84 numberFormat(NULL), in PluralFormat()
95 numberFormat(NULL), in PluralFormat()
107 numberFormat(NULL), in PluralFormat()
117 numberFormat(NULL), in PluralFormat()
125 if (numberFormat != NULL) { in copyObjects()
[all …]
Dnfsubs.cpp421 : pos(_pos), ruleSet(NULL), numberFormat(NULL) in NFSubstitution()
462 this->numberFormat = new DecimalFormat(workingDescription, *sym, status); in NFSubstitution()
464 if (this->numberFormat == 0) { in NFSubstitution()
469 delete (DecimalFormat*)this->numberFormat; in NFSubstitution()
470 this->numberFormat = NULL; in NFSubstitution()
484 this->numberFormat = NULL; in NFSubstitution()
496 delete (NumberFormat*)numberFormat; numberFormat = NULL; in ~NFSubstitution()
533 && (numberFormat == NULL
534 ? (rhs.numberFormat == NULL)
535 : (*numberFormat == *rhs.numberFormat));
[all …]
Dnfsubs.h35 const DecimalFormat* numberFormat; variable
54 const DecimalFormat* getNumberFormat() const { return numberFormat; } in getNumberFormat()
Dtimezone.cpp1373 NumberFormat* numberFormat = 0; in parseCustomID() local
1394 numberFormat = NumberFormat::createInstance(success); in parseCustomID()
1398 numberFormat->setParseIntegerOnly(TRUE); in parseCustomID()
1404 numberFormat->parse(id, n, pos); in parseCustomID()
1406 delete numberFormat; in parseCustomID()
1414 delete numberFormat; in parseCustomID()
1421 numberFormat->parse(id, n, pos); in parseCustomID()
1424 delete numberFormat; in parseCustomID()
1430 delete numberFormat; in parseCustomID()
1437 numberFormat->parse(id, n, pos); in parseCustomID()
[all …]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DPhoneNumberUtil.java945 public String format(PhoneNumber number, PhoneNumberFormat numberFormat) {
953 format(number, numberFormat, formattedNumber);
961 public void format(PhoneNumber number, PhoneNumberFormat numberFormat,
967 if (numberFormat == PhoneNumberFormat.E164) {
986 formattedNumber.append(formatNsn(nationalSignificantNumber, metadata, numberFormat));
987 maybeAppendFormattedExtension(number, metadata, numberFormat, formattedNumber);
988 prefixNumberWithCountryCallingCode(countryCallingCode, numberFormat, formattedNumber);
1003 PhoneNumberFormat numberFormat,
1046 formatNsnUsingPattern(nationalSignificantNumber, numFormatCopy, numberFormat));
1048 maybeAppendFormattedExtension(number, metadata, numberFormat, formattedNumber);
[all …]
DAsYouTypeFormatter.java143 NumberFormat numberFormat = it.next(); in maybeCreateNewTemplate() local
144 String pattern = numberFormat.getPattern(); in maybeCreateNewTemplate()
148 if (createFormattingTemplate(numberFormat)) { in maybeCreateNewTemplate()
222 private String getFormattingTemplate(String numberPattern, String numberFormat) { in getFormattingTemplate() argument
235 String template = aPhoneNumber.replaceAll(numberPattern, numberFormat); in getFormattingTemplate()
/external/icu4c/i18n/unicode/
Dplurfmt.h522 NumberFormat* numberFormat; variable