/external/regex-re2/re2/ |
D | simplify.cc | 126 Regexp::ParseFlags parse_flags); 218 Regexp* nre = new Regexp(re->op(), re->parse_flags()); in PostVisit() 234 Regexp* nre = new Regexp(kRegexpCapture, re->parse_flags()); in PostVisit() 260 re->parse_flags() == newsub->parse_flags()) in PostVisit() 263 Regexp* nre = new Regexp(re->op(), re->parse_flags()); in PostVisit() 278 re->parse_flags()); in PostVisit() 298 Regexp::ParseFlags parse_flags) { in Concat2() argument 299 Regexp* re = new Regexp(kRegexpConcat, parse_flags); in Concat2() 386 return new Regexp(kRegexpNoMatch, re->parse_flags()); in SimplifyCharClass() 388 return new Regexp(kRegexpAnyChar, re->parse_flags()); in SimplifyCharClass()
|
D | regexp.cc | 16 Regexp::Regexp(RegexpOp op, ParseFlags parse_flags) in Regexp() argument 19 parse_flags_(static_cast<uint16>(parse_flags)), in Regexp() 183 if (sub->op() == kRegexpPlus && sub->parse_flags() == flags) in Plus() 192 if (sub->op() == kRegexpStar && sub->parse_flags() == flags) in Star() 201 if (sub->op() == kRegexpQuest && sub->parse_flags() == flags) in Quest() 335 return ((a->parse_flags() ^ b->parse_flags()) & Regexp::WasDollar) == 0; in TopEqual() 339 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0; in TopEqual() 343 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0 && in TopEqual() 354 return ((a->parse_flags() ^ b->parse_flags()) & Regexp::NonGreedy) == 0; in TopEqual() 357 return ((a->parse_flags() ^ b->parse_flags()) & Regexp::NonGreedy) == 0 && in TopEqual() [all …]
|
D | tostring.cc | 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() 193 if (re->parse_flags() & Regexp::NonGreedy) in PostVisit() 201 if (re->parse_flags() & Regexp::NonGreedy) in PostVisit() 214 if (re->parse_flags() & Regexp::NonGreedy) in PostVisit() 241 if (re->parse_flags() & Regexp::WasDollar) in PostVisit()
|
D | parse.cc | 610 flags_ = re->parse_flags(); in DoRightParen() 679 Regexp::ParseFlags pf = re->parse_flags(); in RemoveLeadingRegexp() 960 ccb.AddRangeFlags(re->rune(), re->rune(), re->parse_flags()); in FactorAlternationRecursive() 1385 Rune lo, Rune hi, Regexp::ParseFlags parse_flags) { in AddRangeFlags() argument 1388 bool cutnl = !(parse_flags & Regexp::ClassNL) || in AddRangeFlags() 1389 (parse_flags & Regexp::NeverNL); in AddRangeFlags() 1392 AddRangeFlags(lo, '\n' - 1, parse_flags); in AddRangeFlags() 1394 AddRangeFlags('\n' + 1, hi, parse_flags); in AddRangeFlags() 1399 if (parse_flags & Regexp::FoldCase) in AddRangeFlags() 1439 Regexp::ParseFlags parse_flags) { in AddUGroup() argument [all …]
|
D | compile.cc | 755 return Star(child_frags[0], re->parse_flags()&Regexp::NonGreedy); in PostVisit() 758 return Plus(child_frags[0], re->parse_flags()&Regexp::NonGreedy); in PostVisit() 761 return Quest(child_frags[0], re->parse_flags()&Regexp::NonGreedy); in PostVisit() 764 return Literal(re->rune(), re->parse_flags()&Regexp::FoldCase); in PostVisit() 772 Frag f1 = Literal(re->runes()[i], re->parse_flags()&Regexp::FoldCase); in PostVisit() 878 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags()); in IsAnchorStart() 889 *pre = Regexp::Capture(sub, re->parse_flags(), re->cap()); in IsAnchorStart() 896 *pre = Regexp::LiteralString(NULL, 0, re->parse_flags()); in IsAnchorStart() 926 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags()); in IsAnchorEnd() 937 *pre = Regexp::Capture(sub, re->parse_flags(), re->cap()); in IsAnchorEnd() [all …]
|
D | regexp.h | 316 enum ParseFlags parse_flags() { return static_cast<ParseFlags>(parse_flags_); } in parse_flags() function 434 explicit Regexp(RegexpOp op, ParseFlags parse_flags); 597 void AddRangeFlags(Rune lo, Rune hi, Regexp::ParseFlags parse_flags);
|
D | mimics_pcre.cc | 83 if (re->parse_flags() & Regexp::WasDollar) in PostVisit()
|
D | prefilter.cc | 511 bool latin1 = re->parse_flags() & Regexp::Latin1; in BuildInfo()
|
/external/regex-re2/re2/testing/ |
D | dump.cc | 68 if (re->parse_flags() & Regexp::NonGreedy) in DumpRegexpAppending() 73 if (re->op() == kRegexpLiteral && (re->parse_flags() & Regexp::FoldCase)) { in DumpRegexpAppending() 78 if (re->op() == kRegexpLiteralString && (re->parse_flags() & Regexp::FoldCase)) { in DumpRegexpAppending() 93 if (!(re->parse_flags() & Regexp::WasDollar)) { in DumpRegexpAppending()
|
D | tester.cc | 135 Regexp::ParseFlags parse_flags; member 154 if (parse_modes[i].parse_flags == flags) in FormatMode() 587 parse_modes[j].parse_flags); in Tester()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_flag_parser.cc | 104 void FlagParser::parse_flags() { in parse_flags() function in __sanitizer::FlagParser 124 parse_flags(); in ParseString()
|
D | sanitizer_flag_parser.h | 104 void parse_flags();
|
/external/regex-re2/ |
D | ucs2.diff | 165 if (re->parse_flags() & Regexp::Latin1) 167 - else if (re->parse_flags() & Regexp::UCS2)
|
/external/valgrind/perf/ |
D | tinycc.c | 2322 static int parse_flags; variable 8481 saved_parse_flags = parse_flags; in preprocess() 8482 parse_flags = PARSE_FLAG_PREPROCESS | PARSE_FLAG_TOK_NUM | in preprocess() 8742 parse_flags = saved_parse_flags; in preprocess() 9193 if (parse_flags & PARSE_FLAG_LINEFEED) { in next_nomacro1() 9196 !(parse_flags & PARSE_FLAG_PREPROCESS)) { in next_nomacro1() 9227 if (parse_flags & PARSE_FLAG_LINEFEED) { in next_nomacro1() 9241 (parse_flags & PARSE_FLAG_PREPROCESS)) { in next_nomacro1() 9251 if (parse_flags & PARSE_FLAG_ASM_COMMENTS) { in next_nomacro1() 10038 (parse_flags & PARSE_FLAG_PREPROCESS)) { in next() [all …]
|