/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.assign/ |
assign_ptr_flag.pass.cpp | 10 // <regex> 16 #include <regex> 21 std::regex r2; 23 assert(r2.flags() == std::regex::ECMAScript); 26 r2.assign("(a([bc]))", std::regex::extended); 27 assert(r2.flags() == std::regex::extended);
|
il.pass.cpp | 10 // <regex> 16 #include <regex> 22 std::regex r2; 24 assert(r2.flags() == std::regex::ECMAScript);
|
ptr.pass.cpp | 10 // <regex> 16 #include <regex> 21 std::regex r2; 23 assert(r2.flags() == std::regex::ECMAScript);
|
string.pass.cpp | 10 // <regex> 17 #include <regex> 22 std::regex r2; 24 assert(r2.flags() == std::regex::ECMAScript);
|
assign.pass.cpp | 10 // <regex> 16 #include <regex> 21 std::regex r1("(a([bc]))"); 22 std::regex r2; 24 assert(r2.flags() == std::regex::ECMAScript);
|
assign_string_flag.pass.cpp | 10 // <regex> 18 #include <regex> 23 std::regex r2; 25 assert(r2.flags() == std::regex::ECMAScript); 28 r2.assign(std::string("(a([bc]))"), std::regex::extended); 29 assert(r2.flags() == std::regex::extended);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.construct/ |
awk_oct.pass.cpp | 10 // <regex> 17 #include <regex> 24 assert(std::regex_match("\4", std::regex{"\\4", awk})); 25 assert(std::regex_match("\41", std::regex{"\\41", awk})); 26 assert(std::regex_match("\141", std::regex{"\\141", awk})); 27 assert(std::regex_match("\1411", std::regex{"\\1411", awk}));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.nonmemb/re.regex.nmswap/ |
swap.pass.cpp | 10 // <regex> 17 #include <regex> 22 std::regex r1("(a([bc]))"); 23 std::regex r2; 25 assert(r1.flags() == std::regex::ECMAScript); 27 assert(r2.flags() == std::regex::ECMAScript);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.swap/ |
swap.pass.cpp | 10 // <regex> 16 #include <regex> 21 std::regex r1("(a([bc]))"); 22 std::regex r2; 24 assert(r1.flags() == std::regex::ECMAScript); 26 assert(r2.flags() == std::regex::ECMAScript);
|
/external/libcxx/test/re/re.regex/re.regex.assign/ |
il.pass.cpp | 10 // <regex> 16 #include <regex> 22 std::regex r2; 24 assert(r2.flags() == std::regex::ECMAScript);
|
ptr.pass.cpp | 10 // <regex> 16 #include <regex> 21 std::regex r2; 23 assert(r2.flags() == std::regex::ECMAScript);
|
string.pass.cpp | 10 // <regex> 17 #include <regex> 22 std::regex r2; 24 assert(r2.flags() == std::regex::ECMAScript);
|
assign.pass.cpp | 10 // <regex> 16 #include <regex> 21 std::regex r1("(a([bc]))"); 22 std::regex r2; 24 assert(r2.flags() == std::regex::ECMAScript);
|
assign_string_flag.pass.cpp | 10 // <regex> 18 #include <regex> 23 std::regex r2; 25 assert(r2.flags() == std::regex::ECMAScript); 28 r2.assign(std::string("(a([bc]))"), std::regex::extended); 29 assert(r2.flags() == std::regex::extended);
|
/external/easymock/src/org/easymock/internal/matchers/ |
Matches.java | 26 private final String regex;
field in class:Matches 28 public Matches(String regex) {
29 this.regex = regex;
33 return (actual instanceof String) && ((String) actual).matches(regex);
37 buffer.append("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
|
Find.java | 19 import java.util.regex.Pattern;
27 private final String regex;
field in class:Find 29 public Find(String regex) {
30 this.regex = regex;
35 && Pattern.compile(regex).matcher((String) actual).find();
39 buffer.append("find(\"" + regex.replaceAll("\\\\", "\\\\\\\\") + "\")");
|
/external/libcxx/test/re/re.syn/ |
regex.pass.cpp | 10 // <regex> 12 // typedef basic_regex<char> regex; 14 #include <regex> 19 static_assert((std::is_same<std::basic_regex<char>, std::regex>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.syn/ |
regex.pass.cpp | 10 // <regex> 12 // typedef basic_regex<char> regex; 14 #include <regex> 19 static_assert((std::is_same<std::basic_regex<char>, std::regex>::value), "");
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
bug-regex8.c | 30 #include <regex.h> 36 struct re_pattern_buffer regex; local 40 memset (®ex, '\0', sizeof (regex)); 42 s = re_compile_pattern ("xy$", 3, ®ex); 49 match[0] = re_match_2(®ex,"xyz",3,NULL,0,0,NULL,2); 51 free (regex.buffer); 52 memset (®ex, '\0', sizeof (regex)); 54 s = re_compile_pattern ("xy\\>", 4, ®ex); [all...] |
bug-regex10.c | 28 #include <regex.h> 33 struct re_pattern_buffer regex; local 40 memset (®ex, '\0', sizeof (regex)); 41 s = re_compile_pattern ("[abc]*d", 7, ®ex); 49 match = re_match (®ex, "foacabdxy", 9, 2, ®s);
|
/external/libcxx/test/re/re.alg/re.alg.match/ |
parse_curly_brackets.pass.cpp | 10 // <regex> 22 #include <regex> 30 std::regex regex{re}; 32 assert((std::regex_match(target, smatch, regex))); 40 std::regex regex{re, std::regex::extended}; 42 assert((std::regex_match(target, smatch, regex))); 50 std::regex regex{re, std::regex::awk} [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.alg/re.alg.match/ |
parse_curly_brackets.pass.cpp | 10 // <regex> 22 #include <regex> 30 std::regex regex{re}; 32 assert((std::regex_match(target, smatch, regex))); 40 std::regex regex{re, std::regex::extended}; 42 assert((std::regex_match(target, smatch, regex))); 50 std::regex regex{re, std::regex::awk} [all...] |
/external/mockito/src/org/mockito/internal/matchers/ |
Find.java | 9 import java.util.regex.Pattern; 17 private final String regex; field in class:Find 19 public Find(String regex) { 20 this.regex = regex; 24 return actual != null && Pattern.compile(regex).matcher((String) actual).find(); 28 description.appendText("find(\"" + regex.replaceAll("\\\\", "\\\\\\\\") + "\")");
|
Matches.java | 17 private final String regex; field in class:Matches 19 public Matches(String regex) { 20 this.regex = regex; 24 return (actual instanceof String) && ((String) actual).matches(regex); 28 description.appendText("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
|
/external/libcxx/test/re/re.regex/re.regex.nonmemb/re.regex.nmswap/ |
Android.mk | 17 test_makefile := external/libcxx/test/re/re.regex/re.regex.nonmemb/re.regex.nmswap/Android.mk 19 test_name := re/re.regex/re.regex.nonmemb/re.regex.nmswap/swap
|