HomeSort by relevance Sort by last modified time
    Searched full:regex (Results 101 - 125 of 5854) sorted by null

1 2 3 45 6 7 8 91011>>

  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.regex/re.regex.assign/
assign_string_flag.pass.cpp 10 // <regex>
18 #include <regex>
24 std::regex r2;
26 assert(r2.flags() == std::regex::ECMAScript);
29 r2.assign(std::string("(a([bc]))"), std::regex::extended);
30 assert(r2.flags() == std::regex::extended);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.regex/re.regex.construct/
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/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.regex/re.regex.nonmemb/re.regex.nmswap/
swap.pass.cpp 10 // <regex>
17 #include <regex>
23 std::regex r1("(a([bc]))");
24 std::regex r2;
26 assert(r1.flags() == std::regex::ECMAScript);
28 assert(r2.flags() == std::regex::ECMAScript);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.regex/re.regex.swap/
swap.pass.cpp 10 // <regex>
16 #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);
  /development/vndk/tools/definition-tool/datasets/
minimum_dlopen_deps.txt 1 /system/${LIB}/libEGL.so:[regex]/vendor/${LIB}/egl/libEGL[A-Za-z0-9_-]*\.so
2 /system/${LIB}/libEGL.so:[regex]/vendor/${LIB}/egl/libGLES[A-Za-z0-9_-]*\.so
  /external/google-breakpad/src/testing/gtest/src/
