Home
last modified time | relevance | path

Searched refs:RE (Results 1 – 25 of 773) sorted by relevance

12345678910>>...31

/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldCOFFThumb.h86 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); in processRelocationRef()
87 addRelocationForSymbol(RE, TargetName); in processRelocationRef()
102 RelocationEntry RE = in processRelocationRef() local
105 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
109 RelocationEntry RE = in processRelocationRef() local
111 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
115 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, in processRelocationRef() local
117 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
121 RelocationEntry RE = in processRelocationRef() local
124 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
[all …]
DRuntimeDyldCOFFI386.h89 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); in processRelocationRef()
90 addRelocationForSymbol(RE, TargetName); in processRelocationRef()
105 RelocationEntry RE = in processRelocationRef() local
108 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
112 RelocationEntry RE = in processRelocationRef() local
114 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
118 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, in processRelocationRef() local
120 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
132 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { in resolveRelocation() argument
133 const auto Section = Sections[RE.SectionID]; in resolveRelocation()
[all …]
DRuntimeDyldMachOAArch64.h35 int64_t decodeAddend(const RelocationEntry &RE) const { in decodeAddend() argument
36 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
37 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend()
38 unsigned NumBytes = 1 << RE.Size; in decodeAddend()
41 switch (RE.RelType) { in decodeAddend()
58 switch (RE.RelType) { in decodeAddend()
278 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
279 RE.Addend = decodeAddend(RE); in processRelocationRef()
281 assert((ExplicitAddend == 0 || RE.Addend == 0) && "Relocation has "\ in processRelocationRef()
284 RE.Addend = ExplicitAddend; in processRelocationRef()
[all …]
DRuntimeDyldMachOARM.h37 int64_t decodeAddend(const RelocationEntry &RE) const { in decodeAddend() argument
38 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
39 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend()
41 switch (RE.RelType) { in decodeAddend()
43 return memcpyAddend(RE); in decodeAddend()
91 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
92 RE.Addend = decodeAddend(RE); in processRelocationRef()
94 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef()
99 if (RE.IsPCRel) in processRelocationRef()
102 if ((RE.RelType & 0xf) == MachO::ARM_RELOC_BR24) in processRelocationRef()
[all …]
DRuntimeDyldMachOX86_64.h51 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
52 RE.Addend = memcpyAddend(RE); in processRelocationRef()
54 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef()
60 if (!IsExtern && RE.IsPCRel) in processRelocationRef()
61 makeValueAddendPCRel(Value, RelI, 1 << RE.Size); in processRelocationRef()
73 if (RE.RelType == MachO::X86_64_RELOC_GOT || in processRelocationRef()
74 RE.RelType == MachO::X86_64_RELOC_GOT_LOAD) in processRelocationRef()
75 processGOTRelocation(RE, Value, Stubs); in processRelocationRef()
77 RE.Addend = Value.Offset; in processRelocationRef()
79 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
[all …]
DRuntimeDyldMachOI386.h68 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
69 RE.Addend = memcpyAddend(RE); in processRelocationRef()
71 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef()
86 if (RE.IsPCRel) in processRelocationRef()
87 makeValueAddendPCRel(Value, RelI, 1 << RE.Size); in processRelocationRef()
89 RE.Addend = Value.Offset; in processRelocationRef()
92 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
94 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
99 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { in resolveRelocation() argument
100 DEBUG(dumpRelocationToResolve(RE, Value)); in resolveRelocation()
[all …]
DRuntimeDyldCOFFX86_64.h63 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { in resolveRelocation() argument
64 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
65 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); in resolveRelocation()
67 switch (RE.RelType) { in resolveRelocation()
75 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset); in resolveRelocation()
78 uint64_t Delta = 4 + (RE.RelType - COFF::IMAGE_REL_AMD64_REL32); in resolveRelocation()
80 uint64_t Result = Value + RE.Addend; in resolveRelocation()
99 writeBytesUnaligned(Value + RE.Addend, Target, 8); in resolveRelocation()
168 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
169 addRelocationForSymbol(RE, TargetName); in processRelocationRef()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldCOFFThumb.h106 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); in processRelocationRef()
107 addRelocationForSymbol(RE, TargetName); in processRelocationRef()
125 RelocationEntry RE = RelocationEntry( in processRelocationRef() local
128 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
132 RelocationEntry RE = in processRelocationRef() local
135 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
139 RelocationEntry RE = in processRelocationRef() local
141 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
145 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, in processRelocationRef() local
147 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
[all …]
DRuntimeDyldMachOAArch64.h35 Expected<int64_t> decodeAddend(const RelocationEntry &RE) const { in decodeAddend() argument
36 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
37 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend()
38 unsigned NumBytes = 1 << RE.Size; in decodeAddend()
41 switch (RE.RelType) { in decodeAddend()
47 << getRelocName(RE.RelType); in decodeAddend()
59 << getRelocName(RE.RelType); in decodeAddend()
77 switch (RE.RelType) { in decodeAddend()
306 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
308 if (RE.RelType == MachO::ARM64_RELOC_POINTER_TO_GOT) { in processRelocationRef()
[all …]
DRuntimeDyldCOFFI386.h89 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); in processRelocationRef()
90 addRelocationForSymbol(RE, TargetName); in processRelocationRef()
105 RelocationEntry RE = in processRelocationRef() local
108 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
112 RelocationEntry RE = in processRelocationRef() local
114 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
118 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, in processRelocationRef() local
120 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
132 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { in resolveRelocation() argument
133 const auto Section = Sections[RE.SectionID]; in resolveRelocation()
[all …]
DRuntimeDyldMachOARM.h62 Expected<int64_t> decodeAddend(const RelocationEntry &RE) const { in decodeAddend() argument
63 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
64 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend()
66 switch (RE.RelType) { in decodeAddend()
68 return memcpyAddend(RE); in decodeAddend()
159 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
160 if (auto AddendOrErr = decodeAddend(RE)) in processRelocationRef()
161 RE.Addend = *AddendOrErr; in processRelocationRef()
164 RE.IsTargetThumbFunc = TargetIsLocalThumbFunc; in processRelocationRef()
167 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef()
[all …]
DRuntimeDyldMachOX86_64.h51 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
52 RE.Addend = memcpyAddend(RE); in processRelocationRef()
54 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef()
60 if (!IsExtern && RE.IsPCRel) in processRelocationRef()
61 makeValueAddendPCRel(Value, RelI, 1 << RE.Size); in processRelocationRef()
73 if (RE.RelType == MachO::X86_64_RELOC_GOT || in processRelocationRef()
74 RE.RelType == MachO::X86_64_RELOC_GOT_LOAD) in processRelocationRef()
75 processGOTRelocation(RE, Value, Stubs); in processRelocationRef()
77 RE.Addend = Value.Offset; in processRelocationRef()
79 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
[all …]
DRuntimeDyldMachOI386.h68 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
69 RE.Addend = memcpyAddend(RE); in processRelocationRef()
71 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef()
86 if (RE.IsPCRel) in processRelocationRef()
87 makeValueAddendPCRel(Value, RelI, 1 << RE.Size); in processRelocationRef()
89 RE.Addend = Value.Offset; in processRelocationRef()
92 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
94 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
99 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { in resolveRelocation() argument
100 LLVM_DEBUG(dumpRelocationToResolve(RE, Value)); in resolveRelocation()
[all …]
DRuntimeDyldCOFFAArch64.h127 const RelocationEntry RE(SectionID, Offset, RelType, Addend); in generateRelocationStub()
128 resolveRelocation(RE, Section.getLoadAddressWithOffset(StubOffset)); in generateRelocationStub()
228 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
229 addRelocationForSymbol(RE, TargetName); in processRelocationRef()
238 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend); in processRelocationRef()
239 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
244 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { in resolveRelocation() argument
245 const auto Section = Sections[RE.SectionID]; in resolveRelocation()
246 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); in resolveRelocation()
247 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset); in resolveRelocation()
[all …]
DRuntimeDyldELFMips.cpp15 void RuntimeDyldELFMips::resolveRelocation(const RelocationEntry &RE, in resolveRelocation() argument
17 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
19 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); in resolveRelocation()
21 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
22 RE.SymOffset, RE.SectionID); in resolveRelocation()
24 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
25 RE.SymOffset, RE.SectionID); in resolveRelocation()
30 uint64_t RuntimeDyldELFMips::evaluateRelocation(const RelocationEntry &RE, in evaluateRelocation() argument
34 const SectionEntry &Section = Sections[RE.SectionID]; in evaluateRelocation()
35 Value = evaluateMIPS64Relocation(Section, RE.Offset, Value, RE.RelType, in evaluateRelocation()
[all …]
DRuntimeDyldCOFFX86_64.h81 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { in resolveRelocation() argument
82 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
83 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); in resolveRelocation()
85 switch (RE.RelType) { in resolveRelocation()
93 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset); in resolveRelocation()
96 uint64_t Delta = 4 + (RE.RelType - COFF::IMAGE_REL_AMD64_REL32); in resolveRelocation()
98 uint64_t Result = Value + RE.Addend; in resolveRelocation()
115 write32BitOffset(Target, RE.Addend, Value - ImageBase); in resolveRelocation()
121 writeBytesUnaligned(Value + RE.Addend, Target, 8); in resolveRelocation()
166 const RelocationEntry RE(SectionID, Offset, RelType, Addend); in generateRelocationStub()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest-port_test.cc386 const RE empty(TypeParam("")); in TYPED_TEST()
389 const RE simple(TypeParam("hello")); in TYPED_TEST()
392 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
399 const RE invalid(TypeParam("?")); in TYPED_TEST()
405 const RE empty(TypeParam("")); in TYPED_TEST()
406 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
407 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
409 const RE re(TypeParam("a.*z")); in TYPED_TEST()
410 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
411 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp47 int64_t RuntimeDyldMachO::memcpyAddend(const RelocationEntry &RE) const { in memcpyAddend()
48 unsigned NumBytes = 1 << RE.Size; in memcpyAddend()
49 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset; in memcpyAddend()
62 MachO::any_relocation_info RE = in processScatteredVANILLA() local
66 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA()
67 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processScatteredVANILLA()
68 unsigned Size = Obj.getAnyRelocationLength(RE); in processScatteredVANILLA()
74 unsigned SymbolBaseAddr = Obj.getScatteredRelocationValue(RE); in processScatteredVANILLA()
100 const RelocationEntry &RE, ObjSectionToIDMap &ObjSectionToID) { in getRelocationValueRef() argument
121 Value.Offset = SymInfo.getOffset() + RE.Addend; in getRelocationValueRef()
[all …]
DRuntimeDyldELF.cpp917 void RuntimeDyldELF::resolveRelocation(const RelocationEntry &RE, in resolveRelocation() argument
919 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
920 return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
921 RE.SymOffset, RE.SectionID); in resolveRelocation()
971 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend, Value.Offset); in processSimpleRelocation() local
973 addRelocationForSymbol(RE, Value.SymbolName); in processSimpleRelocation()
975 addRelocationForSection(RE, Value.SectionID); in processSimpleRelocation()
1233 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef() local
1236 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
1238 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
[all …]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp46 int64_t RuntimeDyldMachO::memcpyAddend(const RelocationEntry &RE) const { in memcpyAddend()
47 unsigned NumBytes = 1 << RE.Size; in memcpyAddend()
48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset; in memcpyAddend()
60 MachO::any_relocation_info RE = in processScatteredVANILLA() local
64 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA()
65 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processScatteredVANILLA()
66 unsigned Size = Obj.getAnyRelocationLength(RE); in processScatteredVANILLA()
72 unsigned SymbolBaseAddr = Obj.getScatteredRelocationValue(RE); in processScatteredVANILLA()
97 const RelocationEntry &RE, ObjSectionToIDMap &ObjSectionToID) { in getRelocationValueRef() argument
118 Value.Offset = SymInfo.getOffset() + RE.Addend; in getRelocationValueRef()
[all …]
/external/googletest/googletest/test/
Dgoogletest-port-test.cc379 const RE empty(TypeParam("")); in TYPED_TEST()
382 const RE simple(TypeParam("hello")); in TYPED_TEST()
385 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
392 const RE invalid(TypeParam("?")); in TYPED_TEST()
398 const RE empty(TypeParam("")); in TYPED_TEST()
399 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
400 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
402 const RE re(TypeParam("a.*z")); in TYPED_TEST()
403 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
404 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
[all …]
/external/markdown/markdown/
Dblockprocessors.py219 RE = re.compile(r'(^|\n)[ ]{0,3}>[ ]?(.*)') variable in 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 OListProcessor
266 return bool(self.RE.match(block))
327 RE = re.compile(r'^[ ]{0,3}[*+-][ ]+(.*)') variable in UListProcessor
334 RE = re.compile(r'(^|\n)(?P<level>#{1,6})(?P<header>.*?)#*(\n|$)') variable in HashHeaderProcessor
337 return bool(self.RE.search(block))
341 m = self.RE.search(block)
[all …]
/external/llvm/lib/Object/
DMachOObjectFile.cpp120 getPlainRelocationAddress(const MachO::any_relocation_info &RE) { in getPlainRelocationAddress() argument
121 return RE.r_word0; in getPlainRelocationAddress()
125 getScatteredRelocationAddress(const MachO::any_relocation_info &RE) { in getScatteredRelocationAddress() argument
126 return RE.r_word0 & 0xffffff; in getScatteredRelocationAddress()
130 const MachO::any_relocation_info &RE) { in getPlainRelocationPCRel() argument
132 return (RE.r_word1 >> 24) & 1; in getPlainRelocationPCRel()
133 return (RE.r_word1 >> 7) & 1; in getPlainRelocationPCRel()
138 const MachO::any_relocation_info &RE) { in getScatteredRelocationPCRel() argument
139 return (RE.r_word0 >> 30) & 1; in getScatteredRelocationPCRel()
143 const MachO::any_relocation_info &RE) { in getPlainRelocationLength() argument
[all …]
/external/llvm/utils/unittest/googletest/src/
Dgtest-port.cc115 RE::~RE() { in ~RE()
128 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
137 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
145 void RE::Init(const char* regex) { in Init()
375 RE::~RE() { in ~RE()
381 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
387 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
392 void RE::Init(const char* regex) { in Init()
/external/google-breakpad/src/testing/gtest/src/
Dgtest-port.cc140 RE::~RE() { in ~RE()
153 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
162 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
170 void RE::Init(const char* regex) { in Init()
400 RE::~RE() { in ~RE()
406 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
412 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
417 void RE::Init(const char* regex) { in Init()

12345678910>>...31