/external/regex-re2/re2/ |
D | simplify.cc | 18 bool Regexp::SimplifyRegexp(const StringPiece& src, ParseFlags flags, in SimplifyRegexp() 21 Regexp* re = Parse(src, flags, status); in SimplifyRegexp() 24 Regexp* sre = re->Simplify(); in SimplifyRegexp() 42 bool Regexp::ComputeSimple() { in ComputeSimple() 43 Regexp** subs; in ComputeSimple() 103 class SimplifyWalker : public Regexp::Walker<Regexp*> { 106 virtual Regexp* PreVisit(Regexp* re, Regexp* parent_arg, bool* stop); 107 virtual Regexp* PostVisit(Regexp* re, 108 Regexp* parent_arg, 109 Regexp* pre_arg, [all …]
|
D | regexp.h | 267 class Regexp { 318 Regexp** sub() { in sub() 336 Regexp* Incref(); 344 static Regexp* Parse(const StringPiece& s, ParseFlags flags, 354 Regexp* Simplify(); 385 static Regexp* Plus(Regexp* sub, ParseFlags flags); 386 static Regexp* Star(Regexp* sub, ParseFlags flags); 387 static Regexp* Quest(Regexp* sub, ParseFlags flags); 388 static Regexp* Concat(Regexp** subs, int nsubs, ParseFlags flags); 389 static Regexp* Alternate(Regexp** subs, int nsubs, ParseFlags flags); [all …]
|
D | regexp.cc | 16 Regexp::Regexp(RegexpOp op, ParseFlags parse_flags) in Regexp() function in re2::Regexp 32 Regexp::~Regexp() { in ~Regexp() 54 bool Regexp::QuickDestroy() { in QuickDestroy() 62 static map<Regexp*, int> ref_map; 65 int Regexp::Ref() { in Ref() 74 Regexp* Regexp::Incref() { in Incref() 93 void Regexp::Decref() { in Decref() 112 void Regexp::Destroy() { in Destroy() 119 Regexp* stack = this; in Destroy() 121 Regexp* re = stack; in Destroy() [all …]
|
D | parse.cc | 45 class Regexp::ParseState { 61 bool PushRegexp(Regexp* re); 105 Regexp* DoFinish(); 110 Regexp* FinishRegexp(Regexp*); 119 bool ParseCharClass(StringPiece* s, Regexp** out_re, 156 Regexp* stacktop_; 167 Regexp::ParseState::ParseState(ParseFlags flags, in ParseState() 179 Regexp::ParseState::~ParseState() { in ~ParseState() 180 Regexp* next; in ~ParseState() 181 for (Regexp* re = stacktop_; re != NULL; re = next) { in ~ParseState() [all …]
|
D | walker-inl.h | 22 template<typename T> class Regexp::Walker { 36 virtual T PreVisit(Regexp* re, T parent_arg, bool* stop); 47 virtual T PostVisit(Regexp* re, T parent_arg, T pre_arg, 62 virtual T ShortVisit(Regexp* re, T parent_arg) = 0; 67 T Walk(Regexp* re, T top_arg); 77 T WalkExponential(Regexp* re, T top_arg, int max_visits); 93 T WalkInternal(Regexp* re, T top_arg, bool use_copy); 98 template<typename T> T Regexp::Walker<T>::PreVisit(Regexp* re, in PreVisit() 104 template<typename T> T Regexp::Walker<T>::PostVisit(Regexp* re, in PostVisit() 112 template<typename T> T Regexp::Walker<T>::Copy(T arg) { in Copy() [all …]
|
D | set.cc | 34 Regexp::ParseFlags pf = static_cast<Regexp::ParseFlags>( in Add() 38 re2::Regexp* re = Regexp::Parse(pattern, pf, &status); in Add() 49 re2::Regexp* m = re2::Regexp::HaveMatch(n, pf); in Add() 52 re2::Regexp** sub = new re2::Regexp*[nsub + 1]; in Add() 57 re = re2::Regexp::Concat(sub, nsub + 1, pf); in Add() 60 re2::Regexp* sub[2]; in Add() 63 re = re2::Regexp::Concat(sub, 2, pf); in Add() 76 Regexp::ParseFlags pf = static_cast<Regexp::ParseFlags>( in Compile() 78 re2::Regexp* re = re2::Regexp::Alternate(const_cast<re2::Regexp**>(&re_[0]), in Compile() 81 re2::Regexp* sre = re->Simplify(); in Compile()
|
D | mimics_pcre.cc | 32 static bool CanBeEmptyString(Regexp *re); 37 class PCREWalker : public Regexp::Walker<bool> { 40 bool PostVisit(Regexp* re, bool parent_arg, bool pre_arg, bool* child_args, 43 bool ShortVisit(Regexp* re, bool a) { in ShortVisit() 53 bool PCREWalker::PostVisit(Regexp* re, bool parent_arg, bool pre_arg, in PostVisit() 83 if (re->parse_flags() & Regexp::WasDollar) in PostVisit() 101 bool Regexp::MimicsPCRE() { in MimicsPCRE() 114 class EmptyStringWalker : public Regexp::Walker<bool> { 117 bool PostVisit(Regexp* re, bool parent_arg, bool pre_arg, 120 bool ShortVisit(Regexp* re, bool a) { in ShortVisit() [all …]
|
D | tostring.cc | 31 class ToStringWalker : public Regexp::Walker<int> { 35 virtual int PreVisit(Regexp* re, int parent_arg, bool* stop); 36 virtual int PostVisit(Regexp* re, int parent_arg, int pre_arg, 38 virtual int ShortVisit(Regexp* re, int parent_arg) { in ShortVisit() 48 string Regexp::ToString() { in ToString() 61 int ToStringWalker::PreVisit(Regexp* re, int parent_arg, bool* stop) { in PreVisit() 139 int ToStringWalker::PostVisit(Regexp* re, int parent_arg, int pre_arg, in PostVisit() 157 AppendLiteral(t_, re->rune(), re->parse_flags() & Regexp::FoldCase); in PostVisit() 162 AppendLiteral(t_, re->runes()[i], re->parse_flags() & Regexp::FoldCase); in PostVisit() 185 if (re->parse_flags() & Regexp::NonGreedy) in PostVisit() [all …]
|
D | compile.cc | 121 class Compiler : public Regexp::Walker<Frag> { 130 static Prog *Compile(Regexp* re, bool reversed, int64 max_mem); 135 Regexp* re); 145 Frag PreVisit(Regexp* re, Frag parent_arg, bool* stop); 146 Frag PostVisit(Regexp* re, Frag parent_arg, Frag pre_arg, Frag* child_args, 148 Frag ShortVisit(Regexp* re, Frag parent_arg); 210 void Setup(Regexp::ParseFlags, int64, RE2::Anchor); 675 Frag Compiler::ShortVisit(Regexp* re, Frag) { in ShortVisit() 681 Frag Compiler::PreVisit(Regexp* re, Frag, bool* stop) { in PreVisit() 712 Frag Compiler::PostVisit(Regexp* re, Frag, Frag, Frag* child_frags, in PostVisit() [all …]
|
D | prefilter.h | 18 class Regexp; variable 71 static Prefilter* FromRegexp(Regexp* a); 77 static Info* BuildInfo(Regexp* re);
|
D | prefilter.cc | 460 class Prefilter::Info::Walker : public Regexp::Walker<Prefilter::Info*> { 465 Regexp* re, Info* parent_arg, 470 Regexp* re, 477 Prefilter::Info* Prefilter::BuildInfo(Regexp* re) { in BuildInfo() 493 Regexp* re, Prefilter::Info* parent_arg) { in ShortVisit() 500 Regexp* re, Prefilter::Info* parent_arg, in PostVisit() 606 Prefilter* Prefilter::FromRegexp(Regexp* re) { in FromRegexp() 610 Regexp* simple = re->Simplify(); in FromRegexp() 663 Regexp* regexp = re2->Regexp(); in FromRE2()
|
D | re2.cc | 111 int flags = Regexp::ClassNL; in ParseFlags() 119 flags |= Regexp::Latin1; in ParseFlags() 124 flags |= Regexp::LikePerl; in ParseFlags() 127 flags |= Regexp::Literal; in ParseFlags() 130 flags |= Regexp::NeverNL; in ParseFlags() 133 flags |= Regexp::FoldCase; in ParseFlags() 136 flags |= Regexp::PerlClasses; in ParseFlags() 139 flags |= Regexp::PerlB; in ParseFlags() 142 flags |= Regexp::OneLine; in ParseFlags() 162 entire_regexp_ = Regexp::Parse( in Init() [all …]
|
D | re2.h | 194 class Regexp; variable 277 re2::Regexp* Regexp() const { return entire_regexp_; } in Regexp() function 691 re2::Regexp* entire_regexp_; // parsed regular expression 692 re2::Regexp* suffix_regexp_; // parsed regular expression, prefix removed
|
D | set.h | 45 vector<re2::Regexp*> re_;
|
D | prog.h | 72 class Regexp; variable 335 Regexp* re);
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | BlackList.cpp | 51 std::string Regexp = SplitLine.second; in BlackList() local 54 for (size_t pos = 0; (pos = Regexp.find("*", pos)) != std::string::npos; in BlackList() 56 Regexp.replace(pos, strlen("*"), ".*"); in BlackList() 60 Regex CheckRE(Regexp); in BlackList() 70 Regexps[Prefix] += Regexp; in BlackList()
|
/external/regex-re2/ |
D | ucs2.diff | 27 - if (prog_->flags() & Regexp::UCS2) 165 if (re->parse_flags() & Regexp::Latin1) 167 - else if (re->parse_flags() & Regexp::UCS2) 190 - bool ucs2 = prog_->flags() & Regexp::UCS2; 240 bool Regexp::ParseState::PushCarat() { 255 bool Regexp::ParseState::PushWordBoundary(bool word) { 289 flags |= Regexp::Latin1; 292 - flags |= Regexp::UCS2; 317 bool Regexp::RequiredPrefix(string *prefix, bool *foldcase, Regexp** suffix) { 352 - if (prog_->flags() & Regexp::UCS2) [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
D | core-extensions.rb | 14 chr = Regexp.escape( chr ) 15 exp = Regexp.new( "^ *#{ chr }" )
|
/external/webkit/Tools/Scripts/ |
D | clean-header-guards | 30 IgnoreFileNamesPattern = Regexp.union(*IgnoredFilenamePatterns).freeze
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
D | token.rb | 121 when Regexp then obj =~ text
|
/external/chromium/chrome/browser/userfeedback/proto/ |
D | config.proto | 136 // Regexp matching page URL.
|
/external/libvpx/examples/includes/geshi/docs/ |
D | CHANGES | 94 causing broken highlighting an Regexp Compile errors (BenBE, milian) 145 * Cache Symbol Search Regexp and make Symbol Highlighting faster (milian) 183 * Added possibility to define strict blocks using an Regexp (BenBE)
|
/external/bison/data/m4sugar/ |
D | m4sugar.m4 | 1349 # Regexp for `[a-zA-Z_0-9]*' 1359 # Regexp for `[a-zA-Z_][a-zA-Z_0-9]*'
|
/external/v8/test/mozilla/ |
D | mozilla.status | 296 # Regexp too long for PCRE.
|
/external/llvm/projects/sample/autoconf/m4/ |
D | libtool.m4 | 4619 # Regexp to match symbols that can be accessed directly from C.
|