Lines Matching refs:RE2
29 const VariadicFunction2<bool, const StringPiece&, const RE2&, RE2::Arg, RE2::FullMatchN> RE2::FullM…
30 const VariadicFunction2<bool, const StringPiece&, const RE2&, RE2::Arg, RE2::PartialMatchN> RE2::Pa…
31 const VariadicFunction2<bool, StringPiece*, const RE2&, RE2::Arg, RE2::ConsumeN> RE2::Consume;
32 const VariadicFunction2<bool, StringPiece*, const RE2&, RE2::Arg, RE2::FindAndConsumeN> RE2::FindAn…
36 const int RE2::Options::kDefaultMaxMem; // initialized in re2.h
39 RE2::Options::Options(RE2::CannedOptions opt) in Options()
40 : encoding_(opt == RE2::Latin1 ? EncodingLatin1 : EncodingUTF8), in Options()
41 posix_syntax_(opt == RE2::POSIX), in Options()
42 longest_match_(opt == RE2::POSIX), in Options()
43 log_errors_(opt != RE2::Quiet), in Options()
74 static RE2::ErrorCode RegexpErrorToRE2(re2::RegexpStatusCode code) { in RegexpErrorToRE2()
77 return RE2::NoError; in RegexpErrorToRE2()
79 return RE2::ErrorInternal; in RegexpErrorToRE2()
81 return RE2::ErrorBadEscape; in RegexpErrorToRE2()
83 return RE2::ErrorBadCharClass; in RegexpErrorToRE2()
85 return RE2::ErrorBadCharRange; in RegexpErrorToRE2()
87 return RE2::ErrorMissingBracket; in RegexpErrorToRE2()
89 return RE2::ErrorMissingParen; in RegexpErrorToRE2()
91 return RE2::ErrorTrailingBackslash; in RegexpErrorToRE2()
93 return RE2::ErrorRepeatArgument; in RegexpErrorToRE2()
95 return RE2::ErrorRepeatSize; in RegexpErrorToRE2()
97 return RE2::ErrorRepeatOp; in RegexpErrorToRE2()
99 return RE2::ErrorBadPerlOp; in RegexpErrorToRE2()
101 return RE2::ErrorBadUTF8; in RegexpErrorToRE2()
103 return RE2::ErrorBadNamedCapture; in RegexpErrorToRE2()
105 return RE2::ErrorInternal; in RegexpErrorToRE2()
115 RE2::RE2(const char* pattern) { in RE2() function in re2::RE2
119 RE2::RE2(const string& pattern) { in RE2() function in re2::RE2
123 RE2::RE2(const StringPiece& pattern) { in RE2() function in re2::RE2
127 RE2::RE2(const StringPiece& pattern, const Options& options) { in RE2() function in re2::RE2
131 int RE2::Options::ParseFlags() const { in ParseFlags()
138 case RE2::Options::EncodingUTF8: in ParseFlags()
140 case RE2::Options::EncodingLatin1: in ParseFlags()
172 void RE2::Init(const StringPiece& pattern, const Options& options) { in Init()
220 error_code_ = RE2::ErrorPatternTooLarge; in Init()
233 re2::Prog* RE2::ReverseProg() const { in ReverseProg()
241 error_code_ = RE2::ErrorPatternTooLarge; in ReverseProg()
248 RE2::~RE2() { in ~RE2()
264 int RE2::ProgramSize() const { in ProgramSize()
271 const map<string, int>& RE2::NamedCapturingGroups() const { in NamedCapturingGroups()
284 const map<int, string>& RE2::CapturingGroupNames() const { in CapturingGroupNames()
298 bool RE2::FullMatchN(const StringPiece& text, const RE2& re, in FullMatchN()
303 bool RE2::PartialMatchN(const StringPiece& text, const RE2& re, in PartialMatchN()
308 bool RE2::ConsumeN(StringPiece* input, const RE2& re, in ConsumeN()
319 bool RE2::FindAndConsumeN(StringPiece* input, const RE2& re, in FindAndConsumeN()
332 int RE2::MaxSubmatch(const StringPiece& rewrite) { in MaxSubmatch()
349 bool RE2::Replace(string *str, in Replace()
350 const RE2& re, in Replace()
369 int RE2::GlobalReplace(string *str, in GlobalReplace()
370 const RE2& re, in GlobalReplace()
409 bool RE2::Extract(const StringPiece &text, in Extract()
410 const RE2& re, in Extract()
425 string RE2::QuoteMeta(const StringPiece& unquoted) { in QuoteMeta()
463 bool RE2::PossibleMatchRange(string* min, string* max, int maxlen) const { in PossibleMatchRange()
525 bool RE2::Match(const StringPiece& text, in Match()
783 bool RE2::DoMatch(const StringPiece& text, in DoMatch()
852 bool RE2::Rewrite(string *out, const StringPiece &rewrite, in Rewrite()
888 int RE2::NumberOfCapturingGroups() const { in NumberOfCapturingGroups()
900 bool RE2::CheckRewriteString(const StringPiece& rewrite, string* error) const { in CheckRewriteString()
938 bool RE2::Arg::parse_null(const char* str, int n, void* dest) { in parse_null()
943 bool RE2::Arg::parse_string(const char* str, int n, void* dest) { in parse_string()
949 bool RE2::Arg::parse_stringpiece(const char* str, int n, void* dest) { in parse_stringpiece()
955 bool RE2::Arg::parse_char(const char* str, int n, void* dest) { in parse_char()
962 bool RE2::Arg::parse_uchar(const char* str, int n, void* dest) { in parse_uchar()
1022 bool RE2::Arg::parse_long_radix(const char* str, in parse_long_radix()
1039 bool RE2::Arg::parse_ulong_radix(const char* str, in parse_ulong_radix()
1062 bool RE2::Arg::parse_short_radix(const char* str, in parse_short_radix()
1074 bool RE2::Arg::parse_ushort_radix(const char* str, in parse_ushort_radix()
1086 bool RE2::Arg::parse_int_radix(const char* str, in parse_int_radix()
1098 bool RE2::Arg::parse_uint_radix(const char* str, in parse_uint_radix()
1110 bool RE2::Arg::parse_longlong_radix(const char* str, in parse_longlong_radix()
1127 bool RE2::Arg::parse_ulonglong_radix(const char* str, in parse_ulonglong_radix()
1175 bool RE2::Arg::parse_double(const char* str, int n, void* dest) { in parse_double()
1179 bool RE2::Arg::parse_float(const char* str, int n, void* dest) { in parse_float()
1185 bool RE2::Arg::parse_##name(const char* str, int n, void* dest) { \
1188 bool RE2::Arg::parse_##name##_hex(const char* str, int n, void* dest) { \
1191 bool RE2::Arg::parse_##name##_octal(const char* str, int n, void* dest) { \
1194 bool RE2::Arg::parse_##name##_cradix(const char* str, int n, void* dest) { \