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

123456

/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/Targets/
H A DRuntimeDyldCOFFI386.h66 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0);
67 addRelocationForSymbol(RE, TargetName);
79 RelocationEntry RE = variable
82 addRelocationForSection(RE, TargetSectionID);
86 RelocationEntry RE = variable
88 addRelocationForSection(RE, TargetSectionID);
92 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, variable
94 addRelocationForSection(RE, TargetSectionID);
106 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override {
107 const auto Section = Sections[RE
[all...]
H A DRuntimeDyldMachOX86_64.h50 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
51 RE.Addend = memcpyAddend(RE);
53 getRelocationValueRef(Obj, RelI, RE, ObjSectionToID));
56 if (!IsExtern && RE.IsPCRel)
57 makeValueAddendPCRel(Value, RelI, 1 << RE.Size);
59 if (RE.RelType == MachO::X86_64_RELOC_GOT ||
60 RE.RelType == MachO::X86_64_RELOC_GOT_LOAD)
61 processGOTRelocation(RE, Value, Stubs);
63 RE
118 processGOTRelocation(const RelocationEntry &RE, RelocationValueRef &Value, StubMap &Stubs) argument
152 MachO::any_relocation_info RE = local
[all...]
H A DRuntimeDyldMachOARM.h36 int64_t decodeAddend(const RelocationEntry &RE) const {
37 const SectionEntry &Section = Sections[RE.SectionID];
38 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset);
40 switch (RE.RelType) {
42 return memcpyAddend(RE);
73 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
74 RE.Addend = decodeAddend(RE);
76 getRelocationValueRef(Obj, RelI, RE, ObjSectionToID));
78 if (RE
174 processBranchRelocation(const RelocationEntry &RE, const RelocationValueRef &Value, StubMap &Stubs) argument
210 MachO::any_relocation_info RE = local
[all...]
H A DRuntimeDyldMachOI386.h54 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
55 RE.Addend = memcpyAddend(RE);
57 getRelocationValueRef(Obj, RelI, RE, ObjSectionToID));
64 // if (IsExtern && RE.IsPCRel) {
69 if (RE.IsPCRel)
70 makeValueAddendPCRel(Value, RelI, 1 << RE.Size);
72 RE.Addend = Value.Offset;
75 addRelocationForSymbol(RE, Value.SymbolName);
77 addRelocationForSection(RE, Valu
133 MachO::any_relocation_info RE = local
[all...]
H A DRuntimeDyldMachOAArch64.h35 int64_t decodeAddend(const RelocationEntry &RE) const {
36 const SectionEntry &Section = Sections[RE.SectionID];
37 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset);
38 unsigned NumBytes = 1 << RE.Size;
41 switch (RE.RelType) {
58 switch (RE.RelType) {
273 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
274 RE.Addend = decodeAddend(RE);
276 assert((ExplicitAddend == 0 || RE
367 processGOTRelocation(const RelocationEntry &RE, RelocationValueRef &Value, StubMap &Stubs) argument
[all...]
H A DRuntimeDyldCOFFX86_64.h43 // The target location for the relocation is described by RE.SectionID and
44 // RE.Offset. RE.SectionID can be used to find the SectionEntry. Each
60 // the symbol resides (RE.Addend provides additional information about the
63 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override {
64 const SectionEntry &Section = Sections[RE.SectionID];
65 uint8_t *Target = Section.getAddressWithOffset(RE.Offset);
67 switch (RE.RelType) {
75 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset);
78 uint64_t Delta = 4 + (RE
[all...]
/external/pcre/
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 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.cpp46 int64_t RuntimeDyldMachO::memcpyAddend(const RelocationEntry &RE) const {
47 unsigned NumBytes = 1 << RE.Size;
48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset;
59 MachO::any_relocation_info RE = local
63 uint32_t RelocType = Obj.getAnyRelocationType(RE);
64 bool IsPCRel = Obj.getAnyRelocationPCRel(RE);
65 unsigned Size = Obj.getAnyRelocationLength(RE);
71 unsigned SymbolBaseAddr = Obj.getScatteredRelocationValue(RE);
91 const RelocationEntry &RE, ObjSectionToIDMa
89 getRelocationValueRef( const ObjectFile &BaseTObj, const relocation_iterator &RI, const RelocationEntry &RE, ObjSectionToIDMap &ObjSectionToID) argument
135 dumpRelocationToResolve(const RelocationEntry &RE, uint64_t Value) const argument
[all...]
/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/google-breakpad/src/testing/gtest/test/
H A Dgtest-port_test.cc373 // Defines StringTypes as the list of all string types that class RE
384 // Tests RE's implicit constructors.
386 const RE empty(TypeParam(""));
389 const RE simple(TypeParam("hello"));
392 const RE normal(TypeParam(".*(\\w+)"));
396 // Tests that RE's constructors reject invalid regular expressions.
399 const RE invalid(TypeParam("?"));
403 // Tests RE::FullMatch().
405 const RE empty(TypeParam(""));
406 EXPECT_TRUE(RE
[all...]
/external/gtest/test/
H A Dgtest-port_test.cc403 // Defines StringTypes as the list of all string types that class RE
414 // Tests RE's implicit constructors.
416 const RE empty(TypeParam(""));
419 const RE simple(TypeParam("hello"));
422 const RE normal(TypeParam(".*(\\w+)"));
426 // Tests that RE's constructors reject invalid regular expressions.
429 const RE invalid(TypeParam("?"));
433 // Tests RE::FullMatch().
435 const RE empty(TypeParam(""));
436 EXPECT_TRUE(RE
[all...]
/external/protobuf/gtest/test/
H A Dgtest-port_test.cc180 // Defines StringTypes as the list of all string types that class RE
191 // Tests RE's implicit constructors.
193 const RE empty(TypeParam(""));
196 const RE simple(TypeParam("hello"));
199 const RE normal(TypeParam(".*(\\w+)"));
203 // Tests that RE's constructors reject invalid regular expressions.
206 const RE invalid(TypeParam("?"));
210 // Tests RE::FullMatch().
212 const RE empty(TypeParam(""));
213 EXPECT_TRUE(RE
[all...]
/external/vulkan-validation-layers/tests/gtest-1.7.0/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/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.cc111 // Implements RE. Currently only needed for death tests.
113 RE::~RE() {
126 bool RE::FullMatch(const char* str, const RE& re) {
135 bool RE::PartialMatch(const char* str, const RE& re) {
142 // Initializes an RE from its string representation.
143 void RE::Init(const char* regex) {
371 // Implements the RE clas
[all...]
/external/google-breakpad/src/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/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 bool Create(const char *statement, const RE *regex, const char *file,
188 const ::testing::internal::RE& gtest_regex = (regex); \
295 ::testing::internal::RE::PartialMatch(".*", (regex)); \

Completed in 584 milliseconds

123456