Searched refs:re_ (Results 1 - 6 of 6) sorted by relevance

/external/google-benchmark/src/
H A Dre.h54 std::regex re_; member in class:benchmark::Regex
56 regex_t re_; member in class:benchmark::Regex
66 re_ = std::regex(spec, std::regex_constants::extended);
83 return std::regex_search(str, re_);
88 int ec = regcomp(&re_, spec.c_str(), REG_EXTENDED | REG_NOSUB);
91 size_t needed = regerror(ec, &re_, nullptr, 0);
93 regerror(ec, &re_, errbuf, needed);
112 regfree(&re_);
120 return regexec(&re_, str.c_str(), 0, nullptr, 0) == 0;
/external/libcxx/utils/google-benchmark/src/
H A Dre.h54 std::regex re_; member in class:benchmark::Regex
56 regex_t re_; member in class:benchmark::Regex
66 re_ = std::regex(spec, std::regex_constants::extended);
83 return std::regex_search(str, re_);
88 int ec = regcomp(&re_, spec.c_str(), REG_EXTENDED | REG_NOSUB);
91 size_t needed = regerror(ec, &re_, nullptr, 0);
93 regerror(ec, &re_, errbuf, needed);
112 regfree(&re_);
120 return regexec(&re_, str.c_str(), 0, nullptr, 0) == 0;
/external/regex-re2/re2/
H A Dset.cc23 for (int i = 0; i < re_.size(); i++)
24 re_[i]->Decref();
48 int n = re_.size();
65 re_.push_back(re);
78 re2::Regexp* re = re2::Regexp::Alternate(const_cast<re2::Regexp**>(&re_[0]),
79 re_.size(), pf);
80 re_.clear();
H A Dset.h45 vector<re2::Regexp*> re_; member in class:re2::RE2::Set
/external/regex-re2/re2/testing/
H A Dtester.cc171 re_(NULL),
258 re_ = new PCRE("("+re+")", o);
259 if (!re_->error().empty()) {
272 delete re_;
402 if (!re_ || text.begin() != context.begin() ||
422 re_->ClearHitLimit();
424 re_->DoMatch(text,
428 if (re_->HitLimit()) {
H A Dtester.h84 PCRE* re_; // PCRE implementation member in class:re2::TestInstance

Completed in 193 milliseconds