Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberSkeletonTest.java123 NumberFormatter.forSkeleton(cas); in validTokens()
192 NumberFormatter.forSkeleton(cas); in invalidTokens()
213 NumberFormatter.forSkeleton(cas); in unknownTokens()
232 NumberFormatter.forSkeleton(cas); in unexpectedTokens()
253 NumberFormatter.forSkeleton(cas); in duplicateValues()
277 NumberFormatter.forSkeleton(skeletonString); in stemsRequiringOption()
298 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens()
314 … String actual = NumberFormatter.forSkeleton(skeleton).locale(ULocale.ENGLISH).format(5142.3) in flexibleSeparators()
334 String normalized = NumberFormatter.forSkeleton(plus) in wildcardCharacters()
408 String actual = NumberFormatter.forSkeleton(skeleton).locale(arabic).format(5142.3) in perUnitInArabic()
[all …]
DNumberFormatterApiTest.java1013 UnlocalizedNumberFormatter nf = NumberFormatter.forSkeleton(inputSkeleton); in unitSkeletons()
1050 nf = NumberFormatter.forSkeleton(inputSkeleton); in unitSkeletons()
1383 NumberFormatter.forSkeleton("unit/foobar"); in unitUsageErrorCodes()
1389 unloc_formatter = NumberFormatter.forSkeleton("usage/foobar"); in unitUsageErrorCodes()
3869 NumberFormatter.forSkeleton("percent").locale(ULocale.JAPANESE).toFormat(), in getTestObjects()
3870 … NumberFormatter.forSkeleton("scientific .000").locale(ULocale.ENGLISH).toFormat() }; in getTestObjects()
4084 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in assertFormatDescending()
4086 LocalizedNumberFormatter l3 = NumberFormatter.forSkeleton(normalized).locale(locale); in assertFormatDescending()
4099 … LocalizedNumberFormatter l4 = NumberFormatter.forSkeleton(conciseSkeleton).locale(locale); in assertFormatDescending()
4131 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in assertFormatSingle()
[all …]
DNumberPermutationTest.java130 NumberFormatter.forSkeleton(skeleton).locale(locale); in testPermutations()
DDecimalQuantityTest.java668 NumberFormatter.forSkeleton(skeleton) in testCompactDecimalSuppressedExponent()
/external/icu/android_icu4j/src/main/tests/android/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()
411 String actual = NumberFormatter.forSkeleton(skeleton).locale(arabic).format(5142.3) in perUnitInArabic()
[all …]
DNumberFormatterApiTest.java1016 UnlocalizedNumberFormatter nf = NumberFormatter.forSkeleton(inputSkeleton); in unitSkeletons()
1053 nf = NumberFormatter.forSkeleton(inputSkeleton); in unitSkeletons()
1386 NumberFormatter.forSkeleton("unit/foobar"); in unitUsageErrorCodes()
1392 unloc_formatter = NumberFormatter.forSkeleton("usage/foobar"); in unitUsageErrorCodes()
3872 NumberFormatter.forSkeleton("percent").locale(ULocale.JAPANESE).toFormat(), in getTestObjects()
3873 … NumberFormatter.forSkeleton("scientific .000").locale(ULocale.ENGLISH).toFormat() }; in getTestObjects()
4087 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in assertFormatDescending()
4089 LocalizedNumberFormatter l3 = NumberFormatter.forSkeleton(normalized).locale(locale); in assertFormatDescending()
4102 … LocalizedNumberFormatter l4 = NumberFormatter.forSkeleton(conciseSkeleton).locale(locale); in assertFormatDescending()
4134 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in assertFormatSingle()
[all …]
DNumberPermutationTest.java133 NumberFormatter.forSkeleton(skeleton).locale(locale); in testPermutations()
DDecimalQuantityTest.java671 NumberFormatter.forSkeleton(skeleton) in testCompactDecimalSuppressedExponent()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_skeletons.cpp141 NumberFormatter::forSkeleton(skeletonString, perror, status); in validTokens()
263 NumberFormatter::forSkeleton(skeletonString, perror, status); in stemsRequiringOption()
298 UnicodeString normalized = NumberFormatter::forSkeleton( in defaultTokens()
321 UnicodeString actual = NumberFormatter::forSkeleton(skeletonString, status).locale("en") in flexibleSeparators()
350 UnicodeString normalized = NumberFormatter::forSkeleton(plus, status) in wildcardCharacters()
362 NumberFormatter::forSkeleton(skeletonString, status); in expectedErrorSkeleton()
432 UnicodeString actual = NumberFormatter::forSkeleton(skeleton, status).locale("ar") in perUnitInArabic()
469 UnicodeString toSkeleton = NumberFormatter::forSkeleton( in perUnitToSkeleton()
Dnumbertest_api.cpp1052 auto nf = NumberFormatter::forSkeleton(cas.inputSkeleton, status); in unitSkeletons()
1096 auto nf = NumberFormatter::forSkeleton(cas.inputSkeleton, status); in unitSkeletons()
1419 unloc_formatter = NumberFormatter::forSkeleton(u"unit/foobar", status); in unitUsageErrorCodes()
1423 unloc_formatter = NumberFormatter::forSkeleton(u"usage/foobar", status); in unitUsageErrorCodes()
3585 FormattedNumber actual = NumberFormatter::forSkeleton(cas.skeleton, status) in skeletonUserGuideExamples()
3590 FormattedNumber actualConcise = NumberFormatter::forSkeleton(cas.conciseSkeleton, status) in skeletonUserGuideExamples()
4419 … UnicodeString normalized = NumberFormatter::forSkeleton(skeleton, status).toSkeleton(status); in assertFormatDescending()
4421 … LocalizedNumberFormatter l3 = NumberFormatter::forSkeleton(normalized, status).locale(locale); in assertFormatDescending()
4434 …LocalizedNumberFormatter l4 = NumberFormatter::forSkeleton(conciseSkeleton, status).locale(locale); in assertFormatDescending()
4489 … UnicodeString normalized = NumberFormatter::forSkeleton(skeleton, status).toSkeleton(status); in assertFormatDescendingBig()
[all …]
Dnumbertest_permutation.cpp135 auto lnf = NumberFormatter::forSkeleton(skeleton, status) in testPermutations()
Dnumbertest_decimalquantity.cpp535 NumberFormatter::forSkeleton(cas.skeleton, status) in testCompactDecimalSuppressedExponent()
Dplurults.cpp794 UnlocalizedNumberFormatter ulnf = NumberFormatter::forSkeleton(skeleton, errorCode); in getPluralKeyword()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberFormatter.java439 public static UnlocalizedNumberFormatter forSkeleton(String skeleton) { in forSkeleton() method in NumberFormatter
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatter.java467 public static UnlocalizedNumberFormatter forSkeleton(String skeleton) { in forSkeleton() method in NumberFormatter
/external/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()
Dnumber_skeletons.cpp1715 NumberFormatter::forSkeleton(const UnicodeString& skeleton, UErrorCode& status) { in forSkeleton() function in NumberFormatter
1720 NumberFormatter::forSkeleton(const UnicodeString& skeleton, UParseError& perror, UErrorCode& status… in forSkeleton() function in NumberFormatter
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DLocalizedNumberFormatterAsFormat.java149 return NumberFormatter.forSkeleton(skeleton) in readResolve()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DLocalizedNumberFormatterAsFormat.java147 return NumberFormatter.forSkeleton(skeleton) in readResolve()
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/
DMessageFormat.java.patch26 - * <td><code>NumberFormatter.forSkeleton(argSkeletonText).locale(getLocale()).toFormat()</co…
/external/icu/libicu/cts_headers/unicode/
Dnumberformatter.h2757 … static UnlocalizedNumberFormatter forSkeleton(const UnicodeString& skeleton, UErrorCode& status);
2776 static UnlocalizedNumberFormatter forSkeleton(const UnicodeString& skeleton,
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h2757 … static UnlocalizedNumberFormatter forSkeleton(const UnicodeString& skeleton, UErrorCode& status);
2776 static UnlocalizedNumberFormatter forSkeleton(const UnicodeString& skeleton,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRulesTest.java1027 NumberFormatter.forSkeleton(skeleton)
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java1024 NumberFormatter.forSkeleton(skeleton)

12