Home
last modified time | relevance | path

Searched refs:bestPattern (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dudatpg_test.c132 UChar bestPattern[20]; in TestUsage() local
144 bestPattern, 20, &errorCode); in TestUsage()
149 if((u_memcmp(bestPattern, expectingBestPattern, length)!=0) || bestPattern[length]!=0) { in TestUsage()
157 length = udatpg_getBestPattern(dtpg, s, 0, bestPattern, 20, &errorCode); in TestUsage()
/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp626 UnicodeString bestPattern; in testAPI() local
637 bestPattern = patGen->getBestPattern(patternData[dataIndex++], status); in testAPI()
638 logln(UnicodeString(" -> ") + bestPattern); in testAPI()
640 SimpleDateFormat sdf(bestPattern, loc, status); in testAPI()
663 UnicodeString bestPattern; in testAPI() local
681 bestPattern = patGen->getBestPattern(patternTests2[dataIndex], status); in testAPI()
682 logln(UnicodeString(" -> ") + bestPattern); in testAPI()
683 enFormat->applyPattern(bestPattern); in testAPI()
717 UnicodeString bestPattern = randDTGen->getBestPattern(randomSkeleton, status); in testAPI() local
/external/icu/icu4c/source/i18n/
Dudatpg.cpp59 UChar *bestPattern, int32_t capacity, in udatpg_getBestPattern() argument
63 bestPattern, capacity, pErrorCode); in udatpg_getBestPattern()
70 UChar *bestPattern, int32_t capacity, in udatpg_getBestPatternWithOptions() argument
81 return result.extract(bestPattern, capacity, *pErrorCode); in udatpg_getBestPatternWithOptions()
Ddtptngen.cpp777 const UnicodeString *bestPattern=NULL; in getBestPattern() local
808 bestPattern=getBestRaw(*dtMatcher, -1, distanceInfo, &specifiedSkeleton); in getBestPattern()
810 resultPattern = adjustFieldTypes(*bestPattern, specifiedSkeleton, flags, options); in getBestPattern()
1024 const UnicodeString *bestPattern=NULL; in getBestRaw() local
1036bestPattern=patternMap->getPatternFromSkeleton(*trial.getSkeletonPtr(), &specifiedSkeleton); in getBestRaw()
1047 if (bestPattern && specifiedSkeletonPtr) { in getBestRaw()
1050 return bestPattern; in getBestRaw()
/external/icu/icu4c/source/i18n/unicode/
Dudatpg.h212 UChar *bestPattern, int32_t capacity,
249 UChar *bestPattern, int32_t capacity,
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateFormat.java1955 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton() local
1956 return new SimpleDateFormat(bestPattern, locale); in getInstanceForSkeleton()
1992 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton() local
1993 SimpleDateFormat format = new SimpleDateFormat(bestPattern, locale); in getInstanceForSkeleton()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormat.java2102 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton() local
2103 return new SimpleDateFormat(bestPattern, locale); in getInstanceForSkeleton()
2143 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton() local
2144 SimpleDateFormat format = new SimpleDateFormat(bestPattern, locale); in getInstanceForSkeleton()