HomeSort by relevance Sort by last modified time
    Searched refs:regex (Results 1 - 25 of 1175) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libcxx/test/re/re.alg/re.alg.search/
lookahead.pass.cpp 10 // <regex>
21 #include <regex>
26 assert(!std::regex_search("ab", std::regex("(?=^)b")));
27 assert(!std::regex_search("ab", std::regex("a(?=^)b")));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.alg/re.alg.search/
lookahead.pass.cpp 10 // <regex>
21 #include <regex>
26 assert(!std::regex_search("ab", std::regex("(?=^)b")));
27 assert(!std::regex_search("ab", std::regex("a(?=^)b")));
  /external/libcxx/test/re/re.regex/re.regex.assign/
assign_ptr_size_flag.pass.cpp 10 // <regex>
16 #include <regex>
21 std::regex r2;
22 r2.assign("(a([bc]))", 9, std::regex::extended);
23 assert(r2.flags() == std::regex::extended);
copy.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.il.pass.cpp 10 // <regex>
18 #include <regex>
24 std::regex r2;
26 assert(r2.flags() == std::regex::ECMAScript);
29 r2.assign({'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'}, std::regex::extended);
30 assert(r2.flags() == std::regex::extended);
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);
  /external/libcxx/test/re/re.regex/re.regex.construct/
copy.pass.cpp 10 // <regex>
16 #include <regex>
21 std::regex r1("(a([bc]))");
22 std::regex r2 = r1;
23 assert(r2.flags() == std::regex::ECMAScript);
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.assign/
assign_ptr_size_flag.pass.cpp 10 // <regex>
16 #include <regex>
21 std::regex r2;
22 r2.assign("(a([bc]))", 9, std::regex::extended);
23 assert(r2.flags() == std::regex::extended);
copy.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.il.pass.cpp 10 // <regex>
18 #include <regex>
24 std::regex r2;
26 assert(r2.flags() == std::regex::ECMAScript);
29 r2.assign({'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'}, std::regex::extended);
30 assert(r2.flags() == std::regex::extended);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.construct/
copy.pass.cpp 10 // <regex>
16 #include <regex>
21 std::regex r1("(a([bc]))");
22 std::regex r2 = r1;
23 assert(r2.flags() == std::regex::ECMAScript);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/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/gcc/linux-x86/host/x86_64-linux-glibc2.11-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>
  /external/libcxx/test/re/re.alg/re.alg.match/
awk.pass.cpp 10 // <regex>
20 #include <regex>
30 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::awk)));
46 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::awk)));
61 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::awk)));
68 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk)));
74 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk),
81 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::awk)));
87 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::awk)));
102 assert(std::regex_match(s, m, std::regex("(ab)*c", std::regex_constants::awk)))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.alg/re.alg.match/
awk.pass.cpp 10 // <regex>
20 #include <regex>
30 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::awk)));
46 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::awk)));
61 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::awk)));
68 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk)));
74 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk),
81 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::awk)));
87 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::awk)));
102 assert(std::regex_match(s, m, std::regex("(ab)*c", std::regex_constants::awk)))
    [all...]
  /external/chromium_org/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/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...]
  /ndk/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...]
  /external/chromium_org/third_party/mesa/src/src/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/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/mesa3d/src/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/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/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);
  /external/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);

Completed in 2365 milliseconds

1 2 3 4 5 6 7 8 91011>>