gtest-port.cc 142 // regfree'ing an invalid regex might crash because the content
143 // of the regex is undefined. Since the regex's are essentially
170 void RE::Init(const char* regex) {
171 pattern_ = posix::StrDup(regex);
175 const size_t full_regex_len = strlen(regex) + 10;
178 snprintf(full_pattern, full_regex_len, "^(%s)$", regex);
185 // Some implementation of POSIX regex (e.g. on at least some
187 // regex. We change it to an equivalent form "()" to be safe.
189 const char* const partial_regex = (*regex == '\0') ? "()" : regex
    [all...]
  /external/llvm/lib/Support/
Regex.cpp 1 //===-- Regex.cpp - Regular Expression matcher implementation -------------===//
14 #include "llvm/Support/Regex.h"
22 Regex::Regex(StringRef regex, unsigned Flags) {
25 preg->re_endp = regex.end();
32 error = llvm_regcomp(preg, regex.data(), flags|REG_PEND);
35 Regex::~Regex() {
42 bool Regex::isValid(std::string &Error)
    [all...]
  /external/llvm/tools/llvm-pdbdump/
LinePrinter.h 16 #include "llvm/Support/Regex.h"
42 void SetFilters(std::list<Regex> &List, Iter Begin, Iter End) {
52 std::list<Regex> ExcludeCompilandFilters;
53 std::list<Regex> ExcludeTypeFilters;
54 std::list<Regex> ExcludeSymbolFilters;
56 std::list<Regex> IncludeCompilandFilters;
57 std::list<Regex> IncludeTypeFilters;
58 std::list<Regex> IncludeSymbolFilters;
  /external/llvm/utils/unittest/googletest/src/
gtest-port.cc 117 // regfree'ing an invalid regex might crash because the content
118 // of the regex is undefined. Since the regex's are essentially
145 void RE::Init(const char* regex) {
146 pattern_ = posix::StrDup(regex);
150 const size_t full_regex_len = strlen(regex) + 10;
153 snprintf(full_pattern, full_regex_len, "^(%s)$", regex);
160 // Some implementation of POSIX regex (e.g. on at least some
162 // regex. We change it to an equivalent form "()" to be safe.
164 const char* const partial_regex = (*regex == '\0') ? "()" : regex
    [all...]
  /external/mesa3d/src/gtest/src/
gtest-port.cc 142 // regfree'ing an invalid regex might crash because the content
143 // of the regex is undefined. Since the regex's are essentially
170 void RE::Init(const char* regex) {
171 pattern_ = posix::StrDup(regex);
175 const size_t full_regex_len = strlen(regex) + 10;
178 snprintf(full_pattern, full_regex_len, "^(%s)$", regex);
185 // Some implementation of POSIX regex (e.g. on at least some
187 // regex. We change it to an equivalent form "()" to be safe.
189 const char* const partial_regex = (*regex == '\0') ? "()" : regex
    [all...]
  /external/protobuf/gtest/src/
gtest-port.cc 115 // regfree'ing an invalid regex might crash because the content
116 // of the regex is undefined. Since the regex's are essentially
143 void RE::Init(const char* regex) {
144 pattern_ = posix::StrDup(regex);
148 const size_t full_regex_len = strlen(regex) + 10;
151 snprintf(full_pattern, full_regex_len, "^(%s)$", regex);
158 // Some implementation of POSIX regex (e.g. on at least some
160 // regex. We change it to an equivalent form "()" to be safe.
162 const char* const partial_regex = (*regex == '\0') ? "()" : regex
    [all...]
  /external/swiftshader/third_party/LLVM/utils/unittest/googletest/
gtest-port.cc 117 // regfree'ing an invalid regex might crash because the content
118 // of the regex is undefined. Since the regex's are essentially
145 void RE::Init(const char* regex) {
146 pattern_ = posix::StrDup(regex);
150 const size_t full_regex_len = strlen(regex) + 10;
153 snprintf(full_pattern, full_regex_len, "^(%s)$", regex);
160 // Some implementation of POSIX regex (e.g. on at least some
162 // regex. We change it to an equivalent form "()" to be safe.
164 const char* const partial_regex = (*regex == '\0') ? "()" : regex
    [all...]
  /external/vulkan-validation-layers/tests/gtest-1.7.0/src/
gtest-port.cc.orig 142 // regfree'ing an invalid regex might crash because the content
143 // of the regex is undefined. Since the regex's are essentially
170 void RE::Init(const char* regex) {
171 pattern_ = posix::StrDup(regex);
175 const size_t full_regex_len = strlen(regex) + 10;
178 snprintf(full_pattern, full_regex_len, "^(%s)$", regex);
185 // Some implementation of POSIX regex (e.g. on at least some
187 // regex. We change it to an equivalent form "()" to be safe.
189 const char* const partial_regex = (*regex == '\0') ? "()" : regex
    [all...]
  /prebuilts/ndk/r16/sources/third_party/googletest/googletest/src/
gtest-port.cc 142 // regfree'ing an invalid regex might crash because the content
143 // of the regex is undefined. Since the regex's are essentially
170 void RE::Init(const char* regex) {
171 pattern_ = posix::StrDup(regex);
175 const size_t full_regex_len = strlen(regex) + 10;
178 snprintf(full_pattern, full_regex_len, "^(%s)$", regex);
185 // Some implementation of POSIX regex (e.g. on at least some
187 // regex. We change it to an equivalent form "()" to be safe.
189 const char* const partial_regex = (*regex == '\0') ? "()" : regex
    [all...]
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/src/
gtest-port.cc.orig 142 // regfree'ing an invalid regex might crash because the content
143 // of the regex is undefined. Since the regex's are essentially
170 void RE::Init(const char* regex) {
171 pattern_ = posix::StrDup(regex);
175 const size_t full_regex_len = strlen(regex) + 10;
178 snprintf(full_pattern, full_regex_len, "^(%s)$", regex);
185 // Some implementation of POSIX regex (e.g. on at least some
187 // regex. We change it to an equivalent form "()" to be safe.
189 const char* const partial_regex = (*regex == '\0') ? "()" : regex
    [all...]
  /toolchain/binutils/binutils-2.27/include/
xregex.h 1 /* This file redefines all regex external names before including
2 a renamed copy of glibc's regex.h. */
  /external/swiftshader/third_party/LLVM/include/llvm/Support/
Regex.h 1 //===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===//
25 class Regex {
39 /// Compiles the given POSIX Extended Regular Expression \arg Regex.
42 Regex(StringRef Regex, unsigned Flags = NoFlags);
43 ~Regex();
45 /// isValid - returns the error encountered during regex compilation, or
49 /// getNumMatches - In a valid regex, return the number of parenthesized
51 /// many entries plus one for the whole regex (as element 0).
54 /// matches - Match the regex against a given \arg String
    [all...]
  /prebuilts/tools/common/m2/repository/xerces/xercesImpl/2.6.2/
xercesImpl-2.6.2.jar 
  /external/gflags/test/
gflags_strip_flags_test.cmake 4 file (STRINGS "${BINARY}" strings REGEX "This text should be stripped out")
  /external/google-benchmark/cmake/
posix_regex.cpp 1 #include <regex.h>
  /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]")));
  /external/libcxx/test/std/re/re.regex/re.regex.assign/
il.pass.cpp 12 // <regex>
18 #include <regex>
24 std::regex r2;
26 assert(r2.flags() == std::regex::ECMAScript);
ptr.pass.cpp 10 // <regex>
16 #include <regex>
22 std::regex r2;
24 assert(r2.flags() == std::regex::ECMAScript);
string.pass.cpp 10 // <regex>
17 #include <regex>
23 std::regex r2;
25 assert(r2.flags() == std::regex::ECMAScript);
  /external/libcxx/test/std/re/re.syn/
regex.pass.cpp 10 // <regex>
12 // typedef basic_regex<char> regex;
14 #include <regex>
20 static_assert((std::is_same<std::basic_regex<char>, std::regex>::value), "");

Completed in 1668 milliseconds

1 2 3 45 6 7 8 91011>>