/external/libcxx/test/std/re/re.alg/re.alg.search/ |
invert_neg_word_search.pass.cpp | 10 // <regex> 19 #include <regex> 26 assert(std::regex_search("HelloWorld", std::regex("[^\\W]"))); 27 assert(std::regex_search("_", std::regex("[^\\W]")));
|
lookahead.pass.cpp | 10 // <regex> 21 #include <regex> 27 assert(!std::regex_search("ab", std::regex("(?=^)b"))); 28 assert(!std::regex_search("ab", std::regex("a(?=^)b")));
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.alg/re.alg.search/ |
lookahead.pass.cpp | 10 // <regex> 21 #include <regex> 27 assert(!std::regex_search("ab", std::regex("(?=^)b"))); 28 assert(!std::regex_search("ab", std::regex("a(?=^)b")));
|
/external/libcxx/test/std/re/re.regex/re.regex.assign/ |
assign_ptr_size_flag.pass.cpp | 10 // <regex> 16 #include <regex> 22 std::regex r2; 23 r2.assign("(a([bc]))", 9, std::regex::extended); 24 assert(r2.flags() == std::regex::extended);
|
copy.pass.cpp | 10 // <regex> 16 #include <regex> 22 std::regex r1("(a([bc]))"); 23 std::regex r2; 25 assert(r2.flags() == std::regex::ECMAScript);
|
assign.il.pass.cpp | 12 // <regex> 20 #include <regex> 26 std::regex r2; 28 assert(r2.flags() == std::regex::ECMAScript); 31 r2.assign({'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'}, std::regex::extended); 32 assert(r2.flags() == std::regex::extended);
|
assign_ptr_flag.pass.cpp | 10 // <regex> 16 #include <regex> 22 std::regex r2; 24 assert(r2.flags() == std::regex::ECMAScript); 27 r2.assign("(a([bc]))", std::regex::extended); 28 assert(r2.flags() == std::regex::extended);
|
/external/libcxx/test/std/re/re.regex/re.regex.construct/ |
copy.pass.cpp | 10 // <regex> 16 #include <regex> 22 std::regex r1("(a([bc]))"); 23 std::regex r2 = r1; 24 assert(r2.flags() == std::regex::ECMAScript);
|
awk_oct.pass.cpp | 10 // <regex> 17 #include <regex> 25 assert(std::regex_match("\4", std::regex("\\4", awk))); 26 assert(std::regex_match("\41", std::regex("\\41", awk))); 27 assert(std::regex_match("\141", std::regex("\\141", awk))); 28 assert(std::regex_match("\141" "1", std::regex("\\1411", awk)));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
re_comp.h | 22 /* This is only a wrapper around the <regex.h> file. XPG4.2 mentions 24 #include <regex.h>
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.regex/re.regex.assign/ |
assign_ptr_size_flag.pass.cpp | 10 // <regex> 16 #include <regex> 22 std::regex r2; 23 r2.assign("(a([bc]))", 9, std::regex::extended); 24 assert(r2.flags() == std::regex::extended);
|
copy.pass.cpp | 10 // <regex> 16 #include <regex> 22 std::regex r1("(a([bc]))"); 23 std::regex r2; 25 assert(r2.flags() == std::regex::ECMAScript);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.regex/re.regex.construct/ |
copy.pass.cpp | 10 // <regex> 16 #include <regex> 22 std::regex r1("(a([bc]))"); 23 std::regex r2 = r1; 24 assert(r2.flags() == std::regex::ECMAScript);
|
/external/google-breakpad/src/testing/gtest/include/gtest/ |
gtest-death-test.h | 102 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 103 // which uses the POSIX extended regex syntax. 105 // On other platforms (e.g. Windows), we only support a simple regex 109 // or POSIX extended regex syntax. For example, we don't support 114 // subset of both PCRE and POSIX extended regex, so it's easy to 141 // If you accidentally use PCRE or POSIX extended regex features 147 // as a compiled regex library, but should perform well enough for a 167 // that matches regex. 168 # define ASSERT_EXIT(statement, predicate, regex) \ 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_ [all...] |
/external/googletest/googletest/include/gtest/ |
gtest-death-test.h | 102 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 103 // which uses the POSIX extended regex syntax. 105 // On other platforms (e.g. Windows), we only support a simple regex 109 // or POSIX extended regex syntax. For example, we don't support 114 // subset of both PCRE and POSIX extended regex, so it's easy to 141 // If you accidentally use PCRE or POSIX extended regex features 147 // as a compiled regex library, but should perform well enough for a 167 // that matches regex. 168 # define ASSERT_EXIT(statement, predicate, regex) \ 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_ [all...] |
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
gtest-death-test.h | 102 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 103 // which uses the POSIX extended regex syntax. 105 // On other platforms (e.g. Windows), we only support a simple regex 109 // or POSIX extended regex syntax. For example, we don't support 114 // subset of both PCRE and POSIX extended regex, so it's easy to 141 // If you accidentally use PCRE or POSIX extended regex features 147 // as a compiled regex library, but should perform well enough for a 167 // that matches regex. 168 # define ASSERT_EXIT(statement, predicate, regex) \ 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_ [all...] |
/external/mesa3d/src/gtest/include/gtest/ |
gtest-death-test.h | 102 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 103 // which uses the POSIX extended regex syntax. 105 // On other platforms (e.g. Windows), we only support a simple regex 109 // or POSIX extended regex syntax. For example, we don't support 114 // subset of both PCRE and POSIX extended regex, so it's easy to 141 // If you accidentally use PCRE or POSIX extended regex features 147 // as a compiled regex library, but should perform well enough for a 167 // that matches regex. 168 # define ASSERT_EXIT(statement, predicate, regex) \ 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_ [all...] |
/external/v8/testing/gtest/include/gtest/ |
gtest-death-test.h | 102 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 103 // which uses the POSIX extended regex syntax. 105 // On other platforms (e.g. Windows), we only support a simple regex 109 // or POSIX extended regex syntax. For example, we don't support 114 // subset of both PCRE and POSIX extended regex, so it's easy to 141 // If you accidentally use PCRE or POSIX extended regex features 147 // as a compiled regex library, but should perform well enough for a 167 // that matches regex. 168 # define ASSERT_EXIT(statement, predicate, regex) \ 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_ [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/ |
gtest-death-test.h | 102 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 103 // which uses the POSIX extended regex syntax. 105 // On other platforms (e.g. Windows), we only support a simple regex 109 // or POSIX extended regex syntax. For example, we don't support 114 // subset of both PCRE and POSIX extended regex, so it's easy to 141 // If you accidentally use PCRE or POSIX extended regex features 147 // as a compiled regex library, but should perform well enough for a 167 // that matches regex. 168 # define ASSERT_EXIT(statement, predicate, regex) \ 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_ [all...] |
/prebuilts/ndk/r16/sources/third_party/googletest/googletest/include/gtest/ |
gtest-death-test.h | 102 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 103 // which uses the POSIX extended regex syntax. 105 // On other platforms (e.g. Windows), we only support a simple regex 109 // or POSIX extended regex syntax. For example, we don't support 114 // subset of both PCRE and POSIX extended regex, so it's easy to 141 // If you accidentally use PCRE or POSIX extended regex features 147 // as a compiled regex library, but should perform well enough for a 167 // that matches regex. 168 # define ASSERT_EXIT(statement, predicate, regex) \ 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_ [all...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/include/gtest/ |
gtest-death-test.h | 102 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 103 // which uses the POSIX extended regex syntax. 105 // On other platforms (e.g. Windows), we only support a simple regex 109 // or POSIX extended regex syntax. For example, we don't support 114 // subset of both PCRE and POSIX extended regex, so it's easy to 141 // If you accidentally use PCRE or POSIX extended regex features 147 // as a compiled regex library, but should perform well enough for a 167 // that matches regex. 168 # define ASSERT_EXIT(statement, predicate, regex) \ 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_ [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/ |
gtest-death-test.h | 91 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 92 // which uses the POSIX extended regex syntax. 94 // On other platforms (e.g. Windows), we only support a simple regex 98 // or POSIX extended regex syntax. For example, we don't support 103 // subset of both PCRE and POSIX extended regex, so it's easy to 130 // If you accidentally use PCRE or POSIX extended regex features 136 // as a compiled regex library, but should perform well enough for a 156 // that matches regex. 157 # define ASSERT_EXIT(statement, predicate, regex) \ 158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_ [all...] |
/external/protobuf/gtest/include/gtest/ |
gtest-death-test.h | 91 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 92 // which uses the POSIX extended regex syntax. 94 // On other platforms (e.g. Windows), we only support a simple regex 98 // or POSIX extended regex syntax. For example, we don't support 103 // subset of both PCRE and POSIX extended regex, so it's easy to 130 // If you accidentally use PCRE or POSIX extended regex features 136 // as a compiled regex library, but should perform well enough for a 156 // that matches regex. 157 #define ASSERT_EXIT(statement, predicate, regex) \ 158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_ [all...] |
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/ |
gtest-death-test.h | 91 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 92 // which uses the POSIX extended regex syntax. 94 // On other platforms (e.g. Windows), we only support a simple regex 98 // or POSIX extended regex syntax. For example, we don't support 103 // subset of both PCRE and POSIX extended regex, so it's easy to 130 // If you accidentally use PCRE or POSIX extended regex features 136 // as a compiled regex library, but should perform well enough for a 156 // that matches regex. 157 # define ASSERT_EXIT(statement, predicate, regex) \ 158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_ [all...] |
/external/mockito/src/main/java/org/mockito/internal/matchers/ |
Find.java | 9 import java.util.regex.Pattern; 15 private final String regex; field in class:Find 17 public Find(String regex) { 18 this.regex = regex; 22 return actual != null && Pattern.compile(regex).matcher(actual).find(); 26 return "find(\"" + regex.replaceAll("\\\\", "\\\\\\\\") + "\")";
|