Home
last modified time | relevance | path

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

12345678910>>...15

/external/libcxx/test/std/re/re.regex/re.regex.construct/
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 …]
/external/llvm-project/libcxx/test/std/re/re.regex/re.regex.construct/
Ddeduct.pass.cpp41 std::basic_regex re(s1.begin(), s1.end()); in main() local
50 std::basic_regex re(s1.begin(), s1.end(), std::regex_constants::basic); in main() local
60 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
76 std::basic_regex re("ABCDE"); in main() local
84 std::basic_regex re(L"ABCDE", std::regex_constants::grep); in main() local
92 std::basic_regex re("ABCDEDEF", 7); in main() local
100 std::basic_regex re(L"ABCDEDEF", 8, std::regex_constants::awk); in main() local
109 std::basic_regex re(source); in main() local
123 std::basic_regex re({'A', 'B', 'F', 'E', 'D'}); in main() local
[all …]
/external/rust/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 …]
Dapi_str.rs8 let re = regex!(r".*?"); in empty_match_unicode_find_iter() localVariable
18 let re = regex!(r".*?"); in empty_match_unicode_captures_iter() localVariable
29 let re = regex!(r"fo+"); in match_as_str() localVariable
Dregression.rs13 let re = regex!("^.{1,2500}"); in regression_many_repeat_stack_overflow() localVariable
45 let re = regex!(r"([a-f]){2}(?P<foo>[x-z])"); in regression_captures_rep() localVariable
199 let re = ::regex::bytes::Regex::new(r"\bs(?:[ab])").unwrap(); in regression_nfa_stops1() localVariable
/external/rust/crates/regex/src/
Dlib.rs39 let re = Regex::new(r"^\d{4}-\d{2}-\d{2}$").unwrap(); localVariable
99 let re = Regex::new(r"(\d{4})-(\d{2})-(\d{2})").unwrap(); localVariable
124 let re = Regex::new(r"(?P<y>\d{4})-(?P<m>\d{2})-(?P<d>\d{2})").unwrap(); localVariable
141 let re = Regex::new(r"(?x) localVariable
222 let re = Regex::new(r"(?i)Δ+").unwrap(); localVariable
249 let re = Regex::new(r"[\pN\p{Greek}\p{Cherokee}]+").unwrap(); localVariable
396 let re = Regex::new(r"(?i)a+(?-i)b+").unwrap(); localVariable
410 let re = Regex::new(r"(?m)^line \d+").unwrap(); localVariable
419 let re = Regex::new(r"(?m)^").unwrap(); localVariable
430 let re = Regex::new(r"(?-u:\b).+(?-u:\b)").unwrap(); localVariable
[all …]
/external/rust/crates/regex-syntax/benches/
Dbench.rs12 let re = r"^bc(d|e)*$"; in parse_simple1() localVariable
20 let re = r"'[a-zA-Z_][a-zA-Z0-9_]*(')\b"; in parse_simple2() localVariable
28 let re = r"\p{L}|\p{N}|\s|.|\d"; in parse_small1() localVariable
36 let re = r"\pL\p{Greek}\p{Hiragana}\p{Alphabetic}\p{Hebrew}\p{Arabic}"; in parse_medium1() localVariable
44 let re = r"\s\S\w\W\d\D"; in parse_medium2() localVariable
52 let re = in parse_medium3() localVariable
61 let re = r"\p{L}{100}"; in parse_huge() localVariable
/external/boringssl/src/crypto/perlasm/
Dx86_64-xlate.pl104 sub re { subroutine
185 sub re { subroutine
227 sub re { subroutine
331 sub re { subroutine
373 sub re { subroutine
440 sub re { subroutine
633 sub re { subroutine
713 sub re { subroutine
/external/rust/crates/ring/crypto/perlasm/
Dx86_64-xlate.pl104 sub re { subroutine
185 sub re { subroutine
227 sub re { subroutine
331 sub re { subroutine
373 sub re { subroutine
440 sub re { subroutine
633 sub re { subroutine
713 sub re { subroutine
/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/llvm-project/libcxx/test/std/re/re.alg/re.alg.match/
Dlookahead_capture.pass.cpp30 std::regex re("^(?=(.))a$"); in main() local
42 std::regex re("^(a)(?=(.))(b)$"); in main() local
56 std::regex re("^(.)(?=(.)(?=.(.)))(...)$"); in main() local
71 std::regex re("^(a)(?!([^b]))(.c)$"); in main() local
85 std::regex re("^(?!((b)))(?=(.))(?!(abc)).b$"); in main() local
Dparse_curly_brackets.pass.cpp28 std::string re("\\{a\\}"); in test1() local
38 std::string re("\\{a\\}"); in test2() local
48 std::string re("\\{a\\}"); in test3() local
58 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/llvm-project/libcxx/test/std/re/re.const/re.matchflag/
Dmatch_not_eol.pass.cpp25 std::regex re("foo$"); in main() local
32 std::regex re("foo"); in main() local
39 std::regex re("foo$"); in main() local
46 std::regex re("foo"); in main() local
Dmatch_not_bol.pass.cpp25 std::regex re("^foo"); in main() local
32 std::regex re("foo"); in main() local
39 std::regex re("^foo"); in main() local
46 std::regex re("foo"); in main() local
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dwalker-inl.h102 template<typename T> T Regexp::Walker<T>::PreVisit(Regexp* re, in PreVisit()
108 template<typename T> T Regexp::Walker<T>::PostVisit(Regexp* re, in PostVisit()
128 Regexp* re; // The regexp member
157 template<typename T> T Regexp::Walker<T>::WalkInternal(Regexp* re, T top_arg, in WalkInternal()
172 Regexp* re = s->re; in WalkInternal() local
229 template<typename T> T Regexp::Walker<T>::Walk(Regexp* re, T top_arg) { in Walk()
238 template<typename T> T Regexp::Walker<T>::WalkExponential(Regexp* re, T top_arg, in WalkExponential()
Dsimplify.cc25 Regexp* re = Parse(src, flags, status); in SimplifyRegexp() local
196 static bool ChildArgsChanged(Regexp* re, Regexp** child_args) { in ChildArgsChanged()
210 Regexp* CoalesceWalker::Copy(Regexp* re) { in Copy()
214 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()
448 Regexp* SimplifyWalker::PreVisit(Regexp* re, Regexp* parent_arg, bool* stop) { in PreVisit()
456 Regexp* SimplifyWalker::PostVisit(Regexp* re, in PostVisit()
567 Regexp* re = new Regexp(kRegexpConcat, parse_flags); in Concat2() local
[all …]
Dmimics_pcre.cc45 virtual bool ShortVisit(Regexp* re, bool a) { in ShortVisit()
61 bool PCREWalker::PostVisit(Regexp* re, bool parent_arg, bool pre_arg, in PostVisit()
129 virtual bool ShortVisit(Regexp* re, bool a) { in ShortVisit()
146 bool EmptyStringWalker::PostVisit(Regexp* re, bool parent_arg, bool pre_arg, in PostVisit()
192 static bool CanBeEmptyString(Regexp* re) { in CanBeEmptyString()
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 …]
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/
Dregexp_benchmark.cc35 Regexp* re = Regexp::Parse("(\\d+)-(\\d+)-(\\d+)", Regexp::LikePerl, NULL); in Test() local
58 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in MemoryUsage() local
85 PCRE re(regexp, PCRE::UTF8); in MemoryUsage() local
96 PCRE* re = new PCRE(regexp, PCRE::UTF8); in MemoryUsage() local
108 RE2 re(regexp); in MemoryUsage() local
301 RE2 re("((Hello World))"); in FindAndConsume() local
647 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in ParseRegexp() local
655 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SimplifyRegexp() local
665 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in NullWalkRegexp() local
675 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 …]
/external/rust/crates/nom/src/
Dregexp.rs34 let re = $crate::lib::regex::Regex::new($re).unwrap(); localVariable
83 let re = $crate::lib::regex::bytes::Regex::new($re).unwrap(); localVariable
131 let re = $crate::lib::regex::Regex::new($re).unwrap(); localVariable
179 let re = $crate::lib::regex::bytes::Regex::new($re).unwrap(); localVariable
227 let re = $crate::lib::regex::Regex::new($re).unwrap(); localVariable
284 let re = $crate::lib::regex::bytes::Regex::new($re).unwrap(); localVariable
341 let re = $crate::lib::regex::Regex::new($re).unwrap(); localVariable
398 let re = $crate::lib::regex::bytes::Regex::new($re).unwrap(); localVariable
455 let re = $crate::lib::regex::Regex::new($re).unwrap(); localVariable
515 let re = $crate::lib::regex::bytes::Regex::new($re).unwrap(); localVariable
/external/adhd/cras/src/tests/
Drate_estimator_unittest.cc14 struct rate_estimator* re; in TEST() local
40 struct rate_estimator* re; in TEST() local
69 struct rate_estimator* re; in TEST() local
97 struct rate_estimator* re; in TEST() local
125 struct rate_estimator* re; in TEST() local
151 struct rate_estimator* re; in TEST() local

12345678910>>...15