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()
74 numberFormat(NULL), in PluralFormat()
83 numberFormat(NULL), in PluralFormat()
94 numberFormat(NULL), in PluralFormat()
105 numberFormat(NULL), in PluralFormat()
117 numberFormat(NULL), in PluralFormat()
129 numberFormat(NULL), in PluralFormat()
[all …]
Dnfsubs.cpp447 : pos(_pos), ruleSet(NULL), numberFormat(NULL) in NFSubstitution()
488 this->numberFormat = new DecimalFormat(workingDescription, *sym, status); in NFSubstitution()
490 if (this->numberFormat == 0) { in NFSubstitution()
495 delete (DecimalFormat*)this->numberFormat; in NFSubstitution()
496 this->numberFormat = NULL; in NFSubstitution()
510 this->numberFormat = NULL; in NFSubstitution()
522 delete (NumberFormat*)numberFormat; numberFormat = NULL; in ~NFSubstitution()
559 && (numberFormat == NULL
560 ? (rhs.numberFormat == NULL)
561 : (*numberFormat == *rhs.numberFormat));
[all …]
Dnfsubs.h35 const DecimalFormat* numberFormat; variable
54 const DecimalFormat* getNumberFormat() const { return numberFormat; } in getNumberFormat()
Dtimezone.cpp1347 NumberFormat* numberFormat = 0; in parseCustomID() local
1368 numberFormat = NumberFormat::createInstance(success); in parseCustomID()
1372 numberFormat->setParseIntegerOnly(TRUE); in parseCustomID()
1378 numberFormat->parse(id, n, pos); in parseCustomID()
1380 delete numberFormat; in parseCustomID()
1388 delete numberFormat; in parseCustomID()
1395 numberFormat->parse(id, n, pos); in parseCustomID()
1398 delete numberFormat; in parseCustomID()
1404 delete numberFormat; in parseCustomID()
1411 numberFormat->parse(id, n, pos); in parseCustomID()
[all …]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DAsYouTypeFormatter.java153 NumberFormat numberFormat = it.next(); in maybeCreateNewTemplate() local
154 String pattern = numberFormat.getPattern(); in maybeCreateNewTemplate()
158 if (createFormattingTemplate(numberFormat)) { in maybeCreateNewTemplate()
162 numberFormat.getNationalPrefixFormattingRule()).find(); in maybeCreateNewTemplate()
240 private String getFormattingTemplate(String numberPattern, String numberFormat) { in getFormattingTemplate() argument
253 String template = aPhoneNumber.replaceAll(numberPattern, numberFormat); in getFormattingTemplate()
419 for (NumberFormat numberFormat : possibleFormats) { in attemptToFormatAccruedDigits()
420 Matcher m = regexCache.getPatternForRegex(numberFormat.getPattern()).matcher(nationalNumber); in attemptToFormatAccruedDigits()
424 numberFormat.getNationalPrefixFormattingRule()).find(); in attemptToFormatAccruedDigits()
425 String formattedNumber = m.replaceAll(numberFormat.getFormat()); in attemptToFormatAccruedDigits()
DPhoneNumberUtil.java1007 public String format(PhoneNumber number, PhoneNumberFormat numberFormat) {
1020 format(number, numberFormat, formattedNumber);
1028 public void format(PhoneNumber number, PhoneNumberFormat numberFormat,
1034 if (numberFormat == PhoneNumberFormat.E164) {
1054 formattedNumber.append(formatNsn(nationalSignificantNumber, metadata, numberFormat));
1055 maybeAppendFormattedExtension(number, metadata, numberFormat, formattedNumber);
1056 prefixNumberWithCountryCallingCode(countryCallingCode, numberFormat, formattedNumber);
1071 PhoneNumberFormat numberFormat,
1115 formatNsnUsingPattern(nationalSignificantNumber, numFormatCopy, numberFormat));
1117 maybeAppendFormattedExtension(number, metadata, numberFormat, formattedNumber);
[all …]
/external/icu4c/i18n/unicode/
Dplurfmt.h563 NumberFormat* numberFormat; variable