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

12345

/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOX86_64.h46 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
47 RE.Addend = memcpyAddend(RE);
49 getRelocationValueRef(Obj, RelI, RE, ObjSectionToID));
52 if (!IsExtern && RE.IsPCRel)
53 makeValueAddendPCRel(Value, Obj, RelI, 1 << RE.Size);
55 if (RE.RelType == MachO::X86_64_RELOC_GOT ||
56 RE.RelType == MachO::X86_64_RELOC_GOT_LOAD)
57 processGOTRelocation(RE, Value, Stubs);
59 RE
106 processGOTRelocation(const RelocationEntry &RE, RelocationValueRef &Value, StubMap &Stubs) argument
[all...]
H A DRuntimeDyldMachOARM.h36 int64_t decodeAddend(const RelocationEntry &RE) const {
37 const SectionEntry &Section = Sections[RE.SectionID];
38 uint8_t *LocalAddress = Section.Address + RE.Offset;
40 switch (RE.RelType) {
42 return memcpyAddend(RE);
71 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
72 RE.Addend = decodeAddend(RE);
74 getRelocationValueRef(Obj, RelI, RE, ObjSectionToID));
76 if (RE
172 processBranchRelocation(const RelocationEntry &RE, const RelocationValueRef &Value, StubMap &Stubs) argument
208 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.Address + 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 getRelocationValueRef(Obj, RelI, RE, ObjSectionToI
368 processGOTRelocation(const RelocationEntry &RE, RelocationValueRef &Value, StubMap &Stubs) argument
[all...]
H A DRuntimeDyldMachOI386.h55 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
56 RE.Addend = memcpyAddend(RE);
58 getRelocationValueRef(Obj, RelI, RE, ObjSectionToID));
65 // if (IsExtern && RE.IsPCRel) {
70 if (RE.IsPCRel)
71 makeValueAddendPCRel(Value, Obj, RelI, 1 << RE.Size);
73 RE.Addend = Value.Offset;
76 addRelocationForSymbol(RE, Value.SymbolName);
78 addRelocationForSection(RE, Valu
134 MachO::any_relocation_info RE = local
194 MachO::any_relocation_info RE = local
[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.Address + RE.Offset;
67 switch (RE.RelType) {
76 uint64_t FinalAddress = Section.LoadAddress + RE.Offset;
79 uint64_t Delta = 4 + (RE
[all...]
/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.cpp45 int64_t RuntimeDyldMachO::memcpyAddend(const RelocationEntry &RE) const {
46 unsigned NumBytes = 1 << RE.Size;
47 uint8_t *Src = Sections[RE.SectionID].Address + RE.Offset;
54 const RelocationEntry &RE, ObjSectionToIDMap &ObjSectionToID) {
72 Value.Offset = SymInfo.getOffset() + RE.Addend;
75 Value.Offset = RE.Addend;
82 Value.Offset = RE.Addend - Addr;
105 void RuntimeDyldMachO::dumpRelocationToResolve(const RelocationEntry &RE, argument
107 const SectionEntry &Section = Sections[RE
52 getRelocationValueRef( const ObjectFile &BaseTObj, const relocation_iterator &RI, const RelocationEntry &RE, ObjSectionToIDMap &ObjSectionToID) argument
[all...]
H A DRuntimeDyldMachO.h57 /// addend size and offset are taken from the corresponding fields of the RE).
58 int64_t memcpyAddend(const RelocationEntry &RE) const;
88 /// immediate (held in RE.Addend).
94 const RelocationEntry &RE,
103 /// Dump information about the relocation entry (RE) and resolved value.
104 void dumpRelocationToResolve(const RelocationEntry &RE, uint64_t Value) const;
/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.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/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/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/lib/Object/
H A DMachOObjectFile.cpp132 const MachO::any_relocation_info &RE,
134 bool IsScattered = O->isRelocationScattered(RE);
141 uint32_t Val = O->getPlainRelocationSymbolNum(RE);
178 bool isExtern = O->getPlainRelocationExternal(RE);
179 uint64_t Val = O->getPlainRelocationSymbolNum(RE);
196 getPlainRelocationAddress(const MachO::any_relocation_info &RE) { argument
197 return RE.r_word0;
201 getScatteredRelocationAddress(const MachO::any_relocation_info &RE) { argument
202 return RE.r_word0 & 0xffffff;
206 const MachO::any_relocation_info &RE) {
131 printRelocationTargetName(const MachOObjectFile *O, const MachO::any_relocation_info &RE, raw_string_ostream &fmt) argument
205 getPlainRelocationPCRel(const MachOObjectFile *O, const MachO::any_relocation_info &RE) argument
213 getScatteredRelocationPCRel(const MachOObjectFile *O, const MachO::any_relocation_info &RE) argument
218 getPlainRelocationLength(const MachOObjectFile *O, const MachO::any_relocation_info &RE) argument
226 getScatteredRelocationLength(const MachO::any_relocation_info &RE) argument
230 getPlainRelocationType(const MachOObjectFile *O, const MachO::any_relocation_info &RE) argument
687 MachO::any_relocation_info RE = getRelocation(Rel); local
694 MachO::any_relocation_info RE = getRelocation(Rel); local
715 MachO::any_relocation_info RE = getRelocation(Rel); local
835 MachO::any_relocation_info RE = getRelocation(Rel); local
[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)); \
/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)); \
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h77 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); \
264 ::testing::internal::RE::PartialMatch(".*", (regex)); \

Completed in 2983 milliseconds

12345