Lines Matching refs:is_valid_
164 if (is_valid_) {
177 if (!re.is_valid_) return false;
186 if (!re.is_valid_) return false;
202 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0;
211 if (is_valid_) {
213 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0;
215 EXPECT_TRUE(is_valid_)
430 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str);
436 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str);
446 is_valid_ = ValidateRegex(regex);
447 if (!is_valid_) {