Searched refs:ParentData (Results 1 – 2 of 2) sorted by relevance
49 StringRef ParentData = Parent->getData(); in ObjectForArch() local51 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() local77 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() local94 ObjectData = ParentData.substr(Header.offset, Header.size); in getAsArchive()[all …]
50 StringRef ParentData = Parent->getData(); in ObjectForArch() local52 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() local73 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() local93 ObjectData = ParentData.substr(Header.offset, Header.size); in getAsArchive()95 ObjectData = ParentData.substr(Header64.offset, Header64.size); in getAsArchive()