Lines Matching refs:wildcard_string
101 bool Version::IsValidWildcardString(const std::string& wildcard_string) {
102 std::string version_string = wildcard_string;
103 if (EndsWith(wildcard_string.c_str(), ".*", false))
104 version_string = wildcard_string.substr(0, wildcard_string.size() - 2);
117 int Version::CompareToWildcardString(const std::string& wildcard_string) const {
119 DCHECK(Version::IsValidWildcardString(wildcard_string));
122 if (!EndsWith(wildcard_string.c_str(), ".*", false)) {
123 Version version(wildcard_string);
130 wildcard_string.substr(0, wildcard_string.length() - 2), &parsed);