Searched refs:RE (Results 1 - 25 of 121) sorted by relevance

12345

/external/pcre/dist/
H A Dpcrecpp_unittest.cc47 using pcrecpp::RE;
71 RE pattern("ruby:\\d+");
80 RE pattern("ruby:(\\d+)");
94 RE line_matcher(".*\n");
116 RE newre(buf);
133 CHECK(RE("([0-9a-fA-F]+)[uUlL]*").FullMatch(#value, Hex(&v))); \
135 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0x" #value, CRadix(&v))); \
159 CHECK(RE("([0-7]+)[uUlL]*").FullMatch(#value, Octal(&v))); \
161 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0" #value, CRadix(&v))); \
185 CHECK(RE("(
[all...]
H A Dpcre_scanner.h74 bool LookingAt(const RE& re) const;
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 automatically
92 // a skip RE that matches white space and comments.
109 // but avoids creating/deleting new RE objects.
119 // The overall RE is a disjunction of the following REs:
152 RE* skip
[all...]
H A Dpcre_scanner.cc76 skip_ = new RE(re);
90 skip_ = new RE(re);
127 bool Scanner::LookingAt(const RE& re) const {
129 return re.DoMatch(input_, RE::ANCHOR_START, &consumed, 0, 0);
133 bool Scanner::Consume(const RE& re,
H A Dpcrecpp.h36 // C++ interface to the pcre regular-expression library. RE supports
64 // pcrecpp::RE re("h.*o");
68 // pcrecpp::RE re("e");
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 object
78 // explicitly in a variable or use a temporary RE object. The
90 // pcrecpp::RE re("(\\w+):(\\d+)");
103 // !pcrecpp::RE("\\w+:\\d+").FullMatch("ruby:1234", &s);
106 // !pcrecpp::RE("(
487 class PCRECPP_EXP_DEFN RE { class in namespace:pcrecpp
491 RE(const string& pat) { Init(pat, NULL); } function in class:pcrecpp::RE
492 RE(const string& pat, const RE_Options& option) { Init(pat, &option); } function in class:pcrecpp::RE
493 RE(const char* pat) { Init(pat, NULL); } function in class:pcrecpp::RE
494 RE(const char* pat, const RE_Options& option) { Init(pat, &option); } function in class:pcrecpp::RE
495 RE(const unsigned char* pat) { function in class:pcrecpp::RE
498 RE(const unsigned char* pat, const RE_Options& option) { function in class:pcrecpp::RE
504 RE(const RE& re) { Init(re.pattern_, &re.options_); } function in class:pcrecpp::RE
[all...]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp242 // The target location for the relocation is described by RE.SectionID and
243 // RE.Offset. RE.SectionID can be used to find the SectionEntry. Each
259 // the symbol resides (RE.Addend provides additional information about the
262 void RuntimeDyldMachO::resolveRelocation(const RelocationEntry &RE, argument
265 const SectionEntry &Section = Sections[RE.SectionID];
266 uint8_t* LocalAddress = Section.Address + RE.Offset;
267 uint64_t FinalAddress = Section.LoadAddress + RE.Offset;
269 dbgs() << "resolveRelocation Section: " << RE.SectionID
273 << " Addend: " << RE
300 resolveI386Relocation(const RelocationEntry &RE, uint64_t Value) argument
330 resolveX86_64Relocation(const RelocationEntry &RE, uint64_t Value) argument
362 resolveARMRelocation(const RelocationEntry &RE, uint64_t Value) argument
415 resolveAArch64Relocation(const RelocationEntry &RE, uint64_t Value) argument
554 MachO::any_relocation_info RE = local
619 MachO::any_relocation_info RE = local
660 MachO::any_relocation_info RE = local
[all...]
H A DRuntimeDyldMachO.h41 bool resolveI386Relocation(const RelocationEntry &RE, uint64_t Value);
42 bool resolveX86_64Relocation(const RelocationEntry &RE, uint64_t Value);
43 bool resolveARMRelocation(const RelocationEntry &RE, uint64_t Value);
44 bool resolveAArch64Relocation(const RelocationEntry &RE, uint64_t Value);
97 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override;
/external/protobuf/gtest/test/
H A Dgtest-port_test.cc167 // 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
[all...]
/external/chromium_org/third_party/cython/src/Cython/Plex/
H A D__init__.py35 from Regexps import RE, Seq, Alt, Rep1, Empty, Str, Any, AnyBut, AnyChar, Range namespace
/external/clang/test/Sema/
H A Dgnu-flags.c131 // expected-warning@+8 {{redeclaration of already-defined enum 'RE' is a GNU extension}}
134 enum RE { enum
139 enum RE;
/external/chromium_org/testing/gtest/test/
H A Dgtest-port_test.cc410 // Defines StringTypes as the list of all string types that class RE
421 // Tests RE's implicit constructors.
423 const RE empty(TypeParam(""));
426 const RE simple(TypeParam("hello"));
429 const RE normal(TypeParam(".*(\\w+)"));
433 // Tests that RE's constructors reject invalid regular expressions.
436 const RE invalid(TypeParam("?"));
440 // Tests RE::FullMatch().
442 const RE empty(TypeParam(""));
443 EXPECT_TRUE(RE
[all...]
/external/clang/lib/ARCMigrate/
H A DPlistReporter.cpp53 RI = D.range_begin(), RE = D.range_end(); RI != RE; ++RI) {
106 StoredDiagnostic::range_iterator RI = D.range_begin(), RE = D.range_end(); local
108 if (RI != RE) {
111 for (; RI != RE; ++RI)
/external/gtest/test/
H A Dgtest-port_test.cc410 // Defines StringTypes as the list of all string types that class RE
421 // Tests RE's implicit constructors.
423 const RE empty(TypeParam(""));
426 const RE simple(TypeParam("hello"));
429 const RE normal(TypeParam(".*(\\w+)"));
433 // Tests that RE's constructors reject invalid regular expressions.
436 const RE invalid(TypeParam("?"));
440 // Tests RE::FullMatch().
442 const RE empty(TypeParam(""));
443 EXPECT_TRUE(RE
[all...]
/external/markdown/markdown/
H A Dblockprocessors.py219 RE = re.compile(r'(^|\n)[ ]{0,3}>[ ]?(.*)') variable in class:BlockQuoteProcessor
222 return bool(self.RE.search(block))
226 m = self.RE.search(block)
246 m = self.RE.match(line)
259 RE = re.compile(r'^[ ]{0,3}\d+\.[ ]+(.*)') variable in class:OListProcessor
266 return bool(self.RE.match(block))
327 RE = re.compile(r'^[ ]{0,3}[*+-][ ]+(.*)') variable in class:UListProcessor
334 RE = re.compile(r'(^|\n)(?P<level>#{1,6})(?P<header>.*?)#*(\n|$)') variable in class:HashHeaderProcessor
337 return bool(self.RE.search(block))
341 m = self.RE
365 RE = re.compile(r'^.*?\\n[=-]{3,}', re.MULTILINE) variable in class:SetextHeaderProcessor
387 RE = r'[ ]{0,3}(?P<ch>[*_-])[ ]?((?P=ch)[ ]?){2,}[ ]*' variable in class:HRProcessor
423 RE = re.compile(r'^\\s*\\n') variable in class:EmptyBlockProcessor
[all...]
/external/chromium_org/third_party/markdown/extensions/
H A Dadmonition.py99 RE = re.compile(r'(?:^|\n)!!!\ ?([\w\-]+)(?:\ "(.*?)")?') variable in class:AdmonitionProcessor
103 return self.RE.search(block) or \
110 m = self.RE.search(block)
/external/llvm/lib/Object/
H A DMachOObjectFile.cpp303 const MachO::any_relocation_info &RE,
305 bool IsScattered = O->isRelocationScattered(RE);
312 uint32_t Val = O->getPlainRelocationSymbolNum(RE);
351 bool isExtern = O->getPlainRelocationExternal(RE);
352 uint64_t Val = O->getPlainRelocationSymbolNum(RE);
369 getPlainRelocationAddress(const MachO::any_relocation_info &RE) { argument
370 return RE.r_word0;
374 getScatteredRelocationAddress(const MachO::any_relocation_info &RE) { argument
375 return RE.r_word0 & 0xffffff;
379 const MachO::any_relocation_info &RE) {
302 printRelocationTargetName(const MachOObjectFile *O, const MachO::any_relocation_info &RE, raw_string_ostream &fmt) argument
378 getPlainRelocationPCRel(const MachOObjectFile *O, const MachO::any_relocation_info &RE) argument
386 getScatteredRelocationPCRel(const MachOObjectFile *O, const MachO::any_relocation_info &RE) argument
391 getPlainRelocationLength(const MachOObjectFile *O, const MachO::any_relocation_info &RE) argument
399 getScatteredRelocationLength(const MachO::any_relocation_info &RE) argument
403 getPlainRelocationType(const MachOObjectFile *O, const MachO::any_relocation_info &RE) argument
411 getScatteredRelocationType(const MachO::any_relocation_info &RE) argument
863 MachO::any_relocation_info RE = getRelocation(Rel); local
870 MachO::any_relocation_info RE = getRelocation(Rel); local
891 MachO::any_relocation_info RE = getRelocation(Rel); local
1012 MachO::any_relocation_info RE = getRelocation(Rel); local
[all...]
/external/chromium_org/tools/memory_inspector/memory_inspector/backends/
H A Dmemdump_parser.py44 RE = (r'^([0-9a-f]+)-([0-9a-f]+)\s+'
52 map_re = re.compile(RE)
/external/chromium_org/third_party/mesa/src/src/gtest/src/
H A Dgtest-port.cc113 // Implements RE. Currently only needed for death tests.
115 RE::~RE() {
128 bool RE::FullMatch(const char* str, const RE& re) {
137 bool RE::PartialMatch(const char* str, const RE& re) {
144 // Initializes an RE from its string representation.
145 void RE::Init(const char* regex) {
373 // Implements the RE clas
[all...]
/external/llvm/utils/unittest/googletest/src/
H A Dgtest-port.cc113 // Implements RE. Currently only needed for death tests.
115 RE::~RE() {
128 bool RE::FullMatch(const char* str, const RE& re) {
137 bool RE::PartialMatch(const char* str, const RE& re) {
144 // Initializes an RE from its string representation.
145 void RE::Init(const char* regex) {
373 // Implements the RE clas
[all...]
/external/mesa3d/src/gtest/src/
H A Dgtest-port.cc113 // Implements RE. Currently only needed for death tests.
115 RE::~RE() {
128 bool RE::FullMatch(const char* str, const RE& re) {
137 bool RE::PartialMatch(const char* str, const RE& re) {
144 // Initializes an RE from its string representation.
145 void RE::Init(const char* regex) {
373 // Implements the RE clas
[all...]
/external/protobuf/gtest/src/
H A Dgtest-port.cc109 // Implements RE. Currently only needed for death tests.
111 RE::~RE() {
118 bool RE::FullMatch(const char* str, const RE& re) {
127 bool RE::PartialMatch(const char* str, const RE& re) {
134 // Initializes an RE from its string representation.
135 void RE::Init(const char* regex) {
362 // Implements the RE clas
[all...]
/external/chromium_org/testing/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h79 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); \
308 ::testing::internal::RE::PartialMatch(".*", (regex)); \
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h79 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/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h79 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); \
308 ::testing::internal::RE::PartialMatch(".*", (regex)); \
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h79 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); \
295 ::testing::internal::RE::PartialMatch(".*", (regex)); \
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h79 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)); \

Completed in 473 milliseconds

12345