Home
last modified time | relevance | path

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

/external/chromium_org/net/base/
Dmime_util.cc587 const std::string base_pattern(mime_type_pattern.substr(0, semicolon)); in MatchesMimeType() local
591 if (base_pattern == "*" || base_pattern == "*/*") in MatchesMimeType()
594 const std::string::size_type star = base_pattern.find('*'); in MatchesMimeType()
596 if (base_pattern == base_type) in MatchesMimeType()
603 if (base_type.length() < base_pattern.length() - 1) in MatchesMimeType()
606 const std::string left(base_pattern.substr(0, star)); in MatchesMimeType()
607 const std::string right(base_pattern.substr(star + 1)); in MatchesMimeType()
/external/chromium/base/i18n/
Dtime_formatting.cc58 const char* base_pattern = (type == k12HourClock ? "ahm" : "Hm"); in TimeFormatTimeOfDayWithHourClockType() local
60 generator->getBestPattern(icu::UnicodeString(base_pattern), status); in TimeFormatTimeOfDayWithHourClockType()
/external/chromium_org/base/i18n/
Dtime_formatting.cc76 const char* base_pattern = (type == k12HourClock ? "ahm" : "Hm"); in TimeFormatTimeOfDayWithHourClockType() local
78 generator->getBestPattern(icu::UnicodeString(base_pattern), status); in TimeFormatTimeOfDayWithHourClockType()
/external/chromium_org/
DPRESUBMIT.py742 base_pattern = '"[^"]*google\.com[^"]*"'
743 comment_pattern = input_api.re.compile('//.*%s' % base_pattern)
744 pattern = input_api.re.compile(base_pattern)