Home
last modified time | relevance | path

Searched refs:ParentData (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Object/
DMachOUniversal.cpp49 StringRef ParentData = Parent->getData(); in ObjectForArch() local
51 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + in ObjectForArch()
54 if (ParentData.size() < Header.offset + Header.size) { in ObjectForArch()
58 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + in ObjectForArch()
61 if (ParentData.size() < Header64.offset + Header64.size) { in ObjectForArch()
74 StringRef ParentData = Parent->getData(); in getAsObjectFile() local
77 ObjectData = ParentData.substr(Header.offset, Header.size); in getAsObjectFile()
79 ObjectData = ParentData.substr(Header64.offset, Header64.size); in getAsObjectFile()
91 StringRef ParentData = Parent->getData(); in getAsArchive() local
94 ObjectData = ParentData.substr(Header.offset, Header.size); in getAsArchive()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DMachOUniversal.cpp50 StringRef ParentData = Parent->getData(); in ObjectForArch() local
52 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + in ObjectForArch()
56 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + in ObjectForArch()
69 StringRef ParentData = Parent->getData(); in getAsObjectFile() local
73 ObjectData = ParentData.substr(Header.offset, Header.size); in getAsObjectFile()
76 ObjectData = ParentData.substr(Header64.offset, Header64.size); in getAsObjectFile()
90 StringRef ParentData = Parent->getData(); in getAsArchive() local
93 ObjectData = ParentData.substr(Header.offset, Header.size); in getAsArchive()
95 ObjectData = ParentData.substr(Header64.offset, Header64.size); in getAsArchive()