| /art/test/094-pattern/ |
| info.txt | 4 some regex libs, -Xss65k is the minimum allowable size.
|
| /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/llvm/cmake/modules/ |
| ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}" [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/cmake/modules/ |
| ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex.
18 macro(make_crt_regex regex crts)
19 set(${regex} "")
23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)")
25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}")
28 macro(get_current_crt crt_current regex flagsvar)
31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}") [all...] |
| /external/swiftshader/third_party/LLVM/unittests/Support/ |
| RegexTest.cpp | 1 //===- llvm/unittest/Support/RegexTest.cpp - Regex tests --===// 11 #include "llvm/Support/Regex.h" 22 Regex r1("^[0-9]+$"); 28 Regex r2("[0-9]+"); 33 Regex r3("[0-9]+([a-f])?:([0-9]+)"); 46 Regex r4("a[^b]+b"); 58 Regex r5(NulPattern); 68 EXPECT_EQ("aNUMber", Regex("[0-9]+").sub("NUM", "a1234ber")); 71 EXPECT_EQ("a\\ber", Regex("[0-9]+").sub("\\\\", "a1234ber", &Error)); 73 EXPECT_EQ("a\nber", Regex("[0-9]+").sub("\\n", "a1234ber", &Error)) [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4393122/lib64/cmake/llvm/ |
| ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}" [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4479392/lib64/cmake/llvm/ |
| ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}" [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4579689/lib64/cmake/llvm/ |
| ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}" [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4630689/lib64/cmake/llvm/ |
| ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}" [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4639204/lib64/cmake/llvm/ |
| ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}" [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4691093/lib64/cmake/llvm/ |
| ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}" [all...] |
| /prebuilts/clang/host/linux-x86/clang-4393122/lib64/cmake/llvm/ |
| ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}" [all...] |
| /prebuilts/clang/host/linux-x86/clang-4479392/lib64/cmake/llvm/ |
| ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}" [all...] |
| /prebuilts/clang/host/linux-x86/clang-4579689/lib64/cmake/llvm/ |
| ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}" [all...] |
| /prebuilts/clang/host/linux-x86/clang-4630689/lib64/cmake/llvm/ |
| ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}" [all...] |
| /prebuilts/clang/host/linux-x86/clang-4639204/lib64/cmake/llvm/ |
| ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}" [all...] |
| /prebuilts/clang/host/linux-x86/clang-4691093/lib64/cmake/llvm/ |
| ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}" [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/easymock/src/org/easymock/internal/matchers/ |
| Matches.java | 26 private final String regex;
field in class:Matches 28 public Matches(String regex) {
29 this.regex = regex;
33 return (actual instanceof String) && ((String) actual).matches(regex);
37 buffer.append("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
|
| /external/libdivsufsort/CMakeModules/ |
| AppendCompilerFlags.cmake | 6 string(REGEX REPLACE "[-+/ ]" "_" cname "${_name}") 9 string(REGEX REPLACE "^[-+/ ]+(.*)[-+/ ]*$" "\\1" flagname "${flag}") 10 string(REGEX REPLACE "[-+/ ]" "_" flagname "${flagname}") 24 string(REGEX REPLACE "[-+/ ]" "_" cname "${_name}") 27 string(REGEX REPLACE "^[-+/ ]+(.*)[-+/ ]*$" "\\1" flagname "${flag}") 28 string(REGEX REPLACE "[-+/ ]" "_" flagname "${flagname}")
|
| /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/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...] |