Home
last modified time | relevance | path

Searched refs:parse_flags (Results 1 – 11 of 11) sorted by relevance

/external/regex-re2/re2/
Dsimplify.cc126 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()
Dregexp.cc16 Regexp::Regexp(RegexpOp op, ParseFlags parse_flags) in Regexp() argument
19 parse_flags_(static_cast<uint16>(parse_flags)), in Regexp()
172 if (sub->op() == kRegexpPlus && sub->parse_flags() == flags) in Plus()
181 if (sub->op() == kRegexpStar && sub->parse_flags() == flags) in Star()
190 if (sub->op() == kRegexpQuest && sub->parse_flags() == flags) in Quest()
324 return ((a->parse_flags() ^ b->parse_flags()) & Regexp::WasDollar) == 0; in TopEqual()
328 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0; in TopEqual()
332 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0 && in TopEqual()
343 return ((a->parse_flags() ^ b->parse_flags()) & Regexp::NonGreedy) == 0; in TopEqual()
346 return ((a->parse_flags() ^ b->parse_flags()) & Regexp::NonGreedy) == 0 && in TopEqual()
[all …]
Dtostring.cc157 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()
Dparse.cc611 flags_ = re->parse_flags(); in DoRightParen()
680 Regexp::ParseFlags pf = re->parse_flags(); in RemoveLeadingRegexp()
961 ccb.AddRangeFlags(re->rune(), re->rune(), re->parse_flags()); in FactorAlternationRecursive()
1386 Rune lo, Rune hi, Regexp::ParseFlags parse_flags) { in AddRangeFlags() argument
1389 bool cutnl = !(parse_flags & Regexp::ClassNL) || in AddRangeFlags()
1390 (parse_flags & Regexp::NeverNL); in AddRangeFlags()
1393 AddRangeFlags(lo, '\n' - 1, parse_flags); in AddRangeFlags()
1395 AddRangeFlags('\n' + 1, hi, parse_flags); in AddRangeFlags()
1400 if (parse_flags & Regexp::FoldCase) in AddRangeFlags()
1440 Regexp::ParseFlags parse_flags) { in AddUGroup() argument
[all …]
Dcompile.cc754 return Star(child_frags[0], re->parse_flags()&Regexp::NonGreedy); in PostVisit()
757 return Plus(child_frags[0], re->parse_flags()&Regexp::NonGreedy); in PostVisit()
760 return Quest(child_frags[0], re->parse_flags()&Regexp::NonGreedy); in PostVisit()
763 return Literal(re->rune(), re->parse_flags()&Regexp::FoldCase); in PostVisit()
771 Frag f1 = Literal(re->runes()[i], re->parse_flags()&Regexp::FoldCase); in PostVisit()
877 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags()); in IsAnchorStart()
888 *pre = Regexp::Capture(sub, re->parse_flags(), re->cap()); in IsAnchorStart()
895 *pre = Regexp::LiteralString(NULL, 0, re->parse_flags()); in IsAnchorStart()
925 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags()); in IsAnchorEnd()
936 *pre = Regexp::Capture(sub, re->parse_flags(), re->cap()); in IsAnchorEnd()
[all …]
Dregexp.h315 enum ParseFlags parse_flags() { return static_cast<ParseFlags>(parse_flags_); } in parse_flags() function
433 explicit Regexp(RegexpOp op, ParseFlags parse_flags);
596 void AddRangeFlags(Rune lo, Rune hi, Regexp::ParseFlags parse_flags);
Dmimics_pcre.cc83 if (re->parse_flags() & Regexp::WasDollar) in PostVisit()
/external/chromium/third_party/libjingle/source/talk/base/
Dbase64.cc122 size_t Base64::GetNextQuantum(DecodeFlags parse_flags, bool illegal_pads, in GetNextQuantum() argument
130 if (parse_flags != DO_PARSE_ANY) in GetNextQuantum()
134 if (parse_flags == DO_PARSE_STRICT) in GetNextQuantum()
139 if (parse_flags != DO_PARSE_ANY) in GetNextQuantum()
143 if (parse_flags != DO_PARSE_ANY) in GetNextQuantum()
153 if (parse_flags != DO_PARSE_ANY) in GetNextQuantum()
195 const DecodeFlags parse_flags = flags & DO_PARSE_MASK; in DecodeFromArrayTemplate() local
198 ASSERT(0 != parse_flags); in DecodeFromArrayTemplate()
209 size_t qlen = GetNextQuantum(parse_flags, (DO_PAD_NO == pad_flags), in DecodeFromArrayTemplate()
Dbase64.h85 static size_t GetNextQuantum(DecodeFlags parse_flags, bool illegal_pads,
/external/regex-re2/
Ducs2.diff165 if (re->parse_flags() & Regexp::Latin1)
167 - else if (re->parse_flags() & Regexp::UCS2)
/external/valgrind/main/perf/
Dtinycc.c2322 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 …]