Home
last modified time | relevance | path

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

12345678910>>...33

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldCOFFThumb.h108 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); in processRelocationRef()
109 addRelocationForSymbol(RE, TargetName); in processRelocationRef()
127 RelocationEntry RE = RelocationEntry( in processRelocationRef() local
130 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
134 RelocationEntry RE = in processRelocationRef() local
137 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
141 RelocationEntry RE = in processRelocationRef() local
143 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
147 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, in processRelocationRef() local
149 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
[all …]
DRuntimeDyldMachOAArch64.h34 Expected<int64_t> decodeAddend(const RelocationEntry &RE) const { in decodeAddend() argument
35 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
36 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend()
37 unsigned NumBytes = 1 << RE.Size; in decodeAddend()
40 switch (RE.RelType) { in decodeAddend()
46 << getRelocName(RE.RelType); in decodeAddend()
58 << getRelocName(RE.RelType); in decodeAddend()
76 switch (RE.RelType) { in decodeAddend()
305 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
307 if (RE.RelType == MachO::ARM64_RELOC_POINTER_TO_GOT) { in processRelocationRef()
[all …]
DRuntimeDyldCOFFI386.h88 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); in processRelocationRef()
89 addRelocationForSymbol(RE, TargetName); in processRelocationRef()
104 RelocationEntry RE = in processRelocationRef() local
107 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
111 RelocationEntry RE = in processRelocationRef() local
113 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
117 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, in processRelocationRef() local
119 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
131 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { in resolveRelocation() argument
132 const auto Section = Sections[RE.SectionID]; in resolveRelocation()
[all …]
DRuntimeDyldMachOARM.h63 Expected<int64_t> decodeAddend(const RelocationEntry &RE) const { in decodeAddend() argument
64 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
65 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend()
67 switch (RE.RelType) { in decodeAddend()
69 return memcpyAddend(RE); in decodeAddend()
160 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
161 if (auto AddendOrErr = decodeAddend(RE)) in processRelocationRef()
162 RE.Addend = *AddendOrErr; in processRelocationRef()
165 RE.IsTargetThumbFunc = TargetIsLocalThumbFunc; in processRelocationRef()
168 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef()
[all …]
DRuntimeDyldMachOX86_64.h50 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
51 RE.Addend = memcpyAddend(RE); in processRelocationRef()
53 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef()
59 if (!IsExtern && RE.IsPCRel) in processRelocationRef()
60 makeValueAddendPCRel(Value, RelI, 1 << RE.Size); in processRelocationRef()
72 if (RE.RelType == MachO::X86_64_RELOC_GOT || in processRelocationRef()
73 RE.RelType == MachO::X86_64_RELOC_GOT_LOAD) in processRelocationRef()
74 processGOTRelocation(RE, Value, Stubs); in processRelocationRef()
76 RE.Addend = Value.Offset; in processRelocationRef()
78 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
[all …]
DRuntimeDyldMachOI386.h67 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
68 RE.Addend = memcpyAddend(RE); in processRelocationRef()
70 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef()
85 if (RE.IsPCRel) in processRelocationRef()
86 makeValueAddendPCRel(Value, RelI, 1 << RE.Size); in processRelocationRef()
88 RE.Addend = Value.Offset; in processRelocationRef()
91 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
93 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
98 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { in resolveRelocation() argument
99 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()
229 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
230 addRelocationForSymbol(RE, TargetName); in processRelocationRef()
239 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend); in processRelocationRef()
240 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
245 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { in resolveRelocation() argument
246 const auto Section = Sections[RE.SectionID]; in resolveRelocation()
247 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); in resolveRelocation()
248 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset); in resolveRelocation()
[all …]
DRuntimeDyldELFMips.cpp14 void RuntimeDyldELFMips::resolveRelocation(const RelocationEntry &RE, in resolveRelocation() argument
16 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); in resolveRelocation()
20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
21 RE.SymOffset, RE.SectionID); in resolveRelocation()
23 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
24 RE.SymOffset, RE.SectionID); in resolveRelocation()
29 uint64_t RuntimeDyldELFMips::evaluateRelocation(const RelocationEntry &RE, in evaluateRelocation() argument
33 const SectionEntry &Section = Sections[RE.SectionID]; in evaluateRelocation()
34 Value = evaluateMIPS64Relocation(Section, RE.Offset, Value, RE.RelType, in evaluateRelocation()
[all …]
DRuntimeDyldCOFFX86_64.h86 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { in resolveRelocation() argument
87 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
88 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); in resolveRelocation()
90 switch (RE.RelType) { in resolveRelocation()
98 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset); in resolveRelocation()
101 uint64_t Delta = 4 + (RE.RelType - COFF::IMAGE_REL_AMD64_REL32); in resolveRelocation()
103 uint64_t Result = Value + RE.Addend; in resolveRelocation()
120 write32BitOffset(Target, RE.Addend, Value - ImageBase); in resolveRelocation()
126 writeBytesUnaligned(Value + RE.Addend, Target, 8); in resolveRelocation()
131 assert(static_cast<int64_t>(RE.Addend) <= INT32_MAX && "Relocation overflow"); in resolveRelocation()
[all …]
DRuntimeDyldELFMips.h28 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override;
44 uint64_t evaluateRelocation(const RelocationEntry &RE, uint64_t Value,
50 void applyRelocation(const RelocationEntry &RE, uint64_t Value);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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()
61 MachO::any_relocation_info RE = in processScatteredVANILLA() local
65 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA()
66 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processScatteredVANILLA()
67 unsigned Size = Obj.getAnyRelocationLength(RE); in processScatteredVANILLA()
73 unsigned SymbolBaseAddr = Obj.getScatteredRelocationValue(RE); in processScatteredVANILLA()
99 const RelocationEntry &RE, ObjSectionToIDMap &ObjSectionToID) { in getRelocationValueRef() argument
120 Value.Offset = SymInfo.getOffset() + RE.Addend; in getRelocationValueRef()
[all …]
DRuntimeDyldELF.cpp927 void RuntimeDyldELF::resolveRelocation(const RelocationEntry &RE, in resolveRelocation() argument
929 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
930 return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
931 RE.SymOffset, RE.SectionID); in resolveRelocation()
981 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend, Value.Offset); in processSimpleRelocation() local
983 addRelocationForSymbol(RE, Value.SymbolName); in processSimpleRelocation()
985 addRelocationForSection(RE, Value.SectionID); in processSimpleRelocation()
1243 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef() local
1246 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
1248 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
[all …]
DRuntimeDyldMachO.h57 int64_t memcpyAddend(const RelocationEntry &RE) const;
100 const RelocationEntry &RE,
109 void dumpRelocationToResolve(const RelocationEntry &RE, uint64_t Value) const;
/third_party/boringssl/src/third_party/googletest/test/
Dgoogletest-port-test.cc397 const RE empty(TypeParam("")); in TYPED_TEST()
400 const RE simple(TypeParam("hello")); in TYPED_TEST()
403 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
410 const RE invalid(TypeParam("?")); in TYPED_TEST()
416 const RE empty(TypeParam("")); in TYPED_TEST()
417 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
418 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
420 const RE re(TypeParam("a.*z")); in TYPED_TEST()
421 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
422 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
[all …]
/third_party/googletest/googletest/test/
Dgoogletest-port-test.cc407 const RE empty(TypeParam("")); in TYPED_TEST()
410 const RE simple(TypeParam("hello")); in TYPED_TEST()
413 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
420 const RE invalid(TypeParam("?")); in TYPED_TEST()
426 const RE empty(TypeParam("")); in TYPED_TEST()
427 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
428 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
430 const RE re(TypeParam("a.*z")); in TYPED_TEST()
431 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
432 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
[all …]
/third_party/googletest/googletest/include/gtest/internal/
Dgtest-death-test-internal.h81 static bool Create(const char* statement, const RE* regex,
147 virtual bool Create(const char* statement, const RE* regex, in GTEST_DISABLE_MSC_WARNINGS_POP_()
154 virtual bool Create(const char* statement, const RE* regex,
192 const ::testing::internal::RE& gtest_regex = (regex); \
234 const ::testing::internal::RE& gtest_regex = (regex); \
/third_party/ejdb/src/util/
Dlwre.c28 # define RE_ERROR(RE, CODE, MESSAGE) { (RE)->error_message = (MESSAGE); \ argument
29 … longjmp(*(RE)->error_env, (re->error_code = RE_ERROR_ ## CODE)); }
33 # define RE_MALLOC(RE, SIZE) re__malloc((RE), (SIZE)) argument
46 # define RE_CALLOC(RE, NMEMB, SIZE) re__calloc((RE), (NMEMB), (SIZE)) argument
62 # define RE_REALLOC(RE, PTR, SIZE) re__realloc((RE), (PTR), (SIZE)) argument
75 # define RE_FREE(RE, PTR) free(PTR) argument
89 #define re_array_append(RE, ARRAY, ELEMENT) \ argument
92 ? ((ARRAY).at = RE_REALLOC((RE), (ARRAY).at, \
99 #define re_array_copy(RE, ARRAY) \ argument
102 memcpy(RE_MALLOC((RE), sizeof((ARRAY).at[0]) * (ARRAY).size), \
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DGCMetadata.cpp114 RE = FD->roots_end(); in runOnFunction() local
115 RI != RE; ++RI) in runOnFunction()
126 RE = FD->live_end(PI); in runOnFunction() local
129 if (++RI == RE) in runOnFunction()
/third_party/googletest/googletest/src/
Dgtest-port.cc621 RE::~RE() { in ~RE()
634 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
643 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
651 void RE::Init(const char* regex) { in Init()
881 RE::~RE() { in ~RE()
887 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
893 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
898 void RE::Init(const char* regex) { in Init()
Dgtest-death-test.cc372 bool DeathTest::Create(const char* statement, const RE* regex, in Create()
391 DeathTestImpl(const char* a_statement, const RE* a_regex) in DeathTestImpl()
407 const RE* regex() const { return regex_; } in regex()
431 const RE* const regex_;
584 const bool matched = RE::PartialMatch(error_message, *regex()); in Passed()
586 const bool matched = RE::PartialMatch(error_message.c_str(), *regex()); in Passed()
643 const RE* a_regex, in WindowsDeathTest()
809 const RE* a_regex, in FuchsiaDeathTest()
1003 ForkingDeathTest(const char* statement, const RE* regex);
1017 ForkingDeathTest::ForkingDeathTest(const char* a_statement, const RE* a_regex) in ForkingDeathTest()
[all …]
/third_party/boringssl/src/third_party/googletest/src/
Dgtest-port.cc706 RE::~RE() { in ~RE()
719 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
728 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
736 void RE::Init(const char* regex) { in Init()
962 RE::~RE() { in ~RE()
968 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
974 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
979 void RE::Init(const char* regex) { in Init()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DMachO.h470 bool isRelocationScattered(const MachO::any_relocation_info &RE) const;
472 const MachO::any_relocation_info &RE) const;
473 bool getPlainRelocationExternal(const MachO::any_relocation_info &RE) const;
475 const MachO::any_relocation_info &RE) const;
477 const MachO::any_relocation_info &RE) const;
479 const MachO::any_relocation_info &RE) const;
480 unsigned getAnyRelocationAddress(const MachO::any_relocation_info &RE) const;
481 unsigned getAnyRelocationPCRel(const MachO::any_relocation_info &RE) const;
482 unsigned getAnyRelocationLength(const MachO::any_relocation_info &RE) const;
483 unsigned getAnyRelocationType(const MachO::any_relocation_info &RE) const;
[all …]
/third_party/python/Doc/howto/
Dregex.rst11 Better way of displaying a RE, a string, and what it matches
37 necessary to pay careful attention to how the engine will execute a given RE,
38 and write the RE in a certain way in order to produce bytecode that runs faster.
67 enable a case-insensitive mode that would let this RE match ``Test`` or ``TEST``
73 of the RE by repeating them or changing their meaning. Much of this document is
89 characters. If you wanted to match only lowercase letters, your RE would be
169 portions of the RE must be repeated a certain number of times.
178 Repetitions such as ``*`` are :dfn:`greedy`; when repeating a RE, the matching
186 this RE against the string ``'abcbd'``.
191 | 1 | ``a`` | The ``a`` in the RE matches. |
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMachOObjectFile.cpp136 getPlainRelocationAddress(const MachO::any_relocation_info &RE) { in getPlainRelocationAddress() argument
137 return RE.r_word0; in getPlainRelocationAddress()
141 getScatteredRelocationAddress(const MachO::any_relocation_info &RE) { in getScatteredRelocationAddress() argument
142 return RE.r_word0 & 0xffffff; in getScatteredRelocationAddress()
146 const MachO::any_relocation_info &RE) { in getPlainRelocationPCRel() argument
148 return (RE.r_word1 >> 24) & 1; in getPlainRelocationPCRel()
149 return (RE.r_word1 >> 7) & 1; in getPlainRelocationPCRel()
153 getScatteredRelocationPCRel(const MachO::any_relocation_info &RE) { in getScatteredRelocationPCRel() argument
154 return (RE.r_word0 >> 30) & 1; in getScatteredRelocationPCRel()
158 const MachO::any_relocation_info &RE) { in getPlainRelocationLength() argument
[all …]
/third_party/boringssl/src/third_party/googletest/include/gtest/
Dgtest-matchers.h618 MatchesRegexMatcher(const RE* regex, bool full_match) in MatchesRegexMatcher()
646 return full_match_ ? RE::FullMatch(s2, *regex_) in MatchAndExplain()
647 : RE::PartialMatch(s2, *regex_); in MatchAndExplain()
662 const std::shared_ptr<const RE> regex_;
670 const internal::RE* regex) { in MatchesRegex()
675 return MatchesRegex(new internal::RE(regex)); in MatchesRegex()
681 const internal::RE* regex) { in ContainsRegex()
686 return ContainsRegex(new internal::RE(regex)); in ContainsRegex()

12345678910>>...33