Lines Matching refs:is_valid_
114 if (is_valid_) { in ~RE()
127 if (!re.is_valid_) return false; in FullMatch()
136 if (!re.is_valid_) return false; in PartialMatch()
152 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
161 if (is_valid_) { in Init()
163 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
165 EXPECT_TRUE(is_valid_) in Init()
380 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
386 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
396 is_valid_ = ValidateRegex(regex); in Init()
397 if (!is_valid_) { in Init()