Home
last modified time | relevance | path

Searched refs:bestMatch (Results 1 – 25 of 26) sorted by relevance

12

/third_party/typescript/src/services/
DpatternMatcher.ts135 let bestMatch: PatternMatch | undefined;
139bestMatch = betterMatch(bestMatch, matchSegment(candidateContainers[j], dotSeparatedSegments[i], s…
141 return bestMatch;
254 let bestMatch: PatternMatch | undefined;
256bestMatch = betterMatch(bestMatch, matchTextChunk(candidate, subWordTextChunk, stringToWordSpans));
258 return bestMatch;
/third_party/node/lib/internal/modules/esm/
Dresolve.js648 let bestMatch = '';
669 patternKeyCompare(bestMatch, key) === 1 &&
671 bestMatch = key;
679 if (bestMatch) {
680 const target = exports[bestMatch];
685 bestMatch,
743 let bestMatch = '';
756 patternKeyCompare(bestMatch, key) === 1 &&
758 bestMatch = key;
765 if (bestMatch) {
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DTimeZoneGenericNames.java711 GenericMatchInfo bestMatch = null; in findBestMatch() local
723 bestMatch = createGenericMatchInfo(longestMatch); in findBestMatch()
724 if (bestMatch.matchLength() == (text.length() - start)) { in findBestMatch()
742 if (bestMatch.timeType != TimeType.STANDARD) { in findBestMatch()
743 return bestMatch; in findBestMatch()
756 if (bestMatch == null || match.matchLength() >= bestMatch.matchLength()) { in findBestMatch()
757 bestMatch = match; in findBestMatch()
762 return bestMatch; in findBestMatch()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTimeZoneGenericNames.java706 GenericMatchInfo bestMatch = null; in findBestMatch() local
718 bestMatch = createGenericMatchInfo(longestMatch); in findBestMatch()
719 if (bestMatch.matchLength() == (text.length() - start)) { in findBestMatch()
737 if (bestMatch.timeType != TimeType.STANDARD) { in findBestMatch()
738 return bestMatch; in findBestMatch()
751 if (bestMatch == null || match.matchLength() >= bestMatch.matchLength()) { in findBestMatch()
752 bestMatch = match; in findBestMatch()
757 return bestMatch; in findBestMatch()
/third_party/icu/icu4c/source/i18n/
Dsmpdtfmt.cpp2734 int32_t bestMatchLength = 0, bestMatch = -1; in matchQuarterString() local
2741 bestMatch = i; in matchQuarterString()
2745 if (bestMatch >= 0) { in matchQuarterString()
2746 cal.set(field, bestMatch * 3); in matchQuarterString()
2758 int32_t bestMatchLength = 0, bestMatch = -1; in matchDayPeriodStrings() local
2764 bestMatch = i; in matchDayPeriodStrings()
2768 if (bestMatch >= 0) { in matchDayPeriodStrings()
2769 dayPeriod = bestMatch; in matchDayPeriodStrings()
2934 int32_t bestMatchLength = 0, bestMatch = -1; in matchAlphaMonthStrings() local
2939 bestMatch = i; in matchAlphaMonthStrings()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dsmpdtfmt.cpp2676 int32_t bestMatchLength = 0, bestMatch = -1; in matchQuarterString() local
2683 bestMatch = i; in matchQuarterString()
2687 if (bestMatch >= 0) { in matchQuarterString()
2688 cal.set(field, bestMatch * 3); in matchQuarterString()
2700 int32_t bestMatchLength = 0, bestMatch = -1; in matchDayPeriodStrings() local
2706 bestMatch = i; in matchDayPeriodStrings()
2710 if (bestMatch >= 0) { in matchDayPeriodStrings()
2711 dayPeriod = bestMatch; in matchDayPeriodStrings()
2876 int32_t bestMatchLength = 0, bestMatch = -1; in matchAlphaMonthStrings() local
2881 bestMatch = i; in matchAlphaMonthStrings()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java2933 int bestMatchLength = 0, bestMatch = -1; in matchAlphaMonthStrings() local
2944 bestMatch = i; in matchAlphaMonthStrings()
2957 bestMatch = i; in matchAlphaMonthStrings()
2961 if (bestMatch >= 0) in matchAlphaMonthStrings()
2963 cal.set(Calendar.MONTH, bestMatch); in matchAlphaMonthStrings()
3025 int bestMatchLength = 0, bestMatch = -1; in matchString() local
3037 bestMatch = i; in matchString()
3048 bestMatch = i; in matchString()
3054 if (bestMatch >= 0) in matchString()
3058bestMatch++; // only get here for cyclic year names, which match 1-based years 1-60 in matchString()
[all …]
DDateIntervalFormat.java421 SkeletonAndItsBestMatch(String skeleton, String bestMatch) { in SkeletonAndItsBestMatch() argument
423 bestMatchSkeleton = bestMatch; in SkeletonAndItsBestMatch()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarFrame.java183 int bestMatch = -1, thisMatch = -1; in init() local
199 if (thisMatch >= bestMatch) { in init()
200 bestMatch = thisMatch; in init()
DCalendarCalc.java270 int bestMatch = -1, thisMatch = -1; in buildGUI() local
285 if (thisMatch >= bestMatch) { in buildGUI()
286 bestMatch = thisMatch; in buildGUI()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DSimpleDateFormat.java2941 int bestMatchLength = 0, bestMatch = -1; in matchString() local
2953 bestMatch = i; in matchString()
2964 bestMatch = i; in matchString()
2970 if (bestMatch >= 0) in matchString()
2974bestMatch++; // only get here for cyclic year names, which match 1-based years 1-60 in matchString()
2976 cal.set(field, bestMatch); in matchString()
3024 int bestMatchLength = 0, bestMatch = -1; in matchQuarterString() local
3033 bestMatch = i; in matchQuarterString()
3038 if (bestMatch >= 0) { in matchQuarterString()
3039 cal.set(field, bestMatch * 3); in matchQuarterString()
[all …]
DDateIntervalFormat.java406 SkeletonAndItsBestMatch(String skeleton, String bestMatch) { in SkeletonAndItsBestMatch() argument
408 bestMatchSkeleton = bestMatch; in SkeletonAndItsBestMatch()
/third_party/skia/third_party/externals/icu/source/i18n/
Dsmpdtfmt.cpp2686 int32_t bestMatchLength = 0, bestMatch = -1; in matchQuarterString() local
2693 bestMatch = i; in matchQuarterString()
2697 if (bestMatch >= 0) { in matchQuarterString()
2698 cal.set(field, bestMatch * 3); in matchQuarterString()
2710 int32_t bestMatchLength = 0, bestMatch = -1; in matchDayPeriodStrings() local
2716 bestMatch = i; in matchDayPeriodStrings()
2720 if (bestMatch >= 0) { in matchDayPeriodStrings()
2721 dayPeriod = bestMatch; in matchDayPeriodStrings()
2892 int32_t bestMatchLength = 0, bestMatch = -1; in matchString() local
2899 bestMatch = i; in matchString()
[all …]
/third_party/node/deps/v8/src/inspector/
Dv8-debugger-agent-impl.cc223 size_t bestMatch; in adjustBreakpointLocation() local
225 bestMatch = prevMatch; in adjustBreakpointLocation()
227 bestMatch = nextMatch; in adjustBreakpointLocation()
229 bestMatch = nextMatch - offset < offset - prevMatch ? nextMatch : prevMatch; in adjustBreakpointLocation()
231 bestMatch += searchRegionOffset; in adjustBreakpointLocation()
233 script.location(static_cast<int>(bestMatch)); in adjustBreakpointLocation()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DLocaleMatcherTest.java278 private void assertNull(Object bestMatch) { in assertNull() argument
279 assertNull("", bestMatch); in assertNull()
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp7631 const TFunction* bestMatch = nullptr; in findFunction() local
7641 bestMatch = selectFunction(candidateList, call, convertible, better, tie); in findFunction()
7643 if (bestMatch == nullptr) { in findFunction()
7648 bestMatch = selectFunction(candidateList, call, convertible, better, tie); in findFunction()
7651 if (bestMatch == nullptr) { in findFunction()
7663 if (call.getMangledName() == bestMatch->getMangledName()) in findFunction()
7664 return bestMatch; in findFunction()
7674 promote = new TIntermUnary(bestMatch->getBuiltInOp()); in findFunction()
7677 promote = new TIntermAggregate(bestMatch->getBuiltInOp()); in findFunction()
7720 bestMatch = selectFunction(candidateList, convertedCall, convertible, better, tie); in findFunction()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleMatcherTest.java299 private void assertNull(Object bestMatch) { in assertNull() argument
300 assertNull("", bestMatch); in assertNull()
/third_party/typescript/src/server/
DeditorServices.ts2494 let bestMatch: InferredProject | undefined; variable
2502 … if (bestMatch && bestMatch.projectRootPath!.length > project.projectRootPath.length) continue;
2503 bestMatch = project;
2506 return bestMatch;
/third_party/glslang/glslang/MachineIndependent/
DParseHelper.cpp6430 const TFunction* bestMatch = selectFunction(candidateList, call, convertible, better, tie); in findFunction400() local
6432 if (bestMatch == nullptr) in findFunction400()
6437 return bestMatch; in findFunction400()
6520 const TFunction* bestMatch = selectFunction(candidateList, call, convertible, better, tie); in findFunctionExplicitTypes() local
6522 if (bestMatch == nullptr) in findFunctionExplicitTypes()
6527 return bestMatch; in findFunctionExplicitTypes()
/third_party/icu/icu4c/source/test/testdata/
DlocaleMatcherTest.txt374 # When it *does* occur in the list, bestMatch returns it, as expected.
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/test/util/data/
DlocaleMatcherTest.txt374 # When it *does* occur in the list, bestMatch returns it, as expected.
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/data/
DlocaleMatcherTest.txt374 # When it *does* occur in the list, bestMatch returns it, as expected.
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs39014 let bestMatch = null;
39020 bestMatch = name;
39021 maxSV = new import_semver.default.SemVer(bestMatch);
39024 return bestMatch;
/third_party/typescript/src/compiler/
Dchecker.ts46770 let bestMatch: Type | undefined;
46786 bestMatch = target;
46793 return bestMatch;
/third_party/typescript/lib/
DtypingsInstaller.js93325 var bestMatch;
93342 bestMatch = target;
93349 return bestMatch;

12