reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
81 Swap.reset(new SwappedData); 90 if (Swap) { 93 Swap->Hdr = ExpectedHdr.get(); 96 Hdr = &Swap->Hdr; 105 if (!Swap) { 143 Swap->AddrOffsets.resize(Hdr->NumAddresses * Hdr->AddrOffSize); 146 if (!Data.getU8(&Offset, Swap->AddrOffsets.data(), Hdr->NumAddresses)) 152 reinterpret_cast<uint16_t *>(Swap->AddrOffsets.data()), 159 reinterpret_cast<uint32_t *>(Swap->AddrOffsets.data()), 166 reinterpret_cast<uint64_t *>(Swap->AddrOffsets.data()), 171 AddrOffsets = ArrayRef<uint8_t>(Swap->AddrOffsets); 175 Swap->AddrInfoOffsets.resize(Hdr->NumAddresses); 176 if (Data.getU32(&Offset, Swap->AddrInfoOffsets.data(), Hdr->NumAddresses)) 177 AddrInfoOffsets = ArrayRef<uint32_t>(Swap->AddrInfoOffsets); 184 Swap->Files.resize(NumFiles); 185 if (Data.getU32(&Offset, &Swap->Files[0].Dir, NumFiles*2)) 186 Files = ArrayRef<FileEntry>(Swap->Files);