Home
last modified time | relevance | path

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

/third_party/re2/re2/
Dsimplify.cc159 Regexp::ParseFlags parse_flags);
234 Regexp* nre = new Regexp(re->op(), re->parse_flags()); in PostVisit()
262 Regexp* nre = new Regexp(re->op(), re->parse_flags()); in PostVisit()
282 Regexp* nre = new Regexp(re->op(), re->parse_flags()); in PostVisit()
315 ((r1->parse_flags() & Regexp::NonGreedy) == in CanCoalesce()
316 (r2->parse_flags() & Regexp::NonGreedy))) { in CanCoalesce()
328 ((r1->sub()[0]->parse_flags() & Regexp::FoldCase) == in CanCoalesce()
329 (r2->parse_flags() & Regexp::FoldCase))) { in CanCoalesce()
341 r1->sub()[0]->Incref(), r1->parse_flags(), 0, 0); in DoCoalesce()
421 &r2->runes()[n], r2->nrunes() - n, r2->parse_flags()); in DoCoalesce()
[all …]
Dregexp.cc29 Regexp::Regexp(RegexpOp op, ParseFlags parse_flags) in Regexp() argument
32 parse_flags_(static_cast<uint16_t>(parse_flags)), in Regexp()
195 if (op == sub->op() && flags == sub->parse_flags()) in StarPlusOrQuest()
203 flags == sub->parse_flags()) { in StarPlusOrQuest()
369 return ((a->parse_flags() ^ b->parse_flags()) & Regexp::WasDollar) == 0; in TopEqual()
373 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0; in TopEqual()
377 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0 && in TopEqual()
388 return ((a->parse_flags() ^ b->parse_flags()) & Regexp::NonGreedy) == 0; in TopEqual()
391 return ((a->parse_flags() ^ b->parse_flags()) & Regexp::NonGreedy) == 0 && in TopEqual()
685 if (re->parse_flags() & Latin1) { in RequiredPrefix()
[all …]
Dtostring.cc166 (re->parse_flags() & Regexp::FoldCase) != 0); in PostVisit()
172 (re->parse_flags() & Regexp::FoldCase) != 0); in PostVisit()
195 if (re->parse_flags() & Regexp::NonGreedy) in PostVisit()
203 if (re->parse_flags() & Regexp::NonGreedy) in PostVisit()
211 if (re->parse_flags() & Regexp::NonGreedy) in PostVisit()
224 if (re->parse_flags() & Regexp::NonGreedy) in PostVisit()
251 if (re->parse_flags() & Regexp::WasDollar) in PostVisit()
Dparse.cc488 if (op == stacktop_->op() && fl == stacktop_->parse_flags()) in PushRepeatOp()
497 fl == stacktop_->parse_flags()) { in PushRepeatOp()
697 flags_ = re->parse_flags(); in DoRightParen()
766 Regexp::ParseFlags pf = re->parse_flags(); in RemoveLeadingRegexp()
1180 ccb.AddRangeFlags(re->rune(), re->rune(), re->parse_flags()); in Round3()
1600 Rune lo, Rune hi, Regexp::ParseFlags parse_flags) { in AddRangeFlags() argument
1603 bool cutnl = !(parse_flags & Regexp::ClassNL) || in AddRangeFlags()
1604 (parse_flags & Regexp::NeverNL); in AddRangeFlags()
1607 AddRangeFlags(lo, '\n' - 1, parse_flags); in AddRangeFlags()
1609 AddRangeFlags('\n' + 1, hi, parse_flags); in AddRangeFlags()
[all …]
Dcompile.cc900 return Star(child_frags[0], (re->parse_flags()&Regexp::NonGreedy) != 0); in PostVisit()
903 return Plus(child_frags[0], (re->parse_flags()&Regexp::NonGreedy) != 0); in PostVisit()
906 return Quest(child_frags[0], (re->parse_flags()&Regexp::NonGreedy) != 0); in PostVisit()
909 return Literal(re->rune(), (re->parse_flags()&Regexp::FoldCase) != 0); in PostVisit()
918 (re->parse_flags()&Regexp::FoldCase) != 0); in PostVisit()
1025 *pre = Regexp::Concat(subcopy.data(), re->nsub(), re->parse_flags()); in IsAnchorStart()
1035 *pre = Regexp::Capture(sub, re->parse_flags(), re->cap()); in IsAnchorStart()
1042 *pre = Regexp::LiteralString(NULL, 0, re->parse_flags()); in IsAnchorStart()
1072 *pre = Regexp::Concat(subcopy.data(), re->nsub(), re->parse_flags()); in IsAnchorEnd()
1082 *pre = Regexp::Capture(sub, re->parse_flags(), re->cap()); in IsAnchorEnd()
[all …]
Dregexp.h324 ParseFlags parse_flags() { return static_cast<ParseFlags>(parse_flags_); } in parse_flags() function
445 explicit Regexp(RegexpOp op, ParseFlags parse_flags);
612 void AddRangeFlags(Rune lo, Rune hi, Regexp::ParseFlags parse_flags);
Dmimics_pcre.cc84 if (re->parse_flags() & Regexp::WasDollar) in PostVisit()
Dprefilter.cc508 bool latin1 = (re->parse_flags() & Regexp::Latin1) != 0; in BuildInfo()
/third_party/protobuf/src/google/protobuf/
Dmessage_lite.h506 bool MergeFromImpl(io::CodedInputStream* input, ParseFlags parse_flags);
515 MessageLite::ParseFlags parse_flags);
518 MessageLite::ParseFlags parse_flags);
521 MessageLite::ParseFlags parse_flags);
525 MessageLite::ParseFlags parse_flags);
528 MessageLite::ParseFlags parse_flags);
531 MessageLite::ParseFlags parse_flags);
540 MessageLite::ParseFlags parse_flags);
542 MessageLite::ParseFlags parse_flags);
544 MessageLite::ParseFlags parse_flags);
[all …]
Dmessage_lite.cc123 MessageLite::ParseFlags parse_flags) { in CheckFieldPresence() argument
124 if (PROTOBUF_PREDICT_FALSE((parse_flags & MessageLite::kMergePartial) != 0)) { in CheckFieldPresence()
140 MessageLite::ParseFlags parse_flags) { in MergeFromImpl() argument
147 return CheckFieldPresence(ctx, *msg, parse_flags); in MergeFromImpl()
154 MessageLite::ParseFlags parse_flags) { in MergeFromImpl() argument
161 return CheckFieldPresence(ctx, *msg, parse_flags); in MergeFromImpl()
168 MessageLite::ParseFlags parse_flags) { in MergeFromImpl() argument
176 return CheckFieldPresence(ctx, *msg, parse_flags); in MergeFromImpl()
182 MessageLite::ParseFlags parse_flags);
184 MessageLite::ParseFlags parse_flags);
[all …]
/third_party/re2/re2/testing/
Ddump.cc68 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()
Dtester.cc145 Regexp::ParseFlags parse_flags; member
164 if (parse_modes[i].parse_flags == flags) in FormatMode()
621 parse_modes[j].parse_flags); in Tester()
/third_party/toybox/toys/pending/
Ddd.c125 static void parse_flags(char *what, char *arg, in parse_flags() function
167 parse_flags("conv", arg, dd_conv, ARRAY_LEN(dd_conv), &TT.conv); in dd_main()
170 parse_flags("iflag", arg, dd_iflag, ARRAY_LEN(dd_iflag), &TT.iflag); in dd_main()
172 parse_flags("oflag", arg, dd_oflag, ARRAY_LEN(dd_oflag), &TT.oflag); in dd_main()
/third_party/boost/boost/format/
Dparsing.hpp136 goto parse_flags; in parse_printf_directive()
168 parse_flags: in parse_printf_directive()
/third_party/re2/
Ducs2.diff165 if (re->parse_flags() & Regexp::Latin1)
167 - else if (re->parse_flags() & Regexp::UCS2)
/third_party/quickjs/
Dquickjs.c22137 static __exception int js_parse_assign_expr2(JSParseState *s, int parse_flags);
22139 static __exception int js_parse_unary(JSParseState *s, int parse_flags);
22769 static __exception int js_parse_postfix_expr(JSParseState *s, int parse_flags);
24330 static __exception int js_parse_postfix_expr(JSParseState *s, int parse_flags) in js_parse_postfix_expr() argument
24334 BOOL accept_lparen = (parse_flags & PF_POSTFIX_CALL) != 0; in js_parse_postfix_expr()
24432 if ((parse_flags & PF_ARROW_FUNC) && in js_parse_postfix_expr()
24481 if ((parse_flags & PF_ARROW_FUNC) && in js_parse_postfix_expr()
24501 } else if ((parse_flags & PF_ARROW_FUNC) && in js_parse_postfix_expr()
25027 static __exception int js_parse_unary(JSParseState *s, int parse_flags) in js_parse_unary() argument
25062 parse_flags = 0; in js_parse_unary()
[all …]