Home
last modified time | relevance | path

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

/external/apache-http/src/org/apache/http/protocol/
DUriPatternMatcher.java100 String bestMatch = null; in lookup() local
105 if (bestMatch == null in lookup()
106 || (bestMatch.length() < pattern.length()) in lookup()
107 || (bestMatch.length() == pattern.length() && pattern.endsWith("*"))) { in lookup()
109 bestMatch = pattern; in lookup()
/external/apache-http/src/org/apache/http/impl/client/
DBasicCredentialsProvider.java101 AuthScope bestMatch = null; in matchCredentials() local
106 bestMatch = current; in matchCredentials()
109 if (bestMatch != null) { in matchCredentials()
110 creds = map.get(bestMatch); in matchCredentials()
/external/chromium_org/third_party/icu/source/i18n/
Dsmpdtfmt.cpp2202 int32_t bestMatchLength = 0, bestMatch = -1; in matchQuarterString() local
2225 bestMatch = i; in matchQuarterString()
2229 if (bestMatch >= 0) in matchQuarterString()
2231 cal.set(field, bestMatch * 3); in matchQuarterString()
2236 lcase.fastCopyFrom(data[bestMatch]).foldCase(); in matchQuarterString()
2244 int32_t len = data[bestMatch].length(); // 99+% of the time in matchQuarterString()
2282 int32_t bestMatchLength = 0, bestMatch = -1; in matchString() local
2305 bestMatch = i; in matchString()
2309 if (bestMatch >= 0) in matchString()
2312 if (!strcmp(cal.getType(),"hebrew") && field==UCAL_MONTH && bestMatch==13) { in matchString()
[all …]
/external/icu4c/i18n/
Dsmpdtfmt.cpp2077 int32_t bestMatchLength = 0, bestMatch = -1; in matchQuarterString() local
2096 bestMatch = i; in matchQuarterString()
2099 if (bestMatch >= 0) in matchQuarterString()
2101 cal.set(field, bestMatch * 3); in matchQuarterString()
2285 int32_t bestMatchLength = 0, bestMatch = -1; in matchString() local
2305 bestMatch = i; in matchString()
2316 bestMatch = i; in matchString()
2322 if (bestMatch >= 0) in matchString()
2325 if (!strcmp(cal.getType(),"hebrew") && field==UCAL_MONTH && bestMatch==13) { in matchString()
2330 bestMatch++; // only get here for cyclic year names, which match 1-based years 1-60 in matchString()
[all …]