Searched refs:Regex (Results 1 - 11 of 11) sorted by relevance
/external/llvm/include/llvm/Support/ |
H A D | Regex.h | 1 //===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===// 25 class Regex { class in namespace:llvm 39 /// Compiles the given POSIX Extended Regular Expression \arg Regex. 42 Regex(StringRef Regex, unsigned Flags = NoFlags); 43 ~Regex();
|
/external/llvm/unittests/Support/ |
H A D | 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("[ [all...] |
/external/llvm/lib/Support/ |
H A D | Regex.cpp | 1 //===-- Regex.cpp - Regular Expression matcher implementation -------------===// 14 #include "llvm/Support/Regex.h" 22 Regex::Regex(StringRef regex, unsigned Flags) { function in class:Regex 33 Regex::~Regex() { 38 bool Regex::isValid(std::string &Error) { 51 unsigned Regex::getNumMatches() const { 55 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ 94 std::string Regex [all...] |
H A D | Android.mk | 41 Regex.cpp \
|
H A D | CMakeLists.txt | 37 Regex.cpp
|
/external/clang/lib/Frontend/ |
H A D | VerifyDiagnosticConsumer.cpp | 19 #include "llvm/Support/Regex.h" 133 : Directive(Location, Text, Count), Regex(Text) { } 136 if (Regex.isValid(Error)) 142 return Regex.match(S); 146 llvm::Regex Regex; member in class:__anon2892::RegexDirective
|
/external/llvm/tools/llvm-extract/ |
H A D | llvm-extract.cpp | 29 #include "llvm/Support/Regex.h" 114 Regex RegEx(ExtractRegExpGlobals[i]); 148 Regex RegEx(RegExStr);
|
/external/llvm/utils/FileCheck/ |
H A D | FileCheck.cpp | 23 #include "llvm/Support/Regex.h" 269 Regex R(RegexStr); 299 // Regex match. 332 if (!Regex(RegExToMatch, Regex::Newline).match(Buffer, &MatchInfo))
|
/external/clang/tools/driver/ |
H A D | driver.cpp | 31 #include "llvm/Support/Regex.h" 110 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]);
|
/external/clang/tools/scan-build/ |
H A D | scan-build | 292 my $Regex = qr/(.*?)\ :\ (.*?)\ ->\ Total\ CFGBlocks:\ (\d+)\ \|\ Unreachable 296 if ($Line !~ $Regex) {
|
/external/protobuf/python/ |
H A D | mox.py | 904 class Regex(Comparator): class in inherits:Comparator
|
Completed in 1022 milliseconds