/external/pcre/ |
pcrecpp_unittest.cc | 46 using pcrecpp::RE; 70 RE pattern("ruby:\\d+"); 79 RE pattern("ruby:(\\d+)"); 93 RE line_matcher(".*\n"); 115 RE newre(buf); 132 CHECK(RE("([0-9a-fA-F]+)[uUlL]*").FullMatch(#value, Hex(&v))); \ 134 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0x" #value, CRadix(&v))); \ 158 CHECK(RE("([0-7]+)[uUlL]*").FullMatch(#value, Octal(&v))); \ 160 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0" #value, CRadix(&v))); \ 184 CHECK(RE("(-?[0-9]+)[uUlL]*").FullMatch(#value, &v)); [all...] |
pcre_scanner.h | 73 // Return true iff the start of the remaining input matches "re" 74 bool LookingAt(const RE& re) const; 77 // a. the start of the remaining input matches "re", 82 bool Consume(const RE& re, 83 const Arg& arg0 = RE::no_arg, 84 const Arg& arg1 = RE::no_arg, 85 const Arg& arg2 = RE::no_arg 90 // a prefix of the input matches this RE, it is automaticall [all...] |
pcre_scanner.cc | 73 void Scanner::SetSkipExpression(const char* re) { 75 if (re != NULL) { 76 skip_ = new RE(re); 87 void Scanner::Skip(const char* re) { 89 if (re != NULL) { 90 skip_ = new RE(re); 127 bool Scanner::LookingAt(const RE& re) const [all...] |
pcrecpp.h | 36 // C++ interface to the pcre regular-expression library. RE supports 64 // pcrecpp::RE re("h.*o"); 65 // re.FullMatch("hello"); 68 // pcrecpp::RE re("e"); 69 // !re.FullMatch("hello"); 71 // Example: creating a temporary RE object: 72 // pcrecpp::RE("h.*o").FullMatch("hello"); 77 // You can, as in the different examples above, store the RE objec [all...] |
/external/gtest/test/ |
gtest-port_test.cc | 109 // Defines StringTypes as the list of all string types that class RE 122 // Tests RE's implicit constructors. 124 const RE empty(TypeParam("")); 127 const RE simple(TypeParam("hello")); 130 const RE normal(TypeParam(".*(\\w+)")); 134 // Tests that RE's constructors reject invalid regular expressions. 137 const RE invalid(TypeParam("?")); 141 // Tests RE::FullMatch(). 143 const RE empty(TypeParam("")); 144 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/protobuf/gtest/test/ |
gtest-port_test.cc | 167 // Defines StringTypes as the list of all string types that class RE 180 // Tests RE's implicit constructors. 182 const RE empty(TypeParam("")); 185 const RE simple(TypeParam("hello")); 188 const RE normal(TypeParam(".*(\\w+)")); 192 // Tests that RE's constructors reject invalid regular expressions. 195 const RE invalid(TypeParam("?")); 199 // Tests RE::FullMatch(). 201 const RE empty(TypeParam("")); 202 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldMachO.cpp | 149 // FIXME: For the time being, we're only loading text segments. 156 // Index of all the names, in this section or not. Used when we're 216 InMemoryStruct<macho::RelocationEntry> RE; 217 Obj->ReadRelocationEntry(Sect->RelocationTableOffset, j, RE); 218 if (RE->Word0 & macho::RF_Scattered) 223 uint32_t Offset = RE->Word0; 240 bool isExtern = (RE->Word1 >> 27) & 1; 253 uint32_t SourceNum = RE->Word1 & 0xffffff; // 24-bit value 262 RE->Word1, 266 << format("0x%x", RE->Word1) << ")\n") [all...] |
/external/llvm/lib/CodeGen/ |
PHIEliminationUtils.cpp | 38 RE = MRI.reg_end(); RI != RE; ++RI) {
|
GCMetadata.cpp | 161 RE = FD->roots_end(); RI != RE; ++RI) 172 RE = FD->live_end(PI);;) { 174 if (++RI == RE)
|
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
gtest-death-test-internal.h | 76 static bool Create(const char* statement, const RE* regex, 131 virtual bool Create(const char* statement, const RE* regex, 138 virtual bool Create(const char* statement, const RE* regex, 151 const ::testing::internal::RE& gtest_regex = (regex); \
|
gtest-port.h | 96 // RE - a simple regular expression class using the POSIX 331 // Defines RE. Currently only needed for death tests. 335 class RE { 337 // Constructs an RE from a string. 339 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT 343 RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT 346 RE(const char* regex) { Init(regex); } // NOLINT 347 ~RE(); 352 // Returns true iff str contains regular expression re. 357 static bool PartialMatch(const ::std::string& str, const RE& re) [all...] |
/external/chromium/testing/gtest/test/ |
gtest-port_test.cc | 348 // Defines StringTypes as the list of all string types that class RE 359 // Tests RE's implicit constructors. 361 const RE empty(TypeParam("")); 364 const RE simple(TypeParam("hello")); 367 const RE normal(TypeParam(".*(\\w+)")); 371 // Tests that RE's constructors reject invalid regular expressions. 374 const RE invalid(TypeParam("?")); 378 // Tests RE::FullMatch(). 380 const RE empty(TypeParam("")); 381 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/markdown/markdown/ |
blockprocessors.py | 15 import re namespace 116 INDENT_RE = re.compile(r'^(([ ]{%s})+)'% markdown.TAB_LENGTH) 167 # We're in a tightlist - so we already are at correct parent. 170 # We're in a looselist - so we need to find parent. 180 # No more child levels. If we're short of indent_level, 219 RE = re.compile(r'(^|\n)[ ]{0,3}>[ ]?(.*)') 222 return bool(self.RE.search(block)) 226 m = self.RE.search(block) 246 m = self.RE.match(line [all...] |
/external/gtest/include/gtest/internal/ |
gtest-port.h | 119 // RE - a simple regular expression class using the POSIX 524 // Defines RE. 528 class RE { 530 // Constructs an RE from a string. 532 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT 536 RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT 539 RE(const char* regex) { Init(regex); } // NOLINT 540 ~RE(); 545 // FullMatch(str, re) returns true iff regular expression re matche [all...] |
gtest-death-test-internal.h | 81 static bool Create(const char* statement, const RE* regex, 141 virtual bool Create(const char* statement, const RE* regex, 148 virtual bool Create(const char* statement, const RE* regex, 161 const ::testing::internal::RE& gtest_regex = (regex); \
|
/external/chromium/testing/gtest/src/ |
gtest-port.cc | 113 // Implements RE. Currently only needed for death tests. 115 RE::~RE() { 127 // Returns true iff regular expression re matches the entire str. 128 bool RE::FullMatch(const char* str, const RE& re) { 129 if (!re.is_valid_) return false; 132 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 135 // Returns true iff regular expression re matches a substring of st [all...] |
/external/gtest/src/ |
gtest-port.cc | 78 // Implements RE. Currently only needed for death tests. 80 RE::~RE() { 86 // Returns true iff regular expression re matches the entire str. 87 bool RE::FullMatch(const char* str, const RE& re) { 88 if (!re.is_valid_) return false; 91 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 94 // Returns true iff regular expression re matches a substring of st [all...] |
/external/llvm/utils/unittest/googletest/ |
gtest-port.cc | 113 // Implements RE. Currently only needed for death tests. 115 RE::~RE() { 127 // Returns true iff regular expression re matches the entire str. 128 bool RE::FullMatch(const char* str, const RE& re) { 129 if (!re.is_valid_) return false; 132 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 135 // Returns true iff regular expression re matches a substring of st [all...] |
/external/protobuf/gtest/src/ |
gtest-port.cc | 109 // Implements RE. Currently only needed for death tests. 111 RE::~RE() { 117 // Returns true iff regular expression re matches the entire str. 118 bool RE::FullMatch(const char* str, const RE& re) { 119 if (!re.is_valid_) return false; 122 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 125 // Returns true iff regular expression re matches a substring of st [all...] |
/external/chromium/testing/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 79 static bool Create(const char* statement, const RE* regex, 143 virtual bool Create(const char* statement, const RE* regex, 150 virtual bool Create(const char* statement, const RE* regex, 188 const ::testing::internal::RE& gtest_regex = (regex); \ 297 ::testing::internal::RE::PartialMatch(".*", (regex)); \
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-death-test-internal.h | 79 static bool Create(const char* statement, const RE* regex, 143 virtual bool Create(const char* statement, const RE* regex, 150 virtual bool Create(const char* statement, const RE* regex, 188 const ::testing::internal::RE& gtest_regex = (regex); \ 297 ::testing::internal::RE::PartialMatch(".*", (regex)); \
|
/external/protobuf/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 77 static bool Create(const char* statement, const RE* regex, 137 virtual bool Create(const char* statement, const RE* regex, 144 virtual bool Create(const char* statement, const RE* regex, 157 const ::testing::internal::RE& gtest_regex = (regex); \ 263 ::testing::internal::RE::PartialMatch(".*", (regex)); \
|
gtest-port.h | 128 // RE - a simple regular expression class using the POSIX 618 // Defines RE. 622 class RE { 624 // Constructs an RE from a string. 626 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT 630 RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT 633 RE(const char* regex) { Init(regex); } // NOLINT 634 ~RE(); 639 // FullMatch(str, re) returns true iff regular expression re matche [all...] |
/external/markdown/markdown/extensions/ |
def_list.py | 22 import markdown, re namespace 29 RE = re.compile(r'(^|\n)[ ]{0,3}:[ ]{1,3}(.*?)(\n|$)') 32 return bool(self.RE.search(block)) 36 m = self.RE.search(block)
|
/external/clang/lib/Index/ |
ASTLocation.cpp | 28 if (ObjCIvarRefExpr *RE = dyn_cast<ObjCIvarRefExpr>(E)) 29 return RE->getDecl();
|