/external/llvm-project/mlir/lib/Rewrite/ |
D | PatternApplicator.cpp | 137 const Pattern *bestPattern = nullptr; in matchAndRewrite() local 141 bestPattern = *(opIt++); in matchAndRewrite() 144 (!bestPattern || bestPattern->getBenefit() < (*anyIt)->getBenefit())) in matchAndRewrite() 145 bestPattern = *(anyIt++); in matchAndRewrite() 148 (!bestPattern || bestPattern->getBenefit() < pdlIt->benefit)) { in matchAndRewrite() 150 bestPattern = (pdlIt++)->pattern; in matchAndRewrite() 152 if (!bestPattern) in matchAndRewrite() 156 if (canApply && !canApply(*bestPattern)) in matchAndRewrite() 167 result = static_cast<const RewritePattern *>(bestPattern) in matchAndRewrite() 170 if (succeeded(result) && (!onSuccess || succeeded(onSuccess(*bestPattern)))) in matchAndRewrite() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | udatpg.cpp | 61 UChar *bestPattern, int32_t capacity, in udatpg_getBestPattern() argument 65 bestPattern, capacity, pErrorCode); in udatpg_getBestPattern() 72 UChar *bestPattern, int32_t capacity, in udatpg_getBestPatternWithOptions() argument 83 return result.extract(bestPattern, capacity, *pErrorCode); in udatpg_getBestPatternWithOptions()
|
D | dtptngen.cpp | 1171 const UnicodeString *bestPattern = nullptr; in getBestPattern() local 1188 bestPattern=getBestRaw(*dtMatcher, -1, distanceInfo, status, &specifiedSkeleton); in getBestPattern() 1194 resultPattern = adjustFieldTypes(*bestPattern, specifiedSkeleton, flags, options); in getBestPattern() 1546 const UnicodeString *bestPattern=nullptr; in getBestRaw() local 1567 … bestPattern=patternMap->getPatternFromSkeleton(*trial.getSkeletonPtr(), &specifiedSkeleton); in getBestRaw() 1578 if (bestPattern && specifiedSkeletonPtr) { in getBestRaw() 1581 return bestPattern; in getBestRaw()
|
/external/icu/icu4c/source/test/cintltst/ |
D | udatpg_test.c | 141 UChar bestPattern[20]; in TestUsage() local 153 bestPattern, 20, &errorCode); in TestUsage() 158 if((u_memcmp(bestPattern, expectingBestPattern, length)!=0) || bestPattern[length]!=0) { in TestUsage() 166 length = udatpg_getBestPattern(dtpg, s, 0, bestPattern, 20, &errorCode); in TestUsage()
|
/external/icu/icu4c/source/test/intltest/ |
D | dtptngts.cpp | 698 UnicodeString bestPattern; in testAPI() local 709 bestPattern = patGen->getBestPattern(patternData[dataIndex++], status); in testAPI() 710 logln(UnicodeString(" -> ") + bestPattern); in testAPI() 712 SimpleDateFormat sdf(bestPattern, loc, status); in testAPI() 738 UnicodeString bestPattern; in testAPI() local 756 bestPattern = patGen->getBestPattern(patternTests2[dataIndex], status); in testAPI() 757 logln(UnicodeString(" -> ") + bestPattern); in testAPI() 758 enFormat->applyPattern(bestPattern); in testAPI() 791 UnicodeString bestPattern = randDTGen->getBestPattern(randomSkeleton, status); in testAPI() local
|
/external/icu/libicu/cts_headers/unicode/ |
D | udatpg.h | 244 UChar *bestPattern, int32_t capacity, 281 UChar *bestPattern, int32_t capacity,
|
/external/icu/icu4c/source/i18n/unicode/ |
D | udatpg.h | 244 UChar *bestPattern, int32_t capacity, 281 UChar *bestPattern, int32_t capacity,
|
/external/icu/libandroidicu/include/unicode/ |
D | udatpg.h | 244 UChar *bestPattern, int32_t capacity, 281 UChar *bestPattern, int32_t capacity,
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateFormat.java | 2043 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton() local 2044 return new SimpleDateFormat(bestPattern, locale); in getInstanceForSkeleton() 2083 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton() local 2084 SimpleDateFormat format = new SimpleDateFormat(bestPattern, locale); in getInstanceForSkeleton()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateFormat.java | 2194 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton() local 2195 return new SimpleDateFormat(bestPattern, locale); in getInstanceForSkeleton() 2238 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton() local 2239 SimpleDateFormat format = new SimpleDateFormat(bestPattern, locale); in getInstanceForSkeleton()
|
/external/icu/libandroidicu/static_shim/ |
D | shim.cpp | 313 …tternGenerator * dtpg, const UChar * skeleton, int32_t length, UChar * bestPattern, int32_t capaci… in udatpg_getBestPattern_android() argument 314 return udatpg_getBestPattern(dtpg, skeleton, length, bestPattern, capacity, pErrorCode); in udatpg_getBestPattern_android()
|
/external/cldr/tools/java/libs/ |
D | icu4j.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/ibm/
com/ ... |