/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/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() 58 Regex r5(NulPattern); in TEST_F() 68 EXPECT_EQ("aNUMber", Regex("[0-9]+").sub("NUM", "a1234ber")); in TEST_F() 71 EXPECT_EQ("a\\ber", Regex("[0-9]+").sub("\\\\", "a1234ber", &Error)); in TEST_F() 73 EXPECT_EQ("a\nber", Regex("[0-9]+").sub("\\n", "a1234ber", &Error)); in TEST_F() 75 EXPECT_EQ("a\tber", Regex("[0-9]+").sub("\\t", "a1234ber", &Error)); in TEST_F() 77 EXPECT_EQ("ajber", Regex("[0-9]+").sub("\\j", "a1234ber", &Error)); in TEST_F() [all …]
|
/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-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/libcxx/utils/google-benchmark/src/ |
D | re.h | 35 class Regex { 37 Regex() : init_(false) {} in Regex() function 39 ~Regex(); 64 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init() 77 inline Regex::~Regex() {} in ~Regex() 79 inline bool Regex::Match(const std::string& str) { in Match() 87 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init() 110 inline Regex::~Regex() { in ~Regex() 116 inline bool Regex::Match(const std::string& str) { in Match()
|
/external/google-benchmark/src/ |
D | re.h | 44 class Regex { 46 Regex() : init_(false) {} in Regex() function 48 ~Regex(); 73 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init() 91 inline Regex::~Regex() {} in ~Regex() 93 inline bool Regex::Match(const std::string& str) { in Match() 101 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init() 124 inline Regex::~Regex() { in ~Regex() 130 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()
|
D | SpecialCaseList.cpp | 40 std::unique_ptr<Regex> RegEx; 111 if (Regex::isLiteralERE(Regexp)) { in parse() 123 Regex CheckRE(Regexp); in parse() 148 Entries[I->getKey()][II->getKey()].RegEx.reset(new Regex(II->getValue())); in compile()
|
/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;
|
D | LinePrinter.cpp | 24 std::list<llvm::Regex> &IncludeFilters, in IsItemExcluded() 25 std::list<llvm::Regex> &ExcludeFilters) { in IsItemExcluded() 29 auto match_pred = [Item](llvm::Regex &R) { return R.match(Item); }; in IsItemExcluded()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Regex.cpp | 22 Regex::Regex(StringRef regex, unsigned Flags) { in Regex() function in Regex 33 Regex::~Regex() { in ~Regex() 38 bool Regex::isValid(std::string &Error) { in isValid() 51 unsigned Regex::getNumMatches() const { in getNumMatches() 55 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ in match() 94 std::string Regex::sub(StringRef Repl, StringRef String, in sub()
|
/external/antlr/antlr-3.4/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 );
|
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/antlr/antlr-3.4/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/include/llvm/Support/ |
D | Regex.h | 25 class Regex { 42 Regex(StringRef Regex, unsigned Flags = NoFlags); 43 ~Regex();
|
/external/antlr/antlr-3.4/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/antlr-3.4/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/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | StringExtensions.cs | 36 using Regex = System.Text.RegularExpressions.Regex; typedef 105 return Regex.Replace( str, regex, newValue ); in replaceAll() 110 return Regex.Replace( str, regex, replacement ); in replaceFirst()
|
/external/llvm/tools/llvm-cov/ |
D | CoverageFilters.h | 46 StringRef Regex; variable 49 NameRegexCoverageFilter(StringRef Regex) : Regex(Regex) {} in NameRegexCoverageFilter() argument
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Utility/Antlr.Utility.Tree/ |
D | DOTTreeGenerator.cs | 187 text = System.Text.RegularExpressions.Regex.Replace(text, "\"", "\\\\\""); in FixString() 188 text = System.Text.RegularExpressions.Regex.Replace(text, "\\t", " "); in FixString() 189 text = System.Text.RegularExpressions.Regex.Replace(text, "\\n", "\\\\n"); in FixString() 190 text = System.Text.RegularExpressions.Regex.Replace(text, "\\r", "\\\\r"); in FixString()
|
/external/libvpx/libvpx/ |
D | .clang-format | 53 - Regex: '^<.*\.h>' 55 - Regex: '^<.*' 57 - Regex: '.*'
|
/external/clang/include/clang/Frontend/ |
D | CodeGenOptions.h | 180 std::shared_ptr<llvm::Regex> OptimizationRemarkPattern; 187 std::shared_ptr<llvm::Regex> OptimizationRemarkMissedPattern; 195 std::shared_ptr<llvm::Regex> OptimizationRemarkAnalysisPattern;
|
/external/skia/ |
D | .clang-format | 60 - Regex: '^<.*\.h>' 62 - Regex: '^<.*' 64 - Regex: '.*'
|