/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldCOFFThumb.h | 108 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 …]
|
D | RuntimeDyldMachOAArch64.h | 34 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 …]
|
D | RuntimeDyldCOFFI386.h | 88 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 …]
|
D | RuntimeDyldMachOARM.h | 63 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 …]
|
D | RuntimeDyldMachOX86_64.h | 50 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 …]
|
D | RuntimeDyldMachOI386.h | 67 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 …]
|
D | RuntimeDyldCOFFAArch64.h | 127 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 …]
|
D | RuntimeDyldELFMips.cpp | 14 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 …]
|
D | RuntimeDyldCOFFX86_64.h | 86 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 …]
|
D | RuntimeDyldELFMips.h | 28 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/ |
D | RuntimeDyldMachO.cpp | 46 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 …]
|
D | RuntimeDyldELF.cpp | 927 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 …]
|
D | RuntimeDyldMachO.h | 57 int64_t memcpyAddend(const RelocationEntry &RE) const; 100 const RelocationEntry &RE, 109 void dumpRelocationToResolve(const RelocationEntry &RE, uint64_t Value) const;
|
/third_party/googletest/googletest/test/ |
D | googletest-port-test.cc | 387 const RE empty(TypeParam("")); in TYPED_TEST() 390 const RE simple(TypeParam("hello")); in TYPED_TEST() 393 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST() 400 const RE invalid(TypeParam("?")); in TYPED_TEST() 406 const RE empty(TypeParam("")); in TYPED_TEST() 407 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST() 408 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST() 410 const RE re(TypeParam("a.*z")); in TYPED_TEST() 411 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST() 412 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST() [all …]
|
/third_party/rust/crates/regex/bench/src/ |
D | bench.rs | 150 static ref RE: Mutex<Regex> = Mutex::new($re); 153 let re = RE.lock().unwrap(); 188 static ref RE: Mutex<Regex> = Mutex::new(regex!($pattern)); 191 let re = RE.lock().unwrap(); 221 static ref RE: Mutex<Regex> = Mutex::new($pattern); 224 let re = RE.lock().unwrap(); 244 static ref RE: Mutex<RegexSet> = Mutex::new($re); 247 let re = RE.lock().unwrap(); 272 static ref RE: Mutex<RegexSet> = Mutex::new($re); 275 let re = RE.lock().unwrap();
|
/third_party/libbpf/ |
D | README_zh.md | 11 另请参见[“BPF CO-RE参考指南”](https://nakryiko.com/posts/bpf-core-reference-guide/),涵盖构建BPF CO-RE应用程序的实际方面, 13 以及[“BPF CO-RE”](https://nakryiko.com/posts/bpf-portability-and-co-re/)对于BPF可移植性问题和BPF CO-RE起源的一般介绍。 91 # BPF CO-RE(编译一次-到处运行) 93 libbpf支持构建支持BPF CO-RE的应用程序,这与[BCC](https://github.com/iovisor/bcc/)不同,不需要Clang/LLVM运行时部署到目标服务器并且不依赖… 137 以下资源有助于理解什么是BPF CO-RE以及如何使用它: 139 * [BPF CO-RE参考指南](https://nakryiko.com/posts/bpf-core-reference-guide/) 141 * [BPF可移植性和CO-RE](https://nakryiko.com/posts/bpf-portability-and-co-re/)
|
D | README.md | 38 See also ["BPF CO-RE reference guide"](https://nakryiko.com/posts/bpf-core-reference-guide/) 39 for the coverage of practical aspects of building BPF CO-RE applications and 40 ["BPF CO-RE"](https://nakryiko.com/posts/bpf-portability-and-co-re/) for 41 general introduction into BPF portability issues and BPF CO-RE origins. 88 BPF CO-RE (Compile Once – Run Everywhere) 91 Libbpf supports building BPF CO-RE-enabled applications, which, in contrast to 131 The following resources are useful to understand what BPF CO-RE is and how to 133 - [BPF CO-RE reference guide](https://nakryiko.com/posts/bpf-core-reference-guide/) 134 - [BPF Portability and CO-RE](https://nakryiko.com/posts/bpf-portability-and-co-re/) 137 contain lots of real-world tools converted from BCC to BPF CO-RE. Consider
|
/third_party/mesa3d/src/gtest/src/ |
D | gtest-port.cc | 706 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/googletest/googletest/src/ |
D | gtest-port.cc | 711 RE::~RE() { in ~RE() 724 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() 733 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() 741 void RE::Init(const char* regex) { in Init() 967 RE::~RE() { in ~RE() 973 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() 979 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() 984 void RE::Init(const char* regex) { in Init()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | MachOObjectFile.cpp | 136 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/python/Doc/howto/ |
D | regex.rst | 11 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/CodeGen/ |
D | GCMetadata.cpp | 114 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | MachO.h | 470 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/mesa3d/src/gtest/include/gtest/ |
D | gtest-matchers.h | 620 MatchesRegexMatcher(const RE* regex, bool full_match) in MatchesRegexMatcher() 648 return full_match_ ? RE::FullMatch(s2, *regex_) in MatchAndExplain() 649 : RE::PartialMatch(s2, *regex_); in MatchAndExplain() 664 const std::shared_ptr<const RE> regex_; 672 const internal::RE* regex) { in MatchesRegex() 677 return MatchesRegex(new internal::RE(regex)); in MatchesRegex() 683 const internal::RE* regex) { in ContainsRegex() 688 return ContainsRegex(new internal::RE(regex)); in ContainsRegex()
|
/third_party/ffmpeg/libavfilter/ |
D | avf_showfreqs.c | 403 #define RE(x, ch) s->fft_data[ch][x].re in plot_freqs() macro 425 a = av_clipd(M(RE(0, ch), 0) / s->scale, 0, 1); in plot_freqs() 429 a = av_clipd(M(RE(f, ch), IM(f, ch)) / s->scale, 0, 1); in plot_freqs() 435 a = av_clipd((M_PI + P(RE(0, ch), 0)) / (2. * M_PI), 0, 1); in plot_freqs() 439 a = av_clipd((M_PI + P(RE(f, ch), IM(f, ch))) / (2. * M_PI), 0, 1); in plot_freqs() 448 a = av_clipd((M_PI - P(IM(f, ch) * RE(f-1, ch) - IM(f-1, ch) * RE(f, ch), in plot_freqs() 449 … RE(f, ch) * RE(f-1, ch) + IM(f, ch) * IM(f-1, ch))) / (2. * M_PI), 0, 1); in plot_freqs()
|