Home
last modified time | relevance | path

Searched refs:forSkeleton (Results 1 – 25 of 50) sorted by relevance

12

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberSkeletonTest.java133 NumberFormatter.forSkeleton(cas); in validTokens()
207 NumberFormatter.forSkeleton(cas); in invalidTokens()
228 NumberFormatter.forSkeleton(cas); in unknownTokens()
248 NumberFormatter.forSkeleton(cas); in unexpectedTokens()
269 NumberFormatter.forSkeleton(cas); in duplicateValues()
293 NumberFormatter.forSkeleton(skeletonString); in stemsRequiringOption()
314 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens()
330 … String actual = NumberFormatter.forSkeleton(skeleton).locale(ULocale.ENGLISH).format(5142.3) in flexibleSeparators()
349 String normalized = NumberFormatter.forSkeleton(plus) in wildcardCharacters()
423 String actual = NumberFormatter.forSkeleton(skeleton).locale(arabic).format(5142.3) in perUnitInArabic()
[all …]
DNumberRangeFormatterTest.java947 .numberFormatterBoth(NumberFormatter.forSkeleton("%")); in test21358_SignPosition()
963 .numberFormatterBoth(NumberFormatter.forSkeleton("%")); in test21358_SignPosition()
974 .numberFormatterBoth(NumberFormatter.forSkeleton( in testCreateLNRFFromNumberingSystemInSkeleton()
982 .numberFormatterBoth(NumberFormatter.forSkeleton( in testCreateLNRFFromNumberingSystemInSkeleton()
990 .numberFormatterBoth(NumberFormatter.forSkeleton( in testCreateLNRFFromNumberingSystemInSkeleton()
998 .numberFormatterFirst(NumberFormatter.forSkeleton("numbering-system/arab")) in testCreateLNRFFromNumberingSystemInSkeleton()
999 .numberFormatterSecond(NumberFormatter.forSkeleton("numbering-system/arab")); in testCreateLNRFFromNumberingSystemInSkeleton()
1009 .numberFormatterFirst(NumberFormatter.forSkeleton("numbering-system/arab")) in testCreateLNRFFromNumberingSystemInSkeletonError()
1010 .numberFormatterSecond(NumberFormatter.forSkeleton("numbering-system/latn")); in testCreateLNRFFromNumberingSystemInSkeletonError()
DNumberFormatterApiTest.java1320 UnlocalizedNumberFormatter nf = NumberFormatter.forSkeleton(inputSkeleton); in unitSkeletons()
1357 nf = NumberFormatter.forSkeleton(inputSkeleton); in unitSkeletons()
1920 NumberFormatter.forSkeleton("unit/foobar"); in unitUsageErrorCodes()
1926 unloc_formatter = NumberFormatter.forSkeleton("usage/foobar"); in unitUsageErrorCodes()
5787 NumberFormatter.forSkeleton("percent").locale(ULocale.JAPANESE).toFormat(), in getTestObjects()
5788 … NumberFormatter.forSkeleton("scientific .000").locale(ULocale.ENGLISH).toFormat() }; in getTestObjects()
6041 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in assertFormatDescending()
6043 LocalizedNumberFormatter l3 = NumberFormatter.forSkeleton(normalized).locale(locale); in assertFormatDescending()
6056 … LocalizedNumberFormatter l4 = NumberFormatter.forSkeleton(conciseSkeleton).locale(locale); in assertFormatDescending()
6088 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in assertFormatSingle()
[all …]
DNumberPermutationTest.java130 NumberFormatter.forSkeleton(skeleton).locale(locale); in testPermutations()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DNumberSkeletonTest.java126 NumberFormatter.forSkeleton(cas); in validTokens()
195 NumberFormatter.forSkeleton(cas); in invalidTokens()
216 NumberFormatter.forSkeleton(cas); in unknownTokens()
235 NumberFormatter.forSkeleton(cas); in unexpectedTokens()
256 NumberFormatter.forSkeleton(cas); in duplicateValues()
280 NumberFormatter.forSkeleton(skeletonString); in stemsRequiringOption()
301 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens()
317 … String actual = NumberFormatter.forSkeleton(skeleton).locale(ULocale.ENGLISH).format(5142.3) in flexibleSeparators()
337 String normalized = NumberFormatter.forSkeleton(plus) in wildcardCharacters()
410 String actual = NumberFormatter.forSkeleton(skeleton).locale(arabic).format(5142.3) in perUnitInArabic()
DNumberFormatterApiTest.java2944 NumberFormatter.forSkeleton("percent").locale(ULocale.JAPANESE).toFormat(), in getTestObjects()
2945 … NumberFormatter.forSkeleton("scientific .000").locale(ULocale.ENGLISH).toFormat() }; in getTestObjects()
3159 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in assertFormatDescending()
3161 LocalizedNumberFormatter l3 = NumberFormatter.forSkeleton(normalized).locale(locale); in assertFormatDescending()
3174 … LocalizedNumberFormatter l4 = NumberFormatter.forSkeleton(conciseSkeleton).locale(locale); in assertFormatDescending()
3206 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in assertFormatSingle()
3208 LocalizedNumberFormatter l3 = NumberFormatter.forSkeleton(normalized).locale(locale); in assertFormatSingle()
3218 … LocalizedNumberFormatter l4 = NumberFormatter.forSkeleton(conciseSkeleton).locale(locale); in assertFormatSingle()
3247 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in assertFormatSingleMeasure()
3249 LocalizedNumberFormatter l3 = NumberFormatter.forSkeleton(normalized).locale(locale); in assertFormatSingleMeasure()
[all …]
DNumberPermutationTest.java133 NumberFormatter.forSkeleton(skeleton).locale(locale); in testPermutations()
/third_party/icu/icu4c/source/test/intltest/
Dnumbertest_skeletons.cpp151 NumberFormatter::forSkeleton(skeletonString, perror, status); in validTokens()
279 NumberFormatter::forSkeleton(skeletonString, perror, status); in stemsRequiringOption()
314 UnicodeString normalized = NumberFormatter::forSkeleton( in defaultTokens()
337 UnicodeString actual = NumberFormatter::forSkeleton(skeletonString, status).locale("en") in flexibleSeparators()
365 UnicodeString normalized = NumberFormatter::forSkeleton(plus, status) in wildcardCharacters()
377 NumberFormatter::forSkeleton(skeletonString, status); in expectedErrorSkeleton()
447 UnicodeString actual = NumberFormatter::forSkeleton(skeleton, status).locale("ar") in perUnitInArabic()
484 UnicodeString toSkeleton = NumberFormatter::forSkeleton( in perUnitToSkeleton()
Dnumbertest_range.cpp1015 .numberFormatterBoth(NumberFormatter::forSkeleton(u"%", status)); in test21358_SignPosition()
1029 .numberFormatterBoth(NumberFormatter::forSkeleton(u"%", status)); in test21358_SignPosition()
1039 .numberFormatterBoth(NumberFormatter::forSkeleton( in testCreateLNRFFromNumberingSystemInSkeleton()
1047 .numberFormatterBoth(NumberFormatter::forSkeleton( in testCreateLNRFFromNumberingSystemInSkeleton()
1055 .numberFormatterBoth(NumberFormatter::forSkeleton( in testCreateLNRFFromNumberingSystemInSkeleton()
1063 .numberFormatterFirst(NumberFormatter::forSkeleton(u"numbering-system/arab", status)) in testCreateLNRFFromNumberingSystemInSkeleton()
1064 .numberFormatterSecond(NumberFormatter::forSkeleton(u"numbering-system/arab", status)); in testCreateLNRFFromNumberingSystemInSkeleton()
1071 .numberFormatterFirst(NumberFormatter::forSkeleton(u"numbering-system/arab", status)) in testCreateLNRFFromNumberingSystemInSkeleton()
1072 .numberFormatterSecond(NumberFormatter::forSkeleton(u"numbering-system/latn", status)); in testCreateLNRFFromNumberingSystemInSkeleton()
Dnumbertest_api.cpp1350 auto nf = NumberFormatter::forSkeleton(cas.inputSkeleton, status); in unitSkeletons()
1394 auto nf = NumberFormatter::forSkeleton(cas.inputSkeleton, status); in unitSkeletons()
1919 unloc_formatter = NumberFormatter::forSkeleton(u"unit/foobar", status); in unitUsageErrorCodes()
1923 unloc_formatter = NumberFormatter::forSkeleton(u"usage/foobar", status); in unitUsageErrorCodes()
5224 FormattedNumber actual = NumberFormatter::forSkeleton(cas.skeleton, status) in skeletonUserGuideExamples()
5229 FormattedNumber actualConcise = NumberFormatter::forSkeleton(cas.conciseSkeleton, status) in skeletonUserGuideExamples()
6095 … UnicodeString normalized = NumberFormatter::forSkeleton(skeleton, status).toSkeleton(status); in assertFormatDescending()
6097 … LocalizedNumberFormatter l3 = NumberFormatter::forSkeleton(normalized, status).locale(locale); in assertFormatDescending()
6110 …LocalizedNumberFormatter l4 = NumberFormatter::forSkeleton(conciseSkeleton, status).locale(locale); in assertFormatDescending()
6165 … UnicodeString normalized = NumberFormatter::forSkeleton(skeleton, status).toSkeleton(status); in assertFormatDescendingBig()
[all …]
Dnumbertest_permutation.cpp135 auto lnf = NumberFormatter::forSkeleton(skeleton, status) in testPermutations()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_capi.cpp94 impl->fFormatter = NumberFormatter::forSkeleton(skeletonString, *ec).locale(locale); in unumf_openForSkeletonAndLocale()
108 impl->fFormatter = NumberFormatter::forSkeleton(skeletonString, *perror, *ec).locale(locale); in unumf_openForSkeletonAndLocaleWithError()
Dnumrange_capi.cpp101 .numberFormatterBoth(NumberFormatter::forSkeleton(skeletonString, *perror, *ec)) in unumrf_openForSkeletonWithCollapseAndIdentityFallback()
/third_party/icu/icu4c/source/i18n/
Dnumber_capi.cpp94 impl->fFormatter = NumberFormatter::forSkeleton(skeletonString, *ec).locale(locale); in unumf_openForSkeletonAndLocale()
108 impl->fFormatter = NumberFormatter::forSkeleton(skeletonString, *perror, *ec).locale(locale); in unumf_openForSkeletonAndLocaleWithError()
Dnumrange_capi.cpp101 .numberFormatterBoth(NumberFormatter::forSkeleton(skeletonString, *perror, *ec)) in unumrf_openForSkeletonWithCollapseAndIdentityFallback()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DNumberFormatter.java443 public static UnlocalizedNumberFormatter forSkeleton(String skeleton) { in forSkeleton() method in NumberFormatter
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatter.java572 public static UnlocalizedNumberFormatter forSkeleton(String skeleton) { in forSkeleton() method in NumberFormatter
/third_party/node/deps/icu-small/source/i18n/
Dnumber_capi.cpp120 impl->fFormatter = NumberFormatter::forSkeleton(skeletonString, *ec).locale(locale); in unumf_openForSkeletonAndLocale()
135 …impl->fFormatter = NumberFormatter::forSkeleton(skeletonString, (perror == nullptr) ? tempParseErr… in unumf_openForSkeletonAndLocaleWithError()
Dnumrange_capi.cpp102 ….numberFormatterBoth(NumberFormatter::forSkeleton(skeletonString, (perror == nullptr) ? tempParseE… in unumrf_openForSkeletonWithCollapseAndIdentityFallback()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DLocalizedNumberFormatterAsFormat.java149 return NumberFormatter.forSkeleton(skeleton) in readResolve()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DLocalizedNumberFormatterAsFormat.java147 return NumberFormatter.forSkeleton(skeleton) in readResolve()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/message2/
DNumberFormatterFactory.java44 nf = NumberFormatter.forSkeleton(skeleton); in formatterForOptions()
/third_party/node/deps/icu-small/source/i18n/unicode/
Dnumberformatter.h2750 … static UnlocalizedNumberFormatter forSkeleton(const UnicodeString& skeleton, UErrorCode& status);
2772 static UnlocalizedNumberFormatter forSkeleton(const UnicodeString& skeleton,
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dnumberformatter.h2835 … static UnlocalizedNumberFormatter forSkeleton(const UnicodeString& skeleton, UErrorCode& status);
2857 static UnlocalizedNumberFormatter forSkeleton(const UnicodeString& skeleton,
/third_party/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h2906 … static UnlocalizedNumberFormatter forSkeleton(const UnicodeString& skeleton, UErrorCode& status);
2928 static UnlocalizedNumberFormatter forSkeleton(const UnicodeString& skeleton,

12