/system/libvintf/include/vintf/ |
Regex.h | 20 #include <regex.h> 27 // A wrapper class around regex.h. This is used instead of C++ <regex> library because 28 // C++ regex library throws exceptions when an invalid regular expression is compiled. 30 class Regex { 32 Regex() = default; 33 ~Regex(); 35 Regex& operator=(const Regex&) = delete; 36 Regex(const Regex&) = delete [all...] |
/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 | 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/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...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/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/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-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/darwin-x86/clang-4393122/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-4479392/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-4579689/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-4630689/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-4639204/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-4691093/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...] |
/prebuilts/clang/host/linux-x86/clang-4393122/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-4479392/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-4579689/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-4630689/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-4639204/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-4691093/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...] |
/system/libvintf/ |
Regex.cpp | 17 #include "Regex.h" 23 Regex::~Regex() { 27 void Regex::clear() { 34 bool Regex::compile(const std::string& pattern) { 41 bool Regex::matches(const std::string& s) const {
|
/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...] |