/external/icu/icu4c/source/test/intltest/ |
D | numbertest_skeletons.cpp | 138 UnicodeString skeletonString(cas); in validTokens() local 139 status.setScope(skeletonString); in validTokens() 141 NumberFormatter::forSkeleton(skeletonString, perror, status); in validTokens() 142 assertSuccess(CStr(skeletonString)(), status, true); in validTokens() 143 assertEquals(skeletonString, -1, perror.offset); in validTokens() 260 UnicodeString skeletonString = UnicodeString(stem) + suffix; in stemsRequiringOption() local 263 NumberFormatter::forSkeleton(skeletonString, perror, status); in stemsRequiringOption() 264 assertEquals(skeletonString, U_NUMBER_SKELETON_SYNTAX_ERROR, status); in stemsRequiringOption() 270 assertEquals(skeletonString, expectedOffset, perror.offset); in stemsRequiringOption() 271 UnicodeString expectedPreContext = skeletonString.tempSubString(0, expectedOffset); in stemsRequiringOption() [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 | 93 UnicodeString skeletonString(skeletonLen == -1, skeleton, skeletonLen); in unumf_openForSkeletonAndLocale() local 94 impl->fFormatter = NumberFormatter::forSkeleton(skeletonString, *ec).locale(locale); in unumf_openForSkeletonAndLocale() 107 UnicodeString skeletonString(skeletonLen == -1, skeleton, skeletonLen); in unumf_openForSkeletonAndLocaleWithError() local 108 impl->fFormatter = NumberFormatter::forSkeleton(skeletonString, *perror, *ec).locale(locale); in unumf_openForSkeletonAndLocaleWithError()
|
D | numrange_capi.cpp | 99 UnicodeString skeletonString(skeletonLen == -1, skeleton, skeletonLen); in unumrf_openForSkeletonWithCollapseAndIdentityFallback() local 101 .numberFormatterBoth(NumberFormatter::forSkeleton(skeletonString, *perror, *ec)) in unumrf_openForSkeletonWithCollapseAndIdentityFallback()
|
D | number_skeletons.h | 146 const UnicodeString& skeletonString, UParseError* perror, UErrorCode& status); 162 MacroProps parseSkeleton(const UnicodeString& skeletonString, int32_t& errOffset, UErrorCode& statu…
|
D | number_skeletons.cpp | 423 const UnicodeString& skeletonString, UParseError* perror, UErrorCode& status) { in create() argument 439 MacroProps macros = parseSkeleton(skeletonString, errOffset, status); in create() 451 int32_t contextEnd = uprv_min(skeletonString.length(), errOffset + U_PARSE_CONTEXT_LEN - 1); in create() 452 skeletonString.extract(contextStart, errOffset - contextStart, perror->preContext, 0); in create() 454 skeletonString.extract(errOffset, contextEnd - errOffset, perror->postContext, 0); in create() 467 const UnicodeString& skeletonString, int32_t& errOffset, UErrorCode& status) { in parseSkeleton() argument 472 UnicodeString tempSkeletonString(skeletonString); in parseSkeleton()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberSkeletonTest.java | 275 String skeletonString = stem + suffix; in stemsRequiringOption() local 277 NumberFormatter.forSkeleton(skeletonString); in stemsRequiringOption() 278 fail(skeletonString); in stemsRequiringOption()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberSkeletonTest.java | 278 String skeletonString = stem + suffix; in stemsRequiringOption() local 280 NumberFormatter.forSkeleton(skeletonString); in stemsRequiringOption() 281 fail(skeletonString); in stemsRequiringOption()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | NumberSkeletonImpl.java | 507 protected UnlocalizedNumberFormatter createInstance(String skeletonString, Void unused) { 508 return create(skeletonString); 520 public static UnlocalizedNumberFormatter getOrCreate(String skeletonString) { in getOrCreate() argument 523 return cache.getInstance(skeletonString, null); in getOrCreate() 533 public static UnlocalizedNumberFormatter create(String skeletonString) { in create() argument 534 MacroProps macros = parseSkeleton(skeletonString); in create() 556 private static MacroProps parseSkeleton(String skeletonString) { in parseSkeleton() argument 558 skeletonString += " "; in parseSkeleton() 561 StringSegment segment = new StringSegment(skeletonString, false); in parseSkeleton()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | NumberSkeletonImpl.java | 508 protected UnlocalizedNumberFormatter createInstance(String skeletonString, Void unused) { 509 return create(skeletonString); 521 public static UnlocalizedNumberFormatter getOrCreate(String skeletonString) { in getOrCreate() argument 524 return cache.getInstance(skeletonString, null); in getOrCreate() 534 public static UnlocalizedNumberFormatter create(String skeletonString) { in create() argument 535 MacroProps macros = parseSkeleton(skeletonString); in create() 557 private static MacroProps parseSkeleton(String skeletonString) { in parseSkeleton() argument 559 skeletonString += " "; in parseSkeleton() 562 StringSegment segment = new StringSegment(skeletonString, false); in parseSkeleton()
|
/external/icu/libicu/cts_headers/ |
D | number_skeletons.h | 146 const UnicodeString& skeletonString, UParseError* perror, UErrorCode& status); 162 MacroProps parseSkeleton(const UnicodeString& skeletonString, int32_t& errOffset, UErrorCode& statu…
|
/external/cldr/tools/java/libs/ |
D | icu4j.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/ibm/
com/ ... |