Searched refs:Regex (Results 1 - 25 of 55) sorted by relevance

123

/external/google-benchmark/src/
H A Dre_std.cc19 Regex::Regex() : init_(false) { } function in class:benchmark::Regex
21 bool Regex::Init(const std::string& spec, std::string* error) {
34 Regex::~Regex() { }
36 bool Regex::Match(const std::string& str) {
H A Dre_posix.cc20 Regex::Regex() : init_(false) { } function in class:benchmark::Regex
22 bool Regex::Init(const std::string& spec, std::string* error) {
45 Regex::~Regex() {
51 bool Regex::Match(const std::string& str) {
H A Dre.h33 class Regex { class in namespace:benchmark
35 Regex();
36 ~Regex();
/external/llvm/unittests/Support/
H A DRegexTest.cpp1 //===- llvm/unittest/Support/RegexTest.cpp - Regex tests --===//
10 #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");
57 Regex r5(NulPattern);
65 Regex r1("([a-z]+)_\\1");
71 Regex r2("a([0-9])b\\1c\\1");
77 Regex r
[all...]
/external/llvm/include/llvm/Support/
H A DRegex.h1 //===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===//
28 class Regex { class in namespace:llvm
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) {
54 Regex(Rege function in class:llvm::Regex
[all...]
H A DSpecialCaseList.h41 // Note that the wild card is in fact an llvm::Regex, but * is automatically
57 class Regex;
/external/llvm/tools/llvm-pdbdump/
H A DLinePrinter.h16 #include "llvm/Support/Regex.h"
41 void SetFilters(std::list<Regex> &List, Iter Begin, Iter End) {
51 std::list<Regex> ExcludeCompilandFilters;
52 std::list<Regex> ExcludeTypeFilters;
53 std::list<Regex> ExcludeSymbolFilters;
55 std::list<Regex> IncludeCompilandFilters;
56 std::list<Regex> IncludeTypeFilters;
57 std::list<Regex> IncludeSymbolFilters;
H A DLinePrinter.cpp15 #include "llvm/Support/Regex.h"
21 std::list<llvm::Regex> &IncludeFilters,
22 std::list<llvm::Regex> &ExcludeFilters) {
26 auto match_pred = [Item](llvm::Regex &R) { return R.match(Item); };
/external/llvm/lib/Support/
H A DRegex.cpp1 //===-- Regex.cpp - Regular Expression matcher implementation -------------===//
14 #include "llvm/Support/Regex.h"
22 Regex::Regex(StringRef regex, unsigned Flags) { function in class:Regex
35 Regex::~Regex() {
42 bool Regex::isValid(std::string &Error) {
55 unsigned Regex::getNumMatches() const {
59 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){
98 std::string Regex
[all...]
H A DSpecialCaseList.cpp22 #include "llvm/Support/Regex.h"
33 /// literal strings than Regex.
40 std::unique_ptr<Regex> RegEx;
111 if (Regex::isLiteralERE(Regexp)) {
123 Regex CheckRE(Regexp);
148 Entries[I->getKey()][II->getKey()].RegEx.reset(new Regex(II->getValue()));
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DTreeParser.cs35 using Regex = System.Text.RegularExpressions.Regex;
51 static Regex dotdotPattern = new Regex(dotdot, RegexOptions.Compiled);
52 static Regex doubleEtcPattern = new Regex(doubleEtc, RegexOptions.Compiled);
H A DDotTreeGenerator.cs204 text = System.Text.RegularExpressions.Regex.Replace( text, "\"", "\\\\\"" );
205 text = System.Text.RegularExpressions.Regex.Replace( text, "\\t", " " );
206 text = System.Text.RegularExpressions.Regex.Replace( text, "\\n", "\\\\n" );
207 text = System.Text.RegularExpressions.Regex.Replace( text, "\\r", "\\\\r" );
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DTreeParser.cs36 using Regex = System.Text.RegularExpressions.Regex;
53 static Regex dotdotPattern = new Regex( dotdot, RegexOptions.Compiled );
54 static Regex doubleEtcPattern = new Regex( doubleEtc, RegexOptions.Compiled );
H A DDotTreeGenerator.cs204 text = System.Text.RegularExpressions.Regex.Replace( text, "\"", "\\\\\"" );
205 text = System.Text.RegularExpressions.Regex.Replace( text, "\\t", " " );
206 text = System.Text.RegularExpressions.Regex.Replace( text, "\\n", "\\\\n" );
207 text = System.Text.RegularExpressions.Regex.Replace( text, "\\r", "\\\\r" );
/external/llvm/tools/llvm-cov/
H A DCoverageFilters.cpp16 #include "llvm/Support/Regex.h"
27 return llvm::Regex(Regex).match(Function.Name);
H A DCoverageFilters.h46 StringRef Regex; member in class:llvm::NameRegexCoverageFilter
49 NameRegexCoverageFilter(StringRef Regex) : Regex(Regex) {} argument
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DStringExtensions.cs36 using Regex = System.Text.RegularExpressions.Regex;
105 return Regex.Replace( str, regex, newValue );
110 return Regex.Replace( str, regex, replacement );
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DCommonToken.cs35 using Regex = System.Text.RegularExpressions.Regex;
205 txt = Regex.Replace(txt, "\n", "\\\\n");
206 txt = Regex.Replace(txt, "\r", "\\\\r");
207 txt = Regex.Replace(txt, "\t", "\\\\t");
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DCommonToken.cs36 using Regex = System.Text.RegularExpressions.Regex;
242 txt = Regex.Replace( txt, "\n", "\\\\n" );
243 txt = Regex.Replace( txt, "\r", "\\\\r" );
244 txt = Regex.Replace( txt, "\t", "\\\\t" );
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Utility/Antlr.Utility.Tree/
H A DDOTTreeGenerator.cs187 text = System.Text.RegularExpressions.Regex.Replace(text, "\"", "\\\\\"");
188 text = System.Text.RegularExpressions.Regex.Replace(text, "\\t", " ");
189 text = System.Text.RegularExpressions.Regex.Replace(text, "\\n", "\\\\n");
190 text = System.Text.RegularExpressions.Regex.Replace(text, "\\r", "\\\\r");
/external/clang/include/clang/Frontend/
H A DCodeGenOptions.h18 #include "llvm/Support/Regex.h"
194 std::shared_ptr<llvm::Regex> OptimizationRemarkPattern;
201 std::shared_ptr<llvm::Regex> OptimizationRemarkMissedPattern;
209 std::shared_ptr<llvm::Regex> OptimizationRemarkAnalysisPattern;
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DStringExtensions.cs109 return System.Text.RegularExpressions.Regex.Replace( str, regex, newValue );
114 return System.Text.RegularExpressions.Regex.Replace( str, regex, replacement );
/external/chromium-trace/catapult/third_party/webapp2/docs/_themes/webapp2/
H A Dpygapp2.py40 String.Regex: "nobold noitalic #080",
/external/autotest/client/tests/kvm/deps/
H A Dwhql_submission_15.cs109 Regex deviceRegex = new Regex(regexStr, RegexOptions.IgnoreCase);
200 Regex jobRegex = new Regex(Console.ReadLine(), RegexOptions.IgnoreCase);
/external/llvm/tools/llvm-extract/
H A Dllvm-extract.cpp28 #include "llvm/Support/Regex.h"
138 Regex RegEx(ExtractRegExpAliases[i]);
172 Regex RegEx(ExtractRegExpGlobals[i]);
205 Regex RegEx(RegExStr);

Completed in 914 milliseconds

123