/external/google-benchmark/src/ |
re.h | 20 // Prefer C regex libraries when compiling w/o exceptions so that we can 28 #include <regex> 32 #include <regex.h> 44 class Regex { 46 Regex() : init_(false) {} 48 ~Regex(); 63 std::regex re_; 73 inline bool Regex::Init(const std::string& spec, std::string* error) { 79 re_ = std::regex(spec, std::regex_constants::extended); 91 inline Regex::~Regex() { [all...] |
/external/libcxx/utils/google-benchmark/src/ |
re.h | 19 #include <regex> 23 #include <regex.h> 35 class Regex { 37 Regex() : init_(false) {} 39 ~Regex(); 54 std::regex re_; 64 inline bool Regex::Init(const std::string& spec, std::string* error) { 66 re_ = std::regex(spec, std::regex_constants::extended); 77 inline Regex::~Regex() {} [all...] |
/external/swiftshader/third_party/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(); 30 error = llvm_regcomp(preg, regex.data(), flags|REG_EXTENDED|REG_PEND); 33 Regex::~Regex() { 38 bool Regex::isValid(std::string &Error) [all...] |
/external/llvm/include/llvm/Support/ |
Regex.h | 1 //===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===// 28 class Regex { 46 /// Compiles the given regular expression \p Regex. 47 Regex(StringRef Regex, unsigned Flags = NoFlags); 48 Regex(const Regex &) = delete; 49 Regex &operator=(Regex regex) { [all...] |
/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...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
Regex.h | 1 //===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===// 28 class Regex { 46 Regex(); 47 /// Compiles the given regular expression \p Regex. 48 Regex(StringRef Regex, unsigned Flags = NoFlags); 49 Regex(const Regex &) = delete; 50 Regex &operator=(Regex regex) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
Regex.h | 1 //===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===// 28 class Regex { 46 Regex(); 47 /// Compiles the given regular expression \p Regex. 48 Regex(StringRef Regex, unsigned Flags = NoFlags); 49 Regex(const Regex &) = delete; 50 Regex &operator=(Regex regex) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
Regex.h | 1 //===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===// 28 class Regex { 46 Regex(); 47 /// Compiles the given regular expression \p Regex. 48 Regex(StringRef Regex, unsigned Flags = NoFlags); 49 Regex(const Regex &) = delete; 50 Regex &operator=(Regex regex) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
Regex.h | 1 //===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===// 28 class Regex { 46 Regex(); 47 /// Compiles the given regular expression \p Regex. 48 Regex(StringRef Regex, unsigned Flags = NoFlags); 49 Regex(const Regex &) = delete; 50 Regex &operator=(Regex regex) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
Regex.h | 1 //===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===// 28 class Regex { 46 Regex(); 47 /// Compiles the given regular expression \p Regex. 48 Regex(StringRef Regex, unsigned Flags = NoFlags); 49 Regex(const Regex &) = delete; 50 Regex &operator=(Regex regex) [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
Regex.h | 1 //===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===// 28 class Regex { 46 Regex(); 47 /// Compiles the given regular expression \p Regex. 48 Regex(StringRef Regex, unsigned Flags = NoFlags); 49 Regex(const Regex &) = delete; 50 Regex &operator=(Regex regex) [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
Regex.h | 1 //===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===// 28 class Regex { 46 Regex(); 47 /// Compiles the given regular expression \p Regex. 48 Regex(StringRef Regex, unsigned Flags = NoFlags); 49 Regex(const Regex &) = delete; 50 Regex &operator=(Regex regex) [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
Regex.h | 1 //===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===// 28 class Regex { 46 Regex(); 47 /// Compiles the given regular expression \p Regex. 48 Regex(StringRef Regex, unsigned Flags = NoFlags); 49 Regex(const Regex &) = delete; 50 Regex &operator=(Regex regex) [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
Regex.h | 1 //===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===// 28 class Regex { 46 Regex(); 47 /// Compiles the given regular expression \p Regex. 48 Regex(StringRef Regex, unsigned Flags = NoFlags); 49 Regex(const Regex &) = delete; 50 Regex &operator=(Regex 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/swiftshader/third_party/llvm-subzero/lib/Support/ |
Regex.cpp | 1 //===-- Regex.cpp - Regular Expression matcher implementation -------------===// 14 #include "llvm/Support/Regex.h" 22 Regex::Regex() : preg(nullptr), error(REG_BADPAT) {} 24 Regex::Regex(StringRef regex, unsigned Flags) { 27 preg->re_endp = regex.end(); 34 error = llvm_regcomp(preg, regex.data(), flags|REG_PEND); 37 Regex::Regex(Regex &®ex) [all...] |
/external/llvm/tools/llvm-cov/ |
CoverageFilters.h | 46 StringRef Regex; 49 NameRegexCoverageFilter(StringRef Regex) : Regex(Regex) {}
|
/art/tools/checker/file_format/checker/ |
struct.py | 103 """ Returns a regex pattern for this entire assertion. Only used in tests. """ 104 regex = "" 107 regex = regex + ", " 109 regex = regex + "(" + expression.text + ")" 110 return regex 124 class Regex(object): 167 assert re.match(TestExpression.Regex.rName, name) 172 assert re.match(TestExpression.Regex.rName, name [all...] |
/external/protobuf/python/ |
mox.py | 904 class Regex(Comparator): 920 self.regex = re.compile(pattern, flags=flags) 929 return self.regex.search(rhs) is not None 932 s = '<regular expression \'%s\'' % self.regex.pattern 933 if self.regex.flags: 934 s += ', flags=%d' % self.regex.flags [all...] |
/external/clang/lib/Frontend/ |
VerifyDiagnosticConsumer.cpp | 22 #include "llvm/Support/Regex.h" 186 Regex(RegexStr) { } 189 return Regex.isValid(Error); 193 return Regex.match(S); 197 llvm::Regex Regex; 367 KindStr = "regex"; 493 // Check that regex directives contain at least one regex. 904 // Append the regex, enclosed in parentheses [all...] |
/external/clang/include/clang/Format/ |
Format.h | 372 std::string Regex; 376 return Regex == Other.Regex && Priority == Other.Priority; 399 /// - Regex: '^"(llvm|llvm-c|clang|clang-c)/' 401 /// - Regex: '^(<|"(gtest|isl|json)/)' 403 /// - Regex: '.*' 412 /// category 0, see above), use this regex of allowed suffixes to the header [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/Format/ |
Format.h | 852 std::string Regex; 856 return Regex == Other.Regex && Priority == Other.Priority; 879 /// - Regex: '^"(llvm|llvm-c|clang|clang-c)/' 881 /// - Regex: '^(<|"(gtest|isl|json)/)' 883 /// - Regex: '.*' 892 /// category 0, see above), use this regex of allowed suffixes to the header [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/Format/ |
Format.h | 852 std::string Regex; 856 return Regex == Other.Regex && Priority == Other.Priority; 879 /// - Regex: '^"(llvm|llvm-c|clang|clang-c)/' 881 /// - Regex: '^(<|"(gtest|isl|json)/)' 883 /// - Regex: '.*' 892 /// category 0, see above), use this regex of allowed suffixes to the header [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/Format/ |
Format.h | 852 std::string Regex; 856 return Regex == Other.Regex && Priority == Other.Priority; 879 /// - Regex: '^"(llvm|llvm-c|clang|clang-c)/' 881 /// - Regex: '^(<|"(gtest|isl|json)/)' 883 /// - Regex: '.*' 892 /// category 0, see above), use this regex of allowed suffixes to the header [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Format/ |
Format.h | 852 std::string Regex; 856 return Regex == Other.Regex && Priority == Other.Priority; 879 /// - Regex: '^"(llvm|llvm-c|clang|clang-c)/' 881 /// - Regex: '^(<|"(gtest|isl|json)/)' 883 /// - Regex: '.*' 892 /// category 0, see above), use this regex of allowed suffixes to the header [all...] |