Home
last modified time | relevance | path

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

12345678910>>...45

/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/regex-1.10.4/src/
H A Dlib.rs19 let re = Regex::new(r"(?m)^([^:]+):([0-9]+):(.+)$").unwrap(); localVariable
103 let re = Regex::new(r"Hello (?<name>\w+)!").unwrap(); localVariable
163 let re = Regex::new(r"Homer (.)\. Simpson").unwrap(); localVariable
201 let re = Regex::new(r"Homer (?<middle>.)\. Simpson").unwrap(); localVariable
219 let re = Regex::new(r"^\d{4}-\d{2}-\d{2}$").unwrap(); localVariable
234 let re = Regex::new(r"^\d{4}-\d{2}-\d{2}$").unwrap(); localVariable
256 let re = Regex::new(r"[0-9]{4}-[0-9]{2}-[0-9]{2}").unwrap(); localVariable
274 let re = Regex::new(r"(?<y>[0-9]{4})-(?<m>[0-9]{2})-(?<d>[0-9]{2})").unwrap(); localVariable
306 let re = Regex::new(r"([0-9]{4})-([0-9]{2})-([0-9]{2})").unwrap(); localVariable
337 let re = Regex::new(r"(?<y>\d{4})-(?<m>\d{2})-(?<d>\d{2})").unwrap(); localVariable
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/regex/tests/
Dapi.rs3 let re = regex!(""); in empty_regex_empty_match() localVariable
9 let re = regex!(""); in empty_regex_nonempty_match() localVariable
15 let re = regex!(r"[0-9]*"); in one_zero_length_match() localVariable
21 let re = regex!(r"[0-9]*"); in many_zero_length_match() localVariable
30 let re = regex!(r"[0-9]?"); in many_sequential_zero_length_match() localVariable
39 let re = regex!(r"([\x{5b}\x{5d}])"); in quoted_bracket_set() localVariable
41 let re = regex!(r"([\[\]])"); in quoted_bracket_set() localVariable
47 let re = regex!(r"([\[-z])"); in first_range_starts_with_left_bracket() localVariable
53 let re = regex!(r"([\[-\x{5d}])"); in range_ends_with_escape() localVariable
59 let re = regex!(r".*?"); in empty_match_find_iter() localVariable
[all …]
/aosp_15_r20/external/regex-re2/re2/testing/
H A Dregexp_benchmark.cc32 Regexp* re = Regexp::Parse("(\\d+)-(\\d+)-(\\d+)", Regexp::LikePerl, NULL); in Test() local
54 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in MemoryUsage() local
77 PCRE re(regexp, PCRE::UTF8); in MemoryUsage() local
86 PCRE* re = new PCRE(regexp, PCRE::UTF8); in MemoryUsage() local
96 RE2 re(regexp); in MemoryUsage() local
296 RE2 re("((Hello World))"); in FindAndConsume() local
648 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in ParseRegexp() local
656 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SimplifyRegexp() local
666 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in NullWalkRegexp() local
676 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SimplifyCompileRegexp() local
[all …]
H A Dre2_test.cc337 RE2 re("((\\w+):([0-9]+))"); // extracts host and port in TEST() local
371 RE2 re("([a-zA-Z0-9]|-)+(\\.([a-zA-Z0-9]|-)+)*(\\.)?", RE2::Quiet); in TestRecursion() local
380 RE2 re(quoted, options); in TestQuoteMeta() local
391 RE2 re(quoted, options); in NegativeTestQuoteMeta() local
544 RE2 re("(hello world)"); in TEST() local
551 RE2 re("(?P<A>expr(?P<B>expr)(?P<C>expr))((expr)(?P<D>expr))"); in TEST() local
563 RE2 re("directions from (?P<S>.*) to (?P<D>.*)"); in TEST() local
1060 const RE2 re(kPattern); in TEST() local
1066 RE2 re("foo"); in TEST() local
1145 RE2 re("a\\1", RE2::Quiet); in TEST() local
[all …]
/aosp_15_r20/external/libcxx/test/std/re/re.regex/re.regex.construct/
H A Ddeduct.pass.cpp42 std::basic_regex re(s1.begin(), s1.end()); in main() local
51 std::basic_regex re(s1.begin(), s1.end(), std::regex_constants::basic); in main() local
61 std::basic_regex re("(a([bc]))"s); in main() local
69 std::basic_regex re(L"(a([bc]))"s, std::regex_constants::awk); in main() local
77 std::basic_regex re("ABCDE"); in main() local
85 std::basic_regex re(L"ABCDE", std::regex_constants::grep); in main() local
93 std::basic_regex re("ABCDEDEF", 7); in main() local
101 std::basic_regex re(L"ABCDEDEF", 8, std::regex_constants::awk); in main() local
110 std::basic_regex re(source); in main() local
124 std::basic_regex re({'A', 'B', 'F', 'E', 'D'}); in main() local
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/re2/re2/testing/
Dregexp_benchmark.cc37 Regexp* re = Regexp::Parse("(\\d+)-(\\d+)-(\\d+)", Regexp::LikePerl, NULL); in Test() local
60 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in MemoryUsage() local
87 PCRE re(regexp, PCRE::UTF8); in MemoryUsage() local
98 PCRE* re = new PCRE(regexp, PCRE::UTF8); in MemoryUsage() local
110 RE2 re(regexp); in MemoryUsage() local
319 RE2 re("((Hello World))"); in FindAndConsume() local
663 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in ParseRegexp() local
671 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SimplifyRegexp() local
681 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in NullWalkRegexp() local
691 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SimplifyCompileRegexp() local
[all …]
Dre2_test.cc347 RE2 re("((\\w+):([0-9]+))"); // extracts host and port in TEST() local
381 RE2 re("([a-zA-Z0-9]|-)+(\\.([a-zA-Z0-9]|-)+)*(\\.)?", RE2::Quiet); in TestRecursion() local
390 RE2 re(quoted, options); in TestQuoteMeta() local
401 RE2 re(quoted, options); in NegativeTestQuoteMeta() local
553 RE2 re("(hello world)"); in TEST() local
560 RE2 re("(?P<A>expr(?P<B>expr)(?P<C>expr))((expr)(?P<D>expr))"); in TEST() local
572 RE2 re("directions from (?P<S>.*) to (?P<D>.*)"); in TEST() local
1069 const RE2 re(kPattern); in TEST() local
1075 RE2 re("foo"); in TEST() local
1154 RE2 re("a\\1", RE2::Quiet); in TEST() local
[all …]
/aosp_15_r20/external/cronet/third_party/re2/src/re2/testing/
H A Dregexp_benchmark.cc36 Regexp* re = Regexp::Parse("(\\d+)-(\\d+)-(\\d+)", Regexp::LikePerl, NULL); in Test() local
59 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in MemoryUsage() local
86 PCRE re(regexp, PCRE::UTF8); in MemoryUsage() local
97 PCRE* re = new PCRE(regexp, PCRE::UTF8); in MemoryUsage() local
109 RE2 re(regexp); in MemoryUsage() local
318 RE2 re("((Hello World))"); in FindAndConsume() local
662 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in ParseRegexp() local
670 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SimplifyRegexp() local
680 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in NullWalkRegexp() local
690 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SimplifyCompileRegexp() local
[all …]
H A Dre2_test.cc348 RE2 re("((\\w+):([0-9]+))"); // extracts host and port in TEST() local
382 RE2 re("([a-zA-Z0-9]|-)+(\\.([a-zA-Z0-9]|-)+)*(\\.)?", RE2::Quiet); in TestRecursion() local
391 RE2 re(quoted, options); in TestQuoteMeta() local
402 RE2 re(quoted, options); in NegativeTestQuoteMeta() local
554 RE2 re("(hello world)"); in TEST() local
561 RE2 re("(?P<A>expr(?P<B>expr)(?P<C>expr))((expr)(?P<D>expr))"); in TEST() local
573 RE2 re("directions from (?P<S>.*) to (?P<D>.*)"); in TEST() local
1071 const RE2 re(kPattern); in TEST() local
1077 RE2 re("foo"); in TEST() local
1156 RE2 re("a\\1", RE2::Quiet); in TEST() local
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/re/re.regex/re.regex.construct/
H A Ddeduct.pass.cpp38 std::basic_regex re(s1.begin(), s1.end()); in main() local
48 std::basic_regex re(s1.begin(), s1.end(), std::regex_constants::basic); in main() local
59 std::basic_regex re("(a([bc]))"s); in main() local
68 std::basic_regex re(L"(a([bc]))"s, std::regex_constants::awk); in main() local
77 std::basic_regex re("ABCDE"); in main() local
86 std::basic_regex re(L"ABCDE", std::regex_constants::grep); in main() local
95 std::basic_regex re("ABCDEDEF", 7); in main() local
104 std::basic_regex re(L"ABCDEDEF", 8, std::regex_constants::awk); in main() local
114 std::basic_regex re(source); in main() local
128 std::basic_regex re({'A', 'B', 'F', 'E', 'D'}); in main() local
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/regex/src/
Dlib.rs33 let re = Regex::new(r"^\d{4}-\d{2}-\d{2}$").unwrap(); localVariable
91 let re = Regex::new(r"(\d{4})-(\d{2})-(\d{2})").unwrap(); localVariable
116 let re = Regex::new(r"(?P<y>\d{4})-(?P<m>\d{2})-(?P<d>\d{2})").unwrap(); localVariable
133 let re = Regex::new(r"(?x) localVariable
214 let re = Regex::new(r"(?i)Δ+").unwrap(); localVariable
241 let re = Regex::new(r"[\pN\p{Greek}\p{Cherokee}]+").unwrap(); localVariable
391 let re = Regex::new(r"(?i)a+(?-i)b+").unwrap(); localVariable
405 let re = Regex::new(r"(?m)^line \d+").unwrap(); localVariable
414 let re = Regex::new(r"(?m)^").unwrap(); localVariable
425 let re = Regex::new(r"(?-u:\b).+(?-u:\b)").unwrap(); localVariable
[all …]
/aosp_15_r20/external/cronet/third_party/re2/src/re2/
H A Dparse.cc206 for (Regexp* re = stacktop_; re != NULL; re = next) { in ~ParseState() local
218 Regexp* Regexp::ParseState::FinishRegexp(Regexp* re) { in FinishRegexp()
235 bool Regexp::ParseState::PushRegexp(Regexp* re) { in PushRegexp()
414 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); in PushLiteral() local
420 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); in PushLiteral() local
441 Regexp* re = new Regexp(kRegexpLiteral, flags_); in PushLiteral() local
480 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); in PushDot() local
489 Regexp* re = new Regexp(op, flags_); in PushSimpleOp() local
523 Regexp* re = new Regexp(op, fl); in PushRepeatOp() local
554 int RepetitionWalker::PreVisit(Regexp* re, int parent_arg, bool* stop) { in PreVisit()
[all …]
H A Dregexp.cc154 Regexp* re = stack; in Destroy() local
199 Regexp* re = new Regexp(kRegexpHaveMatch, flags); in HaveMatch() local
220 Regexp* re = new Regexp(kRegexpStar, flags); in StarPlusOrQuest() local
227 Regexp* re = new Regexp(op, flags); in StarPlusOrQuest() local
265 Regexp* re = sub[0]; in ConcatOrAlternate() local
274 Regexp* re = new Regexp(op, flags); in ConcatOrAlternate() local
285 Regexp* re = new Regexp(op, flags); in ConcatOrAlternate() local
306 Regexp* re = new Regexp(kRegexpCapture, flags); in Capture() local
314 Regexp* re = new Regexp(kRegexpRepeat, flags); in Repeat() local
323 Regexp* re = new Regexp(kRegexpLiteral, flags); in NewLiteral() local
[all …]
H A Dsimplify.cc25 Regexp* re = Parse(src, flags, status); in SimplifyRegexp() local
204 static bool ChildArgsChanged(Regexp* re, Regexp** child_args) { in ChildArgsChanged()
218 Regexp* CoalesceWalker::Copy(Regexp* re) { in Copy()
222 Regexp* CoalesceWalker::ShortVisit(Regexp* re, Regexp* parent_arg) { in ShortVisit()
230 Regexp* CoalesceWalker::PostVisit(Regexp* re, in PostVisit()
444 Regexp* SimplifyWalker::Copy(Regexp* re) { in Copy()
448 Regexp* SimplifyWalker::ShortVisit(Regexp* re, Regexp* parent_arg) { in ShortVisit()
456 Regexp* SimplifyWalker::PreVisit(Regexp* re, Regexp* parent_arg, bool* stop) { in PreVisit()
464 Regexp* SimplifyWalker::PostVisit(Regexp* re, in PostVisit()
575 Regexp* re = new Regexp(kRegexpConcat, parse_flags); in Concat2() local
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/re2/re2/
Dparse.cc208 for (Regexp* re = stacktop_; re != NULL; re = next) { in ~ParseState() local
220 Regexp* Regexp::ParseState::FinishRegexp(Regexp* re) { in FinishRegexp()
237 bool Regexp::ParseState::PushRegexp(Regexp* re) { in PushRegexp()
400 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); in PushLiteral() local
420 Regexp* re = new Regexp(kRegexpLiteral, flags_); in PushLiteral() local
459 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); in PushDot() local
468 Regexp* re = new Regexp(op, flags_); in PushSimpleOp() local
502 Regexp* re = new Regexp(op, fl); in PushRepeatOp() local
533 int RepetitionWalker::PreVisit(Regexp* re, int parent_arg, bool* stop) { in PreVisit()
547 int RepetitionWalker::PostVisit(Regexp* re, int parent_arg, int pre_arg, in PostVisit()
[all …]
Dregexp.cc144 Regexp* re = stack; in Destroy() local
189 Regexp* re = new Regexp(kRegexpHaveMatch, flags); in HaveMatch() local
210 Regexp* re = new Regexp(kRegexpStar, flags); in StarPlusOrQuest() local
217 Regexp* re = new Regexp(op, flags); in StarPlusOrQuest() local
255 Regexp* re = sub[0]; in ConcatOrAlternate() local
264 Regexp* re = new Regexp(op, flags); in ConcatOrAlternate() local
275 Regexp* re = new Regexp(op, flags); in ConcatOrAlternate() local
296 Regexp* re = new Regexp(kRegexpCapture, flags); in Capture() local
304 Regexp* re = new Regexp(kRegexpRepeat, flags); in Repeat() local
313 Regexp* re = new Regexp(kRegexpLiteral, flags); in NewLiteral() local
[all …]
Dsimplify.cc25 Regexp* re = Parse(src, flags, status); in SimplifyRegexp() local
204 static bool ChildArgsChanged(Regexp* re, Regexp** child_args) { in ChildArgsChanged()
218 Regexp* CoalesceWalker::Copy(Regexp* re) { in Copy()
222 Regexp* CoalesceWalker::ShortVisit(Regexp* re, Regexp* parent_arg) { in ShortVisit()
230 Regexp* CoalesceWalker::PostVisit(Regexp* re, in PostVisit()
444 Regexp* SimplifyWalker::Copy(Regexp* re) { in Copy()
448 Regexp* SimplifyWalker::ShortVisit(Regexp* re, Regexp* parent_arg) { in ShortVisit()
456 Regexp* SimplifyWalker::PreVisit(Regexp* re, Regexp* parent_arg, bool* stop) { in PreVisit()
464 Regexp* SimplifyWalker::PostVisit(Regexp* re, in PostVisit()
575 Regexp* re = new Regexp(kRegexpConcat, parse_flags); in Concat2() local
[all …]
/aosp_15_r20/external/regex-re2/re2/
H A Dparse.cc208 for (Regexp* re = stacktop_; re != NULL; re = next) { in ~ParseState() local
220 Regexp* Regexp::ParseState::FinishRegexp(Regexp* re) { in FinishRegexp()
237 bool Regexp::ParseState::PushRegexp(Regexp* re) { in PushRegexp()
400 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); in PushLiteral() local
420 Regexp* re = new Regexp(kRegexpLiteral, flags_); in PushLiteral() local
459 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); in PushDot() local
468 Regexp* re = new Regexp(op, flags_); in PushSimpleOp() local
502 Regexp* re = new Regexp(op, fl); in PushRepeatOp() local
533 int RepetitionWalker::PreVisit(Regexp* re, int parent_arg, bool* stop) { in PreVisit()
547 int RepetitionWalker::PostVisit(Regexp* re, int parent_arg, int pre_arg, in PostVisit()
[all …]
H A Dregexp.cc143 Regexp* re = stack; in Destroy() local
188 Regexp* re = new Regexp(kRegexpHaveMatch, flags); in HaveMatch() local
209 Regexp* re = new Regexp(kRegexpStar, flags); in StarPlusOrQuest() local
216 Regexp* re = new Regexp(op, flags); in StarPlusOrQuest() local
254 Regexp* re = sub[0]; in ConcatOrAlternate() local
264 Regexp* re = new Regexp(op, flags); in ConcatOrAlternate() local
276 Regexp* re = new Regexp(op, flags); in ConcatOrAlternate() local
299 Regexp* re = new Regexp(kRegexpCapture, flags); in Capture() local
307 Regexp* re = new Regexp(kRegexpRepeat, flags); in Repeat() local
316 Regexp* re = new Regexp(kRegexpLiteral, flags); in NewLiteral() local
[all …]
H A Dsimplify.cc26 Regexp* re = Parse(src, flags, status); in SimplifyRegexp() local
197 static bool ChildArgsChanged(Regexp* re, Regexp** child_args) { in ChildArgsChanged()
211 Regexp* CoalesceWalker::Copy(Regexp* re) { in Copy()
215 Regexp* CoalesceWalker::ShortVisit(Regexp* re, Regexp* parent_arg) { in ShortVisit()
222 Regexp* CoalesceWalker::PostVisit(Regexp* re, in PostVisit()
436 Regexp* SimplifyWalker::Copy(Regexp* re) { in Copy()
440 Regexp* SimplifyWalker::ShortVisit(Regexp* re, Regexp* parent_arg) { in ShortVisit()
447 Regexp* SimplifyWalker::PreVisit(Regexp* re, Regexp* parent_arg, bool* stop) { in PreVisit()
455 Regexp* SimplifyWalker::PostVisit(Regexp* re, in PostVisit()
566 Regexp* re = new Regexp(kRegexpConcat, parse_flags); in Concat2() local
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/re/re.const/re.matchflag/
H A Dmatch_not_eol.pass.cpp24 std::regex re("foo$"); in main() local
31 std::regex re("foo"); in main() local
38 std::regex re("foo$"); in main() local
45 std::regex re("foo"); in main() local
52 std::regex re("$"); in main() local
66 std::regex re("$", std::regex::multiline); in main() local
77 std::regex re("$"); in main() local
84 std::regex re("^b*$"); in main() local
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/perlasm/
H A Dx86_64-xlate.pl108 sub re { subroutine
189 sub re { subroutine
231 sub re { subroutine
335 sub re { subroutine
377 sub re { subroutine
444 sub re { subroutine
637 sub re { subroutine
907 sub re { subroutine
1052 sub re { subroutine
/aosp_15_r20/external/rust/android-crates-io/crates/ring/crypto/perlasm/
Dx86_64-xlate.pl108 sub re { subroutine
189 sub re { subroutine
231 sub re { subroutine
335 sub re { subroutine
377 sub re { subroutine
444 sub re { subroutine
637 sub re { subroutine
907 sub re { subroutine
1052 sub re { subroutine
/aosp_15_r20/external/boringssl/src/crypto/perlasm/
H A Dx86_64-xlate.pl108 sub re { subroutine
189 sub re { subroutine
231 sub re { subroutine
335 sub re { subroutine
377 sub re { subroutine
444 sub re { subroutine
637 sub re { subroutine
920 sub re { subroutine
1078 sub re { subroutine
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/regex-1.10.4/tests/
H A Dmisc.rs28 let re = regex!(r"(.)(?P<a>.)"); in capture_names() localVariable
39 let re = regex!(r"^(?P<name>.+)$"); in capture_index() localVariable
49 let re = regex!(r"^(?P<name>.+)$"); in capture_index_panic_usize() localVariable
57 let re = regex!(r"^(?P<name>.+)$"); in capture_index_panic_name() localVariable
67 let re = regex!(r"(?P<number>[0-9]+)"); in capture_index_lifetime() localVariable
76 let re = regex!(r"(.)(?P<a>a)?(.)(?P<b>.)"); in capture_misc() localVariable
101 let re = regex!(r"([a-z])(([a-z])|([0-9]))"); in sub_capture_matches() localVariable
135 let re = regex!(r"[01]*1[01]{20}$"); in dfa_handles_pathological_case() localVariable

12345678910>>...45