Home
last modified time | relevance | path

Searched refs:wildcard_string (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/
Dversion.cc102 bool Version::IsValidWildcardString(const std::string& wildcard_string) { in IsValidWildcardString() argument
103 std::string version_string = wildcard_string; in IsValidWildcardString()
111 int Version::CompareToWildcardString(const std::string& wildcard_string) const { in CompareToWildcardString()
113 DCHECK(Version::IsValidWildcardString(wildcard_string)); in CompareToWildcardString()
116 if (!EndsWith(wildcard_string, ".*", CompareCase::SENSITIVE)) { in CompareToWildcardString()
117 Version version(wildcard_string); in CompareToWildcardString()
124 wildcard_string.substr(0, wildcard_string.length() - 2), &parsed); in CompareToWildcardString()
Dversion.h46 static bool IsValidWildcardString(const std::string& wildcard_string);
55 int CompareToWildcardString(const std::string& wildcard_string) const;