Home
last modified time | relevance | path

Searched defs:re (Results 1 – 25 of 218) sorted by relevance

123456789

/external/libcxx/test/std/re/re.alg/re.alg.match/
Dlookahead_capture.pass.cpp31 std::regex re("^(?=(.))a$"); in main() local
43 std::regex re("^(a)(?=(.))(b)$"); in main() local
57 std::regex re("^(.)(?=(.)(?=.(.)))(...)$"); in main() local
72 std::regex re("^(a)(?!([^b]))(.c)$"); in main() local
86 std::regex re("^(?!((b)))(?=(.))(?!(abc)).b$"); in main() local
Dparse_curly_brackets.pass.cpp29 std::string re("\\{a\\}"); in test1() local
39 std::string re("\\{a\\}"); in test2() local
49 std::string re("\\{a\\}"); in test3() local
59 std::string re("\\{a\\}"); in test4() local
/external/libcxx/test/std/re/re.const/re.matchflag/
Dmatch_not_eol.pass.cpp26 std::regex re("foo$"); in main() local
33 std::regex re("foo"); in main() local
40 std::regex re("foo$"); in main() local
47 std::regex re("foo"); in main() local
Dmatch_not_bol.pass.cpp26 std::regex re("^foo"); in main() local
33 std::regex re("foo"); in main() local
40 std::regex re("^foo"); in main() local
47 std::regex re("foo"); in main() local
/external/boringssl/src/crypto/perlasm/
Dx86_64-xlate.pl104 sub re { subroutine
182 sub re { subroutine
224 sub re { subroutine
328 sub re { subroutine
370 sub re { subroutine
437 sub re { subroutine
629 sub re { subroutine
701 sub re { subroutine
/external/regex-re2/re2/
Dwalker-inl.h98 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()
124 Regexp* re; // The regexp member
155 template<typename T> T Regexp::Walker<T>::WalkInternal(Regexp* re, T top_arg, in WalkInternal()
170 Regexp* re = s->re; in WalkInternal() local
227 template<typename T> T Regexp::Walker<T>::Walk(Regexp* re, T top_arg) { in Walk()
236 template<typename T> T Regexp::Walker<T>::WalkExponential(Regexp* re, T top_arg, in WalkExponential()
Dmimics_pcre.cc43 bool ShortVisit(Regexp* re, bool a) { in ShortVisit()
53 bool PCREWalker::PostVisit(Regexp* re, bool parent_arg, bool pre_arg, in PostVisit()
120 bool ShortVisit(Regexp* re, bool a) { in ShortVisit()
134 bool EmptyStringWalker::PostVisit(Regexp* re, bool parent_arg, bool pre_arg, in PostVisit()
180 static bool CanBeEmptyString(Regexp* re) { in CanBeEmptyString()
Dsimplify.cc21 Regexp* re = Parse(src, flags, status); in SimplifyRegexp() local
154 Regexp* SimplifyWalker::Copy(Regexp* re) { in Copy()
158 Regexp* SimplifyWalker::ShortVisit(Regexp* re, Regexp* parent_arg) { in ShortVisit()
165 Regexp* SimplifyWalker::PreVisit(Regexp* re, Regexp* parent_arg, bool* stop) { in PreVisit()
173 Regexp* SimplifyWalker::PostVisit(Regexp* re, in PostVisit()
299 Regexp* re = new Regexp(kRegexpConcat, parse_flags); in Concat2() local
313 Regexp* SimplifyWalker::SimplifyRepeat(Regexp* re, int min, int max, in SimplifyRepeat()
381 Regexp* SimplifyWalker::SimplifyCharClass(Regexp* re) { in SimplifyCharClass()
Dregexp.cc132 Regexp* re = stack; in Destroy() local
177 Regexp* re = new Regexp(kRegexpHaveMatch, flags); in HaveMatch() local
185 Regexp* re = new Regexp(kRegexpPlus, flags); in Plus() local
194 Regexp* re = new Regexp(kRegexpStar, flags); in Star() local
203 Regexp* re = new Regexp(kRegexpQuest, flags); in Quest() local
222 Regexp* re = sub[0]; in ConcatOrAlternate() local
232 Regexp* re = new Regexp(op, flags); in ConcatOrAlternate() local
244 Regexp* re = new Regexp(op, flags); in ConcatOrAlternate() local
267 Regexp* re = new Regexp(kRegexpCapture, flags); in Capture() local
275 Regexp* re = new Regexp(kRegexpRepeat, flags); in Repeat() local
[all …]
Dparse.cc180 for (Regexp* re = stacktop_; re != NULL; re = next) { in ~ParseState() local
192 Regexp* Regexp::ParseState::FinishRegexp(Regexp* re) { in FinishRegexp()
209 bool Regexp::ParseState::PushRegexp(Regexp* re) { in PushRegexp()
371 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); in PushLiteral() local
392 Regexp* re = new Regexp(kRegexpLiteral, flags_); in PushLiteral() local
431 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); in PushDot() local
440 Regexp* re = new Regexp(op, flags_); in PushSimpleOp() local
457 Regexp* re = new Regexp(op, fl); in PushRepeatOp() local
484 Regexp* re = new Regexp(kRegexpRepeat, fl); in PushRepetition() local
504 Regexp* re = new Regexp(kLeftParen, flags_); in DoLeftParen() local
[all …]
/external/regex-re2/re2/testing/
Dregexp_benchmark.cc24 Regexp* re = Regexp::Parse("(\\d+)-(\\d+)-(\\d+)", Regexp::LikePerl, NULL); in Test() local
46 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in MemoryUsage() local
69 PCRE re(regexp, PCRE::UTF8); in MemoryUsage() local
78 PCRE* re = new PCRE(regexp, PCRE::UTF8); in MemoryUsage() local
88 RE2 re(regexp); in MemoryUsage() local
272 RE2 re("((Hello World))"); in FindAndConsume() local
568 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in ParseRegexp() local
576 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SimplifyRegexp() local
586 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in NullWalkRegexp() local
596 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SimplifyCompileRegexp() local
[all …]
Dre2_test.cc344 RE2 re("((\\w+):([0-9]+))"); // extracts host and port in TEST() local
378 RE2 re("([a-zA-Z0-9]|-)+(\\.([a-zA-Z0-9]|-)+)*(\\.)?", RE2::Quiet); in TestRecursion() local
387 RE2 re(quoted, options); in TestQuoteMeta() local
397 RE2 re(quoted, options); in NegativeTestQuoteMeta() local
489 RE2 re("(hello world)"); in TEST() local
496 RE2 re("(?P<A>expr(?P<B>expr)(?P<C>expr))((expr)(?P<D>expr))"); in TEST() local
974 const RE2 re(kPattern); in TEST() local
980 RE2 re("foo"); in TEST() local
1058 { RE2 re("a\\1", RE2::Quiet); CHECK(!re.ok()); } in TEST() local
1060 RE2 re("a[x", RE2::Quiet); in TEST() local
[all …]
Dnull_walker.cc19 bool ShortVisit(Regexp* re, bool a) { in ShortVisit()
33 bool NullWalker::PostVisit(Regexp* re, bool parent_arg, bool pre_arg, in PostVisit()
Dparse_test.cc203 Regexp** re = new Regexp*[ntests]; in TestParse() local
367 Regexp* re = Regexp::Parse(only_posix[i], Regexp::NoParseFlags, NULL); in TEST() local
374 Regexp* re = Regexp::Parse(only_perl[i], Regexp::PerlX, NULL); in TEST() local
388 Regexp* re = Regexp::Parse(tests[i].regexp, f, &status); in TEST() local
420 Regexp* re; in TEST() local
Ddfa_test.cc45 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); in TEST() local
60 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); in TEST() local
96 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); in TEST() local
184 Regexp* re = Regexp::Parse(StringPrintf("0[01]{%d}$", n), in TEST() local
266 Regexp* re = Regexp::Parse(StringPrintf("0[01]{%d}$", n), in TEST() local
328 Regexp* re = Regexp::Parse(t.regexp, Regexp::LikePerl, NULL); in TEST() local
/external/libcxx/test/std/re/re.regex/re.regex.construct/
Dbad_backref.pass.cpp26 std::regex re(pat); in error_badbackref_thrown() local
42 std::regex re(pat1, pat1 + 7); // extra chars after the end. in main() local
/external/pcre/pcrecpp/
Dpcrecpp_unittest.cc336 RE re(t->regexp, RE_Options().set_newline_mode(PCRE2_NEWLINE_CRLF) in TestReplace() local
350 RE re("b*", RE_Options().set_newline_mode(PCRE2_NEWLINE_CR) in TestReplace() local
358 RE re("b*", RE_Options().set_newline_mode(PCRE2_NEWLINE_LF) in TestReplace() local
458 RE re("(\\w+)*b", options_ml); in TestRecursion() local
491 RE re(quoted, options); in TestQuoteMeta() local
500 RE re(quoted, options); in NegativeTestQuoteMeta() local
705 RE re("(world|universe)$", options); in Test_NO_AUTO_CAPTURE() local
1161 const RE re(kPattern); in main() local
1167 RE re("foo"); in main() local
1245 { RE re("a\\1"); CHECK(!re.error().empty()); } in main() local
[all …]
/external/libcxx/test/std/re/re.alg/re.alg.search/
Dbackup.pass.cpp31 std::regex re("\\ba"); in main() local
50 std::regex re("\\ba"); in main() local
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DRouteExceptionTest.java28 RouteException re = new RouteException(firstException); in getConnectionIOException_single() local
36 RouteException re = new RouteException(firstException); in getConnectionIOException_multiple() local
/external/pcre/dist2/src/
Dpcre2_pattern_info.c67 const pcre2_real_code *re = (pcre2_real_code *)code; in pcre2_pattern_info() local
254 pcre2_real_code *re = (pcre2_real_code *)code; in pcre2_callout_enumerate() local
Dpcre2_study.c92 find_minlength(const pcre2_real_code *re, PCRE2_SPTR code, in find_minlength()
718 set_table_bit(pcre2_real_code *re, PCRE2_SPTR p, BOOL caseless, BOOL utf) in set_table_bit()
793 set_type_bits(pcre2_real_code *re, int cbit_type, unsigned int table_limit) in set_type_bits()
834 set_nottype_bits(pcre2_real_code *re, int cbit_type, unsigned int table_limit) in set_nottype_bits()
874 set_start_bits(pcre2_real_code *re, PCRE2_SPTR code, BOOL utf) in set_start_bits()
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt039labels.py13 def recover(self, input, re): argument
22 def recover(self, input, re): argument
Dt043synpred.py13 def recover(self, input, re): argument
22 def recover(self, input, re): argument
Dt035ruleLabelPropertyRef.py13 def recover(self, input, re): argument
22 def recover(self, input, re): argument
Dt034tokenLabelPropertyRef.py13 def recover(self, input, re): argument
22 def recover(self, input, re): argument

123456789