Home
last modified time | relevance | path

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

12345678910>>...18

/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/pcre/pcrecpp/
Dpcrecpp_unittest.cc47 using pcrecpp::RE;
71 RE pattern("ruby:\\d+"); in Timing1()
80 RE pattern("ruby:(\\d+)"); in Timing2()
94 RE line_matcher(".*\n"); in Timing3()
116 RE newre(buf);
133 CHECK(RE("([0-9a-fA-F]+)[uUlL]*").FullMatch(#value, Hex(&v))); \ in RadixTests()
135 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0x" #value, CRadix(&v))); \ in RadixTests()
159 CHECK(RE("([0-7]+)[uUlL]*").FullMatch(#value, Octal(&v))); \ in RadixTests()
161 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0" #value, CRadix(&v))); \ in RadixTests()
185 CHECK(RE("(-?[0-9]+)[uUlL]*").FullMatch(#value, &v)); \ in RadixTests()
[all …]
Dpcrecpp.cc53 void RE::Init(const string& pat, const RE_Options* options) { in Init()
70 void RE::Cleanup() { in Cleanup()
77 RE::~RE() { in ~RE()
90 pcre2_code* RE::Compile(Anchor anchor) { in Compile()
151 bool RE::Replace(const StringPiece& rewrite, in Replace()
184 int RE::GlobalReplace(const StringPiece& rewrite, in GlobalReplace()
257 bool RE::Extract(const StringPiece& rewrite, in Extract()
268 /*static*/ string RE::QuoteMeta(const StringPiece& unquoted) { in QuoteMeta()
303 int RE::TryMatch(const StringPiece& text, in TryMatch()
365 bool RE::DoMatchImpl(const StringPiece& text, in DoMatchImpl()
[all …]
/external/protobuf/gtest/test/
Dgtest-port_test.cc193 const RE empty(TypeParam("")); in TYPED_TEST()
196 const RE simple(TypeParam("hello")); in TYPED_TEST()
199 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
206 const RE invalid(TypeParam("?")); in TYPED_TEST()
212 const RE empty(TypeParam("")); in TYPED_TEST()
213 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
214 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
216 const RE re(TypeParam("a.*z")); in TYPED_TEST()
217 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
218 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
[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/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 …]
DRuntimeDyldELF.cpp1097 void RuntimeDyldELF::resolveRelocation(const RelocationEntry &RE, in resolveRelocation() argument
1099 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
1100 return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
1101 RE.SymOffset, RE.SectionID); in resolveRelocation()
1160 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend, Value.Offset); in processSimpleRelocation() local
1162 addRelocationForSymbol(RE, Value.SymbolName); in processSimpleRelocation()
1164 addRelocationForSection(RE, Value.SectionID); in processSimpleRelocation()
1354 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef() local
1357 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
1359 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
[all …]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp216 InMemoryStruct<macho::RelocationEntry> RE; in loadSegment32() local
217 Obj->ReadRelocationEntry(Sect->RelocationTableOffset, j, RE); in loadSegment32()
218 if (RE->Word0 & macho::RF_Scattered) in loadSegment32()
223 uint32_t Offset = RE->Word0; in loadSegment32()
240 bool isExtern = (RE->Word1 >> 27) & 1; in loadSegment32()
253 uint32_t SourceNum = RE->Word1 & 0xffffff; // 24-bit value in loadSegment32()
262 RE->Word1, in loadSegment32()
266 << format("0x%x", RE->Word1) << ")\n"); in loadSegment32()
353 InMemoryStruct<macho::RelocationEntry> RE; in loadSegment64() local
354 Obj->ReadRelocationEntry(Sect->RelocationTableOffset, j, RE); in loadSegment64()
[all …]
/external/v8/testing/gtest/test/
Dgtest-port_test.cc418 const RE empty(TypeParam("")); in TYPED_TEST()
421 const RE simple(TypeParam("hello")); in TYPED_TEST()
424 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
431 const RE invalid(TypeParam("?")); in TYPED_TEST()
437 const RE empty(TypeParam("")); in TYPED_TEST()
438 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
439 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
441 const RE re(TypeParam("a.*z")); in TYPED_TEST()
442 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
443 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest-port_test.cc423 const RE empty(TypeParam("")); in TYPED_TEST()
426 const RE simple(TypeParam("hello")); in TYPED_TEST()
429 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
436 const RE invalid(TypeParam("?")); in TYPED_TEST()
442 const RE empty(TypeParam("")); in TYPED_TEST()
443 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
444 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
446 const RE re(TypeParam("a.*z")); in TYPED_TEST()
447 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
448 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
[all …]
/external/googletest/googletest/test/
Dgtest-port_test.cc418 const RE empty(TypeParam("")); in TYPED_TEST()
421 const RE simple(TypeParam("hello")); in TYPED_TEST()
424 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
431 const RE invalid(TypeParam("?")); in TYPED_TEST()
437 const RE empty(TypeParam("")); in TYPED_TEST()
438 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
439 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
441 const RE re(TypeParam("a.*z")); in TYPED_TEST()
442 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
443 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
[all …]
/external/pcre/pcrecpp/include/
Dpcrecpp.h508 class RE {
512 RE(const string& pat) { Init(pat, NULL); } in RE() function
513 RE(const string& pat, const RE_Options& option) { Init(pat, &option); } in RE() function
514 RE(const char* pat) { Init(pat, NULL); } in RE() function
515 RE(const char* pat, const RE_Options& option) { Init(pat, &option); } in RE() function
516 RE(const unsigned char* pat) { in RE() function
519 RE(const unsigned char* pat, const RE_Options& option) { in RE() function
525 RE(const RE& re) { Init(re.pattern_, &re.options_); } in RE() function
526 const RE& operator=(const RE& re) {
540 ~RE();
/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/protobuf/gtest/src/
Dgtest-port.cc113 RE::~RE() { in ~RE()
126 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
135 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
143 void RE::Init(const char* regex) { in Init()
373 RE::~RE() { in ~RE()
379 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
385 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
390 void RE::Init(const char* regex) { in Init()
/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/mesa3d/src/gtest/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/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/swiftshader/third_party/LLVM/utils/unittest/googletest/
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>>...18