/external/icu/icu4c/source/test/intltest/ |
D | numbertest_skeletons.cpp | 111 UnicodeString skeletonString(cas); in validTokens() local 112 status.setScope(skeletonString); in validTokens() 113 NumberFormatter::forSkeleton(skeletonString, status); in validTokens() 114 assertSuccess(CStr(skeletonString)(), status, true); in validTokens() 205 UnicodeString skeletonString = UnicodeString(stem) + suffix; in stemsRequiringOption() local 207 NumberFormatter::forSkeleton(skeletonString, status); in stemsRequiringOption() 208 assertEquals(skeletonString, U_NUMBER_SKELETON_SYNTAX_ERROR, status); in stemsRequiringOption() 226 UnicodeString skeletonString(cas); in defaultTokens() local 227 status.setScope(skeletonString); in defaultTokens() 229 skeletonString, status).toSkeleton(status); in defaultTokens() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | udatpg.cpp | 81 UnicodeString skeletonString((UBool)(length<0), skeleton, length); in udatpg_getBestPatternWithOptions() local 82 …UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *… in udatpg_getBestPatternWithOptions() 263 UnicodeString skeletonString((UBool)(skeletonLength<0), skeleton, skeletonLength); in udatpg_replaceFieldTypesWithOptions() local 264 …((DateTimePatternGenerator *)dtpg)->replaceFieldTypes(patternString, skeletonString, options, *pEr… in udatpg_replaceFieldTypesWithOptions() 286 UnicodeString skeletonString((UBool)(skeletonLength<0), skeleton, skeletonLength); in udatpg_getPatternForSkeleton() local 287 …codeString &result=((const DateTimePatternGenerator *)dtpg)->getPatternForSkeleton(skeletonString); in udatpg_getPatternForSkeleton()
|
D | number_capi.cpp | 95 UnicodeString skeletonString(skeletonLen == -1, skeleton, skeletonLen); in unumf_openForSkeletonAndLocale() local 96 impl->fFormatter = NumberFormatter::forSkeleton(skeletonString, *ec).locale(locale); in unumf_openForSkeletonAndLocale()
|
D | number_skeletons.h | 125 UnlocalizedNumberFormatter create(const UnicodeString& skeletonString, UErrorCode& status); 141 MacroProps parseSkeleton(const UnicodeString& skeletonString, UErrorCode& status);
|
D | number_skeletons.cpp | 409 UnlocalizedNumberFormatter skeleton::create(const UnicodeString& skeletonString, UErrorCode& status… in create() argument 411 MacroProps macros = parseSkeleton(skeletonString, status); in create() 422 MacroProps skeleton::parseSkeleton(const UnicodeString& skeletonString, UErrorCode& status) { in parseSkeleton() argument 426 UnicodeString tempSkeletonString(skeletonString); in parseSkeleton()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberSkeletonTest.java | 225 String skeletonString = stem + suffix; in stemsRequiringOption() local 227 NumberFormatter.forSkeleton(skeletonString); in stemsRequiringOption() 228 fail(skeletonString); in stemsRequiringOption()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberSkeletonTest.java | 228 String skeletonString = stem + suffix; in stemsRequiringOption() local 230 NumberFormatter.forSkeleton(skeletonString); in stemsRequiringOption() 231 fail(skeletonString); in stemsRequiringOption()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | NumberSkeletonImpl.java | 457 protected UnlocalizedNumberFormatter createInstance(String skeletonString, Void unused) { 458 return create(skeletonString); 470 public static UnlocalizedNumberFormatter getOrCreate(String skeletonString) { in getOrCreate() argument 473 return cache.getInstance(skeletonString, null); in getOrCreate() 483 public static UnlocalizedNumberFormatter create(String skeletonString) { in create() argument 484 MacroProps macros = parseSkeleton(skeletonString); in create() 506 private static MacroProps parseSkeleton(String skeletonString) { in parseSkeleton() argument 508 skeletonString += " "; in parseSkeleton() 511 StringSegment segment = new StringSegment(skeletonString, false); in parseSkeleton()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | NumberSkeletonImpl.java | 456 protected UnlocalizedNumberFormatter createInstance(String skeletonString, Void unused) { 457 return create(skeletonString); 469 public static UnlocalizedNumberFormatter getOrCreate(String skeletonString) { in getOrCreate() argument 472 return cache.getInstance(skeletonString, null); in getOrCreate() 482 public static UnlocalizedNumberFormatter create(String skeletonString) { in create() argument 483 MacroProps macros = parseSkeleton(skeletonString); in create() 505 private static MacroProps parseSkeleton(String skeletonString) { in parseSkeleton() argument 507 skeletonString += " "; in parseSkeleton() 510 StringSegment segment = new StringSegment(skeletonString, false); in parseSkeleton()
|