/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
H A D | RuntimeDyldCOFFThumb.h | 108 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); 109 addRelocationForSymbol(RE, TargetName); 127 RelocationEntry RE = RelocationEntry( variable 130 addRelocationForSection(RE, TargetSectionID); 134 RelocationEntry RE = variable 137 addRelocationForSection(RE, TargetSectionID); 141 RelocationEntry RE = variable 143 addRelocationForSection(RE, TargetSectionID); 147 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, variable 149 addRelocationForSection(RE, TargetSectionI 153 RelocationEntry RE = RelocationEntry( global() variable 162 RelocationEntry RE = global() variable [all...] |
H A D | RuntimeDyldMachOAArch64.h | 34 Expected<int64_t> decodeAddend(const RelocationEntry &RE) const { in decodeAddend() 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)); 307 if (RE 442 processGOTRelocation(const RelocationEntry &RE, RelocationValueRef &Value, StubMap &Stubs) processGOTRelocation() argument 485 MachO::any_relocation_info RE = processSubtractRelocation() local [all...] |
H A D | RuntimeDyldCOFFI386.h | 88 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); 89 addRelocationForSymbol(RE, TargetName); 104 RelocationEntry RE = variable 107 addRelocationForSection(RE, TargetSectionID); 111 RelocationEntry RE = variable 113 addRelocationForSection(RE, TargetSectionID); 117 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, variable 119 addRelocationForSection(RE, TargetSectionID); 131 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { 132 const auto Section = Sections[RE [all...] |
H A D | RuntimeDyldMachOARM.h | 63 Expected<int64_t> decodeAddend(const RelocationEntry &RE) const { in decodeAddend() 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)); 161 if (auto AddendOrErr = decodeAddend(RE)) 162 RE.Addend = *AddendOrErr; 165 RE.IsTargetThumbFunc = TargetIsLocalThumbFunc; 168 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToI 305 processBranchRelocation(const RelocationEntry &RE, const RelocationValueRef &Value, StubMap &Stubs) processBranchRelocation() argument 350 MachO::any_relocation_info RE = processHALFSECTDIFFRelocation() local [all...] |
H A D | RuntimeDyldMachOX86_64.h | 50 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); 51 RE.Addend = memcpyAddend(RE); 53 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) 59 if (!IsExtern && RE.IsPCRel) 60 makeValueAddendPCRel(Value, RelI, 1 << RE.Size); 72 if (RE.RelType == MachO::X86_64_RELOC_GOT || 73 RE.RelType == MachO::X86_64_RELOC_GOT_LOAD) 74 processGOTRelocation(RE, Value, Stubs); 76 RE 129 processGOTRelocation(const RelocationEntry &RE, RelocationValueRef &Value, StubMap &Stubs) processGOTRelocation() argument 163 MachO::any_relocation_info RE = processSubtractRelocation() local [all...] |
H A D | RuntimeDyldMachOI386.h | 67 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); 68 RE.Addend = memcpyAddend(RE); 70 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) 80 // if (IsExtern && RE.IsPCRel) { 85 if (RE.IsPCRel) 86 makeValueAddendPCRel(Value, RelI, 1 << RE.Size); 88 RE.Addend = Value.Offset; 91 addRelocationForSymbol(RE, Value.SymbolName); 93 addRelocationForSection(RE, Valu 151 MachO::any_relocation_info RE = processSECTDIFFRelocation() local [all...] |
H A 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); 230 addRelocationForSymbol(RE, TargetName); 239 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend); 240 addRelocationForSection(RE, TargetSectionID); 245 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { 246 const auto Section = Sections[RE.SectionID]; 247 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); 248 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE [all...] |
H A 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 in resolveRelocation() 29 evaluateRelocation(const RelocationEntry &RE, uint64_t Value, uint64_t Addend) evaluateRelocation() argument 41 applyRelocation(const RelocationEntry &RE, uint64_t Value) applyRelocation() argument [all...] |
H A D | RuntimeDyldCOFFX86_64.h | 66 // The target location for the relocation is described by RE.SectionID and 67 // RE.Offset. RE.SectionID can be used to find the SectionEntry. Each 83 // the symbol resides (RE.Addend provides additional information about the 86 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { 87 const SectionEntry &Section = Sections[RE.SectionID]; 88 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); 90 switch (RE.RelType) { 98 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset); 101 uint64_t Delta = 4 + (RE [all...] |
H A D | RuntimeDyldELFMips.h | 28 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override; 42 /// \param RE The relocation to be resolved 44 uint64_t evaluateRelocation(const RelocationEntry &RE, uint64_t Value, 48 /// \param RE The relocation to be resolved 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/ |
H A 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, ObjSectionToIDMa in getRelocationValueRef() 97 getRelocationValueRef( const ObjectFile &BaseTObj, const relocation_iterator &RI, const RelocationEntry &RE, ObjSectionToIDMap &ObjSectionToID) getRelocationValueRef() argument 148 dumpRelocationToResolve(const RelocationEntry &RE, uint64_t Value) const dumpRelocationToResolve() argument [all...] |
H A D | RuntimeDyldELF.cpp | 907 // The target location for the relocation is described by RE.SectionID and 908 // RE.Offset. RE.SectionID can be used to find the SectionEntry. Each 924 // the symbol resides (RE.Addend provides additional information about the 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 in resolveRelocation() 1723 RelocationEntry RE = processRelocationRef() local 1736 RelocationEntry RE = processRelocationRef() local 1824 RelocationEntry RE = findOrAllocGOTEntry() local [all...] |
H A D | RuntimeDyldMachO.h | 56 /// addend size and offset are taken from the corresponding fields of the RE). 57 int64_t memcpyAddend(const RelocationEntry &RE) const; 93 /// immediate (held in RE.Addend). 100 const RelocationEntry &RE, 108 /// Dump information about the relocation entry (RE) and resolved value. 109 void dumpRelocationToResolve(const RelocationEntry &RE, uint64_t Value) const;
|
/third_party/googletest/googletest/test/ |
H A D | googletest-port-test.cc | 405 // Defines StringTypes as the list of all string types that class RE 411 // Tests RE's implicit constructors. 413 const RE empty(TypeParam("")); in TYPED_TEST() 416 const RE simple(TypeParam("hello")); in TYPED_TEST() 419 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST() 423 // Tests that RE's constructors reject invalid regular expressions. 426 { const RE invalid(TypeParam("?")); }, in TYPED_TEST() 430 // Tests RE::FullMatch(). 432 const RE empty(TypeParam("")); in TYPED_TEST() 433 EXPECT_TRUE(RE in TYPED_TEST() [all...] |
/third_party/rust/crates/regex/bench/src/ |
H A 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 [all...] |
/third_party/googletest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 180 // the above RE\b(s) are mutually exclusive. 221 // RE - a simple regular expression class using 882 // Defines RE. 886 // This is almost `using RE = ::RE2`, except it is copy-constructible, and it 889 class GTEST_API_ RE { class 891 RE(absl::string_view regex) : regex_(regex) {} // NOLINT in RE() function in testing::internal::RE 892 RE(const char* regex) : RE(absl::string_view(regex)) {} // NOLINT in RE() function in testing::internal::RE 893 RE(const std::string& regex) : RE(abs in RE() function in testing::internal::RE 894 RE(const RE& other) : RE(other.pattern()) {} RE() function in testing::internal::RE 913 class GTEST_API_ RE { global() class 917 RE(const RE& other) { Init(other.pattern()); } RE() function in testing::internal::RE 920 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT RE() function in testing::internal::RE 922 RE(const char* regex) { Init(regex); } // NOLINT RE() function in testing::internal::RE [all...] |
/third_party/node/deps/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 180 // the above RE\b(s) are mutually exclusive. 232 // RE - a simple regular expression class using 951 // Defines RE. 955 // This is almost `using RE = ::RE2`, except it is copy-constructible, and it 958 class GTEST_API_ RE { class 960 RE(absl::string_view regex) : regex_(regex) {} // NOLINT in RE() function in testing::internal::RE 961 RE(const char* regex) : RE(absl::string_view(regex)) {} // NOLINT in RE() function in testing::internal::RE 962 RE(const std::string& regex) : RE(abs in RE() function in testing::internal::RE 963 RE(const RE& other) : RE(other.pattern()) {} RE() function in testing::internal::RE 984 class GTEST_API_ RE { global() class 988 RE(const RE& other) { Init(other.pattern()); } RE() function in testing::internal::RE 991 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT RE() function in testing::internal::RE 993 RE(const char* regex) { Init(regex); } // NOLINT RE() function in testing::internal::RE [all...] |
/third_party/googletest/googletest/src/ |
H A D | gtest-port.cc | 660 // Implements RE. Currently only needed for death tests. 662 RE::~RE() { in ~RE() 675 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() 684 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() 691 // Initializes an RE from its string representation. 692 void RE::Init(const char* regex) { in Init() 921 // Implements the RE clas [all...] |
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest-port.cc | 704 // Implements RE. Currently only needed for death tests. 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() 735 // Initializes an RE from its string representation. 736 void RE::Init(const char* regex) { in Init() 960 // Implements the RE clas [all...] |
/third_party/node/deps/googletest/src/ |
H A D | gtest-port.cc | 666 // Implements RE. Currently only needed for death tests. 668 RE::~RE() { in ~RE() 680 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() 689 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() 696 // Initializes an RE from its string representation. 697 void RE::Init(const char* regex) { in Init() 937 // Implements the RE clas [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | GCMetadata.cpp | 114 RE = FD->roots_end(); in runOnFunction() 115 RI != RE; ++RI) in runOnFunction() 126 RE = FD->live_end(PI); in runOnFunction() 129 if (++RI == RE) in runOnFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
H A 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() 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() 145 getPlainRelocationPCRel(const MachOObjectFile &O, const MachO::any_relocation_info &RE) getPlainRelocationPCRel() argument 157 getPlainRelocationLength(const MachOObjectFile &O, const MachO::any_relocation_info &RE) getPlainRelocationLength() argument 165 getScatteredRelocationLength(const MachO::any_relocation_info &RE) getScatteredRelocationLength() argument 169 getPlainRelocationType(const MachOObjectFile &O, const MachO::any_relocation_info &RE) getPlainRelocationType() argument 2123 MachO::any_relocation_info RE = getRelocation(Rel); getRelocationOffset() local 2129 MachO::any_relocation_info RE = getRelocation(Rel); getRelocationSymbol() local 2154 MachO::any_relocation_info RE = getRelocation(Rel); getRelocationType() local 2269 MachO::any_relocation_info RE = getRelocation(Rel); getRelocationLength() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
H A 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) cons [all...] |
/third_party/mesa3d/src/gtest/include/gtest/ |
H A 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/rust/crates/once_cell/examples/ |
H A D | regex.rs | 7 static RE: once_cell::sync::OnceCell<regex::Regex> = once_cell::sync::OnceCell::new(); consts 8 RE.get_or_init(|| regex::Regex::new($re).unwrap())
|