Home
last modified time | relevance | path

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

/external/apache-http/src/org/apache/http/protocol/
DUriPatternMatcher.java105 String bestMatch = null; in lookup() local
110 if (bestMatch == null in lookup()
111 || (bestMatch.length() < pattern.length()) in lookup()
112 || (bestMatch.length() == pattern.length() && pattern.endsWith("*"))) { in lookup()
114 bestMatch = pattern; in lookup()
/external/apache-http/src/org/apache/http/impl/client/
DBasicCredentialsProvider.java106 AuthScope bestMatch = null; in matchCredentials() local
111 bestMatch = current; in matchCredentials()
114 if (bestMatch != null) { in matchCredentials()
115 creds = map.get(bestMatch); in matchCredentials()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTimeZoneGenericNames.java708 GenericMatchInfo bestMatch = null; in findBestMatch() local
720 bestMatch = createGenericMatchInfo(longestMatch); in findBestMatch()
721 if (bestMatch.matchLength() == (text.length() - start)) { in findBestMatch()
739 if (bestMatch.timeType != TimeType.STANDARD) { in findBestMatch()
740 return bestMatch; in findBestMatch()
753 if (bestMatch == null || match.matchLength() >= bestMatch.matchLength()) { in findBestMatch()
754 bestMatch = match; in findBestMatch()
759 return bestMatch; in findBestMatch()
/external/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()
/external/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()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java2900 int bestMatchLength = 0, bestMatch = -1; in matchString() local
2912 bestMatch = i; in matchString()
2923 bestMatch = i; in matchString()
2929 if (bestMatch >= 0) in matchString()
2933bestMatch++; // only get here for cyclic year names, which match 1-based years 1-60 in matchString()
2935 cal.set(field, bestMatch); in matchString()
2984 int bestMatchLength = 0, bestMatch = -1; in matchQuarterString() local
2993 bestMatch = i; in matchQuarterString()
2998 if (bestMatch >= 0) { in matchQuarterString()
2999 cal.set(field, bestMatch * 3); in matchQuarterString()
[all …]
DDateIntervalFormat.java293 SkeletonAndItsBestMatch(String skeleton, String bestMatch) { in SkeletonAndItsBestMatch() argument
295 bestMatchSkeleton = bestMatch; in SkeletonAndItsBestMatch()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java2886 int bestMatchLength = 0, bestMatch = -1; in matchString() local
2898 bestMatch = i; in matchString()
2909 bestMatch = i; in matchString()
2915 if (bestMatch >= 0) in matchString()
2919bestMatch++; // only get here for cyclic year names, which match 1-based years 1-60 in matchString()
2921 cal.set(field, bestMatch); in matchString()
2969 int bestMatchLength = 0, bestMatch = -1; in matchQuarterString() local
2978 bestMatch = i; in matchQuarterString()
2983 if (bestMatch >= 0) { in matchQuarterString()
2984 cal.set(field, bestMatch * 3); in matchQuarterString()
[all …]
DDateIntervalFormat.java292 SkeletonAndItsBestMatch(String skeleton, String bestMatch) { in SkeletonAndItsBestMatch() argument
294 bestMatchSkeleton = bestMatch; in SkeletonAndItsBestMatch()
/external/icu/icu4c/source/i18n/
Dsmpdtfmt.cpp2567 int32_t bestMatchLength = 0, bestMatch = -1; in matchQuarterString() local
2574 bestMatch = i; in matchQuarterString()
2578 if (bestMatch >= 0) { in matchQuarterString()
2579 cal.set(field, bestMatch * 3); in matchQuarterString()
2591 int32_t bestMatchLength = 0, bestMatch = -1; in matchDayPeriodStrings() local
2597 bestMatch = i; in matchDayPeriodStrings()
2601 if (bestMatch >= 0) { in matchDayPeriodStrings()
2602 dayPeriod = bestMatch; in matchDayPeriodStrings()
2773 int32_t bestMatchLength = 0, bestMatch = -1; in matchString() local
2780 bestMatch = i; in matchString()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleMatcherTest.java236 private void assertNull(Object bestMatch) { in assertNull() argument
237 assertNull("", bestMatch); in assertNull()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleMatcherTest.java237 private void assertNull(Object bestMatch) { in assertNull() argument
238 assertNull("", bestMatch); in assertNull()