Home
last modified time | relevance | path

Searched refs:newFormat (Results 1 - 15 of 15) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DMessageFormat.java714 * @param newFormat the new format to use
718 public void setFormatByArgumentIndex(int argumentIndex, Format newFormat) { in setFormatByArgumentIndex() argument
726 setCustomArgStartFormat(partIndex, newFormat); in setFormatByArgumentIndex()
747 * @param newFormat the new format to use
750 public void setFormatByArgumentName(String argumentName, Format newFormat) { in setFormatByArgumentName() argument
757 setCustomArgStartFormat(partIndex, newFormat); in setFormatByArgumentName()
775 * @param newFormat the format to use for the specified format element
780 public void setFormat(int formatElementIndex, Format newFormat) { in setFormat() argument
784 setCustomArgStartFormat(partIndex, newFormat); in setFormat()
2229 Format newFormat in createAppropriateFormat()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DMessageFormat.java700 * @param newFormat the new format to use
703 public void setFormatByArgumentIndex(int argumentIndex, Format newFormat) { in setFormatByArgumentIndex() argument
711 setCustomArgStartFormat(partIndex, newFormat); in setFormatByArgumentIndex()
732 * @param newFormat the new format to use
734 public void setFormatByArgumentName(String argumentName, Format newFormat) { in setFormatByArgumentName() argument
741 setCustomArgStartFormat(partIndex, newFormat); in setFormatByArgumentName()
759 * @param newFormat the format to use for the specified format element
763 public void setFormat(int formatElementIndex, Format newFormat) { in setFormat() argument
767 setCustomArgStartFormat(partIndex, newFormat); in setFormat()
2185 Format newFormat in createAppropriateFormat()
[all...]
/third_party/libphonenumber/migrator/src/main/java/com/google/phonenumbers/migrator/
H A DMigrationJob.java161 String newFormat = (String) recipeRow.get(RecipesTableSchema.NEW_FORMAT); in migrate()
167 DigitSequence migratedVal = getMigratedValue(migratingNumber.toString(), oldFormat, newFormat); in migrate()
189 * oldFormat and newFormat values.
191 private DigitSequence getMigratedValue(String staleString, String oldFormat, String newFormat) { in getMigratedValue() argument
200 for (int i = 0; i < Math.max(oldFormat.length(), newFormat.length()); i++) { in getMigratedValue()
201 if (i < newFormat.length() && i == newFormatPointer in getMigratedValue()
202 && Character.isDigit(newFormat.charAt(i))) { in getMigratedValue()
204 migratedValue.insert(newFormatPointer, newFormat.charAt(newFormatPointer++)); in getMigratedValue()
205 } while (newFormatPointer < newFormat.length() in getMigratedValue()
206 && Character.isDigit(newFormat in getMigratedValue()
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dmsgfmt.cpp660 Format* newFormat = NULL; in setFormats() local
662 newFormat = newFormats[formatNumber]->clone(); in setFormats()
663 if (newFormat == NULL) { in setFormats()
667 setCustomArgStartFormat(partIndex, newFormat, status); in setFormats()
680 MessageFormat::adoptFormat(int32_t n, Format *newFormat) { in adoptFormat() argument
681 LocalPointer<Format> p(newFormat); in adoptFormat()
736 MessageFormat::setFormat(int32_t n, const Format& newFormat) { in setFormat() argument
743 Format* new_format = newFormat.clone(); in setFormat()
780 const Format& newFormat, in setFormat()
793 Format* new_format = newFormat in setFormat()
779 setFormat(const UnicodeString& formatName, const Format& newFormat, UErrorCode& status) setFormat() argument
1348 Format* newFormat = ((Format*)(cur->value.pointer))->clone(); copyObjects() local
[all...]
H A Dsmpdtfmt.cpp2151 const SharedNumberFormat *newFormat = createSharedNumberFormat(fmt.orphan()); in adoptNumberFormat() local
2152 if (newFormat == NULL) { in adoptNumberFormat()
2162 newFormat->deleteIfZeroRefCount(); in adoptNumberFormat()
2168 newFormat, fSharedNumberFormatters[patternCharIndex]); in adoptNumberFormat()
2170 newFormat->deleteIfZeroRefCount(); in adoptNumberFormat()
/third_party/node/deps/icu-small/source/i18n/
H A Dmsgfmt.cpp661 Format* newFormat = nullptr; in setFormats() local
663 newFormat = newFormats[formatNumber]->clone(); in setFormats()
664 if (newFormat == nullptr) { in setFormats()
668 setCustomArgStartFormat(partIndex, newFormat, status); in setFormats()
681 MessageFormat::adoptFormat(int32_t n, Format *newFormat) { in adoptFormat() argument
682 LocalPointer<Format> p(newFormat); in adoptFormat()
737 MessageFormat::setFormat(int32_t n, const Format& newFormat) { in setFormat() argument
744 Format* new_format = newFormat.clone(); in setFormat()
781 const Format& newFormat, in setFormat()
794 Format* new_format = newFormat in setFormat()
780 setFormat(const UnicodeString& formatName, const Format& newFormat, UErrorCode& status) setFormat() argument
1349 Format* newFormat = ((Format*)(cur->value.pointer))->clone(); copyObjects() local
[all...]
H A Dsmpdtfmt.cpp2119 const SharedNumberFormat *newFormat = createSharedNumberFormat(fmt.orphan()); in adoptNumberFormat() local
2120 if (newFormat == nullptr) { in adoptNumberFormat()
2130 newFormat->deleteIfZeroRefCount(); in adoptNumberFormat()
2136 newFormat, fSharedNumberFormatters[patternCharIndex]); in adoptNumberFormat()
2138 newFormat->deleteIfZeroRefCount(); in adoptNumberFormat()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dmsgfmt.cpp660 Format* newFormat = NULL; in setFormats() local
662 newFormat = newFormats[formatNumber]->clone(); in setFormats()
663 if (newFormat == NULL) { in setFormats()
667 setCustomArgStartFormat(partIndex, newFormat, status); in setFormats()
680 MessageFormat::adoptFormat(int32_t n, Format *newFormat) { in adoptFormat() argument
681 LocalPointer<Format> p(newFormat); in adoptFormat()
736 MessageFormat::setFormat(int32_t n, const Format& newFormat) { in setFormat() argument
743 Format* new_format = newFormat.clone(); in setFormat()
780 const Format& newFormat, in setFormat()
793 Format* new_format = newFormat in setFormat()
779 setFormat(const UnicodeString& formatName, const Format& newFormat, UErrorCode& status) setFormat() argument
1346 Format* newFormat = ((Format*)(cur->value.pointer))->clone(); copyObjects() local
[all...]
H A Dsmpdtfmt.cpp2103 const SharedNumberFormat *newFormat = createSharedNumberFormat(fmt.orphan()); in adoptNumberFormat() local
2104 if (newFormat == NULL) { in adoptNumberFormat()
2114 newFormat->deleteIfZeroRefCount(); in adoptNumberFormat()
2120 newFormat, fSharedNumberFormatters[patternCharIndex]); in adoptNumberFormat()
2122 newFormat->deleteIfZeroRefCount(); in adoptNumberFormat()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DDateTimeGeneratorTest.java669 SimpleDateFormat newFormat = new SimpleDateFormat(newPattern, locales[i]); in TestReplacingZoneString()
670 newFormat.setTimeZone(testTimeZone); in TestReplacingZoneString()
671 String formatted = newFormat.format(testDate); in TestReplacingZoneString()
674 newFormat.parse(formatted, calendar, parsePosition); in TestReplacingZoneString()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDateTimeGeneratorTest.java666 SimpleDateFormat newFormat = new SimpleDateFormat(newPattern, locales[i]); in TestReplacingZoneString()
667 newFormat.setTimeZone(testTimeZone); in TestReplacingZoneString()
668 String formatted = newFormat.format(testDate); in TestReplacingZoneString()
671 newFormat.parse(formatted, calendar, parsePosition); in TestReplacingZoneString()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
H A DPhoneNumberUtil.java1841 NumberFormat.Builder newFormat = NumberFormat.newBuilder(); in formatOutOfCountryKeepingAlphaChars()
1842 newFormat.mergeFrom(formattingPattern); in formatOutOfCountryKeepingAlphaChars()
1844 newFormat.setPattern("(\\d+)(.*)"); in formatOutOfCountryKeepingAlphaChars()
1846 newFormat.setFormat("$1$2"); in formatOutOfCountryKeepingAlphaChars()
1852 return formatNsnUsingPattern(rawInput, newFormat.build(), PhoneNumberFormat.NATIONAL); in formatOutOfCountryKeepingAlphaChars()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-layout-gpos-table.hh805 ValueFormat newFormat, in serialize()
810 newFormat, in serialize()
815 src->get_value_format ().copy_values (c, newFormat, src, &_, layout_variation_idx_map); in serialize()
925 ValueFormat newFormat, in serialize()
930 if (unlikely (!c->check_assign (valueFormat, newFormat, HB_SERIALIZE_ERROR_INT_OVERFLOW))) return; in serialize()
936 { src->get_value_format ().copy_values (c, newFormat, src, &_, layout_variation_idx_map); }) in serialize()
/third_party/libphonenumber/javascript/i18n/phonenumbers/
H A Dphonenumberutil.js2525 var newFormat = formattingPattern.clone();
2528 newFormat.setPattern('(\\d+)(.*)');
2531 newFormat.setFormat('$1$2');
2538 return this.formatNsnUsingPattern_(rawInput, newFormat,
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...

Completed in 80 milliseconds