Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dsimplify.cc159 Regexp::ParseFlags parse_flags);
235 Regexp* nre = new Regexp(re->op(), re->parse_flags()); in PostVisit()
263 Regexp* nre = new Regexp(re->op(), re->parse_flags()); in PostVisit()
283 Regexp* nre = new Regexp(re->op(), re->parse_flags()); in PostVisit()
316 ((r1->parse_flags() & Regexp::NonGreedy) == in CanCoalesce()
317 (r2->parse_flags() & Regexp::NonGreedy))) { in CanCoalesce()
329 ((r1->sub()[0]->parse_flags() & Regexp::FoldCase) == in CanCoalesce()
330 (r2->parse_flags() & Regexp::FoldCase))) { in CanCoalesce()
342 r1->sub()[0]->Incref(), r1->parse_flags(), 0, 0); in DoCoalesce()
422 &r2->runes()[n], r2->nrunes() - n, r2->parse_flags()); in DoCoalesce()
[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()
Dregexp.cc30 Regexp::Regexp(RegexpOp op, ParseFlags parse_flags) in Regexp() argument
33 parse_flags_(static_cast<uint16_t>(parse_flags)), in Regexp()
196 if (op == sub->op() && flags == sub->parse_flags()) in StarPlusOrQuest()
204 flags == sub->parse_flags()) { in StarPlusOrQuest()
366 return ((a->parse_flags() ^ b->parse_flags()) & Regexp::WasDollar) == 0; in TopEqual()
370 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0; in TopEqual()
374 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0 && in TopEqual()
385 return ((a->parse_flags() ^ b->parse_flags()) & Regexp::NonGreedy) == 0; in TopEqual()
388 return ((a->parse_flags() ^ b->parse_flags()) & Regexp::NonGreedy) == 0 && in TopEqual()
703 *suffix = Concat(sub() + i, nsub_ - i, parse_flags()); in RequiredPrefix()
[all …]
Dparse.cc488 if (op == stacktop_->op() && fl == stacktop_->parse_flags()) in PushRepeatOp()
497 fl == stacktop_->parse_flags()) { in PushRepeatOp()
698 flags_ = re->parse_flags(); in DoRightParen()
767 Regexp::ParseFlags pf = re->parse_flags(); in RemoveLeadingRegexp()
1181 ccb.AddRangeFlags(re->rune(), re->rune(), re->parse_flags()); in Round3()
1601 Rune lo, Rune hi, Regexp::ParseFlags parse_flags) { in AddRangeFlags() argument
1604 bool cutnl = !(parse_flags & Regexp::ClassNL) || in AddRangeFlags()
1605 (parse_flags & Regexp::NeverNL); in AddRangeFlags()
1608 AddRangeFlags(lo, '\n' - 1, parse_flags); in AddRangeFlags()
1610 AddRangeFlags('\n' + 1, hi, parse_flags); in AddRangeFlags()
[all …]
Dcompile.cc894 return Star(child_frags[0], (re->parse_flags()&Regexp::NonGreedy) != 0); in PostVisit()
897 return Plus(child_frags[0], (re->parse_flags()&Regexp::NonGreedy) != 0); in PostVisit()
900 return Quest(child_frags[0], (re->parse_flags()&Regexp::NonGreedy) != 0); in PostVisit()
903 return Literal(re->rune(), (re->parse_flags()&Regexp::FoldCase) != 0); in PostVisit()
912 (re->parse_flags()&Regexp::FoldCase) != 0); in PostVisit()
1019 *pre = Regexp::Concat(subcopy.data(), re->nsub(), re->parse_flags()); in IsAnchorStart()
1029 *pre = Regexp::Capture(sub, re->parse_flags(), re->cap()); in IsAnchorStart()
1036 *pre = Regexp::LiteralString(NULL, 0, re->parse_flags()); in IsAnchorStart()
1066 *pre = Regexp::Concat(subcopy.data(), re->nsub(), re->parse_flags()); in IsAnchorEnd()
1076 *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
452 explicit Regexp(RegexpOp op, ParseFlags parse_flags);
619 void AddRangeFlags(Rune lo, Rune hi, Regexp::ParseFlags parse_flags);
Dmimics_pcre.cc91 if (re->parse_flags() & Regexp::WasDollar) in PostVisit()
Dprefilter.cc508 bool latin1 = (re->parse_flags() & Regexp::Latin1) != 0; in BuildInfo()
/external/webrtc/rtc_base/third_party/base64/
Dbase64.cc136 size_t Base64::GetNextQuantum(DecodeFlags parse_flags, in GetNextQuantum() argument
147 if (parse_flags != DO_PARSE_ANY) in GetNextQuantum()
151 if (parse_flags == DO_PARSE_STRICT) in GetNextQuantum()
156 if (parse_flags != DO_PARSE_ANY) in GetNextQuantum()
160 if (parse_flags != DO_PARSE_ANY) in GetNextQuantum()
170 if (parse_flags != DO_PARSE_ANY) in GetNextQuantum()
229 const DecodeFlags parse_flags = flags & DO_PARSE_MASK; in DecodeFromArrayTemplate() local
232 assert(0 != parse_flags); in DecodeFromArrayTemplate()
243 size_t qlen = GetNextQuantum(parse_flags, (DO_PAD_NO == pad_flags), data, in DecodeFromArrayTemplate()
Dbase64.h108 static size_t GetNextQuantum(DecodeFlags parse_flags,
/external/rust/crates/grpcio-sys/grpc/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()
/external/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()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_flag_parser.cc104 void FlagParser::parse_flags() { in parse_flags() function in __sanitizer::FlagParser
124 parse_flags(); in ParseString()
Dsanitizer_flag_parser.h105 void parse_flags();
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_flag_parser.cpp118 void FlagParser::parse_flags(const char *env_option_name) { in parse_flags() function in __sanitizer::FlagParser
144 parse_flags(env_option_name); in ParseString()
Dsanitizer_flag_parser.h187 void parse_flags(const char *env_option_name);
/external/fmtlib/include/fmt/
Dprintf.h352 static void parse_flags(format_specs& specs, const Char*& it,
392 void basic_printf_context<OutputIt, Char>::parse_flags(format_specs& specs,
454 parse_flags(specs, it, end);
/external/rust/crates/regex-syntax/src/ast/
Dparse.rs1224 let flags = self.parse_flags()?; in parse_group()
1326 fn parse_flags(&self) -> Result<ast::Flags> { in parse_flags() method
3955 fn parse_flags() { in parse_flags() function
3957 parser("i:").parse_flags(), in parse_flags()
3967 parser("i)").parse_flags(), in parse_flags()
3978 parser("isU:").parse_flags(), in parse_flags()
4003 parser("-isU:").parse_flags(), in parse_flags()
4031 parser("i-sU:").parse_flags(), in parse_flags()
4060 parser("isU").parse_flags().unwrap_err(), in parse_flags()
4067 parser("isUa:").parse_flags().unwrap_err(), in parse_flags()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/re2/
Ducs2.diff165 if (re->parse_flags() & Regexp::Latin1)
167 - else if (re->parse_flags() & Regexp::UCS2)
/external/libevent/test/
Dregress_http.c2526 const unsigned parse_flags = in http_parse_uri_test() local
2531 evhttp_uri_parse_with_flags((uri), parse_flags) in http_parse_uri_test()
/external/python/pycparser/utils/benchmark/inputs/
Dtccgen.c.ppout2938 static int parse_flags;
3507 parse_flags = 0x0001 | 0x0002 | 0x0040;