Lines Matching refs:re
38 re2::Regexp* re = Regexp::Parse(pattern, pf, &status); in Add() local
39 if (re == NULL) { in Add()
50 if (re->op() == kRegexpConcat) { in Add()
51 int nsub = re->nsub(); in Add()
54 sub[i] = re->sub()[i]->Incref(); in Add()
56 re->Decref(); in Add()
57 re = re2::Regexp::Concat(sub, nsub + 1, pf); in Add()
61 sub[0] = re; in Add()
63 re = re2::Regexp::Concat(sub, 2, pf); in Add()
65 re_.push_back(re); in Add()
78 re2::Regexp* re = re2::Regexp::Alternate(const_cast<re2::Regexp**>(&re_[0]), in Compile() local
81 re2::Regexp* sre = re->Simplify(); in Compile()
82 re->Decref(); in Compile()
83 re = sre; in Compile()
84 if (re == NULL) { in Compile()
90 prog_ = Prog::CompileSet(options_, anchor_, re); in Compile()