/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | RegexTest.cpp | 22 Regex r1("^[0-9]+$"); in TEST_F() 28 Regex r2("[0-9]+"); in TEST_F() 33 Regex r3("[0-9]+([a-f])?:([0-9]+)"); in TEST_F() 46 Regex r4("a[^b]+b"); in TEST_F() 57 Regex r5(NulPattern); in TEST_F() 65 Regex r1("([a-z]+)_\\1"); in TEST_F() 71 Regex r2("a([0-9])b\\1c\\1"); in TEST_F() 77 Regex r3("a([0-9])([a-z])b\\1\\2"); in TEST_F() 89 EXPECT_EQ("aNUMber", Regex("[0-9]+").sub("NUM", "a1234ber")); in TEST_F() 92 EXPECT_EQ("a\\ber", Regex("[0-9]+").sub("\\\\", "a1234ber", &Error)); in TEST_F() [all …]
|
/external/llvm/unittests/Support/ |
D | RegexTest.cpp | 22 Regex r1("^[0-9]+$"); in TEST_F() 28 Regex r2("[0-9]+"); in TEST_F() 33 Regex r3("[0-9]+([a-f])?:([0-9]+)"); in TEST_F() 46 Regex r4("a[^b]+b"); in TEST_F() 57 Regex r5(NulPattern); in TEST_F() 65 Regex r1("([a-z]+)_\\1"); in TEST_F() 71 Regex r2("a([0-9])b\\1c\\1"); in TEST_F() 77 Regex r3("a([0-9])([a-z])b\\1\\2"); in TEST_F() 89 EXPECT_EQ("aNUMber", Regex("[0-9]+").sub("NUM", "a1234ber")); in TEST_F() 92 EXPECT_EQ("a\\ber", Regex("[0-9]+").sub("\\\\", "a1234ber", &Error)); in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | Regex.h | 28 class Regex { 46 Regex(); 48 Regex(StringRef Regex, unsigned Flags = NoFlags); 49 Regex(const Regex &) = delete; 50 Regex &operator=(Regex regex) { 55 Regex(Regex &®ex); 56 ~Regex();
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Regex.h | 28 class Regex { 46 Regex(); 48 Regex(StringRef Regex, unsigned Flags = NoFlags); 49 Regex(const Regex &) = delete; 50 Regex &operator=(Regex regex) { 55 Regex(Regex &®ex); 56 ~Regex();
|
/external/llvm/include/llvm/Support/ |
D | Regex.h | 28 class Regex { 47 Regex(StringRef Regex, unsigned Flags = NoFlags); 48 Regex(const Regex &) = delete; 49 Regex &operator=(Regex regex) { 54 Regex(Regex &®ex) { in Regex() function 59 ~Regex();
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | Regex.cpp | 27 Regex::Regex() : preg(nullptr), error(REG_BADPAT) {} in Regex() function in Regex 29 Regex::Regex(StringRef regex, unsigned Flags) { in Regex() function in Regex 42 Regex::Regex(Regex &®ex) { in Regex() function in Regex 49 Regex::~Regex() { in ~Regex() 56 bool Regex::isValid(std::string &Error) const { in isValid() 69 unsigned Regex::getNumMatches() const { in getNumMatches() 73 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ in match() 115 std::string Regex::sub(StringRef Repl, StringRef String, in sub() 194 bool Regex::isLiteralERE(StringRef Str) { in isLiteralERE() 201 std::string Regex::escape(StringRef String) { in escape()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Regex.cpp | 22 Regex::Regex() : preg(nullptr), error(REG_BADPAT) {} in Regex() function in Regex 24 Regex::Regex(StringRef regex, unsigned Flags) { in Regex() function in Regex 37 Regex::Regex(Regex &®ex) { in Regex() function in Regex 44 Regex::~Regex() { in ~Regex() 51 bool Regex::isValid(std::string &Error) { in isValid() 64 unsigned Regex::getNumMatches() const { in getNumMatches() 68 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ in match() 110 std::string Regex::sub(StringRef Repl, StringRef String, in sub() 189 bool Regex::isLiteralERE(StringRef Str) { in isLiteralERE() 196 std::string Regex::escape(StringRef String) { in escape()
|
/external/google-benchmark/src/ |
D | re.h | 61 class Regex { 63 Regex() : init_(false) {} in Regex() function 65 ~Regex(); 90 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init() 109 inline Regex::~Regex() {} in ~Regex() 111 inline bool Regex::Match(const std::string& str) { in Match() 119 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init() 142 inline Regex::~Regex() { in ~Regex() 148 inline bool Regex::Match(const std::string& str) { in Match()
|
/external/libcxx/utils/google-benchmark/src/ |
D | re.h | 61 class Regex { 63 Regex() : init_(false) {} in Regex() function 65 ~Regex(); 90 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init() 109 inline Regex::~Regex() {} in ~Regex() 111 inline bool Regex::Match(const std::string& str) { in Match() 119 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init() 142 inline Regex::~Regex() { in ~Regex() 148 inline bool Regex::Match(const std::string& str) { in Match()
|
/external/llvm/lib/Support/ |
D | Regex.cpp | 22 Regex::Regex(StringRef regex, unsigned Flags) { in Regex() function in Regex 35 Regex::~Regex() { in ~Regex() 42 bool Regex::isValid(std::string &Error) { in isValid() 55 unsigned Regex::getNumMatches() const { in getNumMatches() 59 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ in match() 98 std::string Regex::sub(StringRef Repl, StringRef String, in sub() 177 bool Regex::isLiteralERE(StringRef Str) { in isLiteralERE() 184 std::string Regex::escape(StringRef String) { in escape()
|
/external/llvm/tools/llvm-pdbdump/ |
D | LinePrinter.h | 42 void SetFilters(std::list<Regex> &List, Iter Begin, Iter End) { in SetFilters() 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/mesa3d/src/freedreno/vulkan/ |
D | .clang-format | 17 - Regex: '^"tu_private.h"$' 19 - Regex: '^"(drm/|ir3/|tu_)' 21 - Regex: '^"(c11/|compiler/|main/|nir/|spirv/|util/|vk_|wsi_)' 23 - Regex: '^<(vulkan/)' 25 - Regex: '.*'
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | TreeParser.cs | 36 using Regex = System.Text.RegularExpressions.Regex; typedef 53 static Regex dotdotPattern = new Regex( dotdot, RegexOptions.Compiled ); 54 static Regex doubleEtcPattern = new Regex( doubleEtc, RegexOptions.Compiled );
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | TreeParser.cs | 35 using Regex = System.Text.RegularExpressions.Regex; typedef 51 static Regex dotdotPattern = new Regex(dotdot, RegexOptions.Compiled); 52 static Regex doubleEtcPattern = new Regex(doubleEtc, RegexOptions.Compiled);
|
D | DotTreeGenerator.cs | 204 text = System.Text.RegularExpressions.Regex.Replace( text, "\"", "\\\\\"" ); in FixString() 205 text = System.Text.RegularExpressions.Regex.Replace( text, "\\t", " " ); in FixString() 206 text = System.Text.RegularExpressions.Regex.Replace( text, "\\n", "\\\\n" ); in FixString() 207 text = System.Text.RegularExpressions.Regex.Replace( text, "\\r", "\\\\r" ); in FixString()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/ |
D | LinePrinter.h | 76 void SetFilters(std::list<Regex> &List, Iter Begin, Iter End) { in SetFilters() 87 std::list<Regex> ExcludeCompilandFilters; 88 std::list<Regex> ExcludeTypeFilters; 89 std::list<Regex> ExcludeSymbolFilters; 91 std::list<Regex> IncludeCompilandFilters; 92 std::list<Regex> IncludeTypeFilters; 93 std::list<Regex> IncludeSymbolFilters;
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | CommonToken.cs | 36 using Regex = System.Text.RegularExpressions.Regex; typedef 242 txt = Regex.Replace( txt, "\n", "\\\\n" ); in ToString() 243 txt = Regex.Replace( txt, "\r", "\\\\r" ); in ToString() 244 txt = Regex.Replace( txt, "\t", "\\\\t" ); in ToString()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | CommonToken.cs | 35 using Regex = System.Text.RegularExpressions.Regex; typedef 205 txt = Regex.Replace(txt, "\n", "\\\\n"); in ToString() 206 txt = Regex.Replace(txt, "\r", "\\\\r"); in ToString() 207 txt = Regex.Replace(txt, "\t", "\\\\t"); in ToString()
|
/external/swiftshader/ |
D | .clang-format | 62 - Regex: '^"[^/]*"' 64 - Regex: '^".*/.*"' 66 - Regex: '^<.*\..*>' 68 - Regex: '^<[^.]*>' 70 - Regex: '.*'
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/test/ |
D | TestUtil.kt | 127 res = res.replace(Regex(" [0-9]+ ms"), " xxx ms") in sanitize() 130 res = res.replace(Regex("ForkJoinPool\\.commonPool-worker-[0-9]+"), "DefaultDispatcher") in sanitize() 131 res = res.replace(Regex("ForkJoinPool-[0-9]+-worker-[0-9]+"), "DefaultDispatcher") in sanitize() 132 res = res.replace(Regex("CommonPool-worker-[0-9]+"), "DefaultDispatcher") in sanitize() 133 res = res.replace(Regex("DefaultDispatcher-worker-[0-9]+"), "DefaultDispatcher") in sanitize() 134 res = res.replace(Regex("RxComputationThreadPool-[0-9]+"), "RxComputationThreadPool") in sanitize() 135 res = res.replace(Regex("Test( worker)?"), "main") in sanitize() 136 res = res.replace(Regex("@[0-9a-f]+"), "") // drop hex address in sanitize()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | StringExtensions.cs | 37 using Regex = System.Text.RegularExpressions.Regex; typedef 105 return Regex.Replace( str, regex, newValue ); in replaceAll() 111 return Regex.Replace( str, regex, replacement ); in replaceFirst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/ |
D | CoverageFilters.cpp | 30 return llvm::Regex(Regex).match(Function.Name); in matches() 34 return llvm::Regex(Regex).match(Filename); in matchesFilename()
|
/external/llvm/tools/llvm-cov/ |
D | CoverageFilters.h | 46 StringRef Regex; variable 49 NameRegexCoverageFilter(StringRef Regex) : Regex(Regex) {} in NameRegexCoverageFilter() argument
|
/external/skqp/ |
D | .clang-format | 63 - Regex: '^<.*\.h>' 65 - Regex: '^<.*' 67 - Regex: '.*' 154 - Regex: '^<.*\.h>' 156 - Regex: '^<.*' 158 - Regex: '.*'
|
/external/skia/ |
D | .clang-format | 63 - Regex: '^<.*\.h>' 65 - Regex: '^<.*' 67 - Regex: '.*' 154 - Regex: '^<.*\.h>' 156 - Regex: '^<.*' 158 - Regex: '.*'
|