Searched refs:LocalFileHeader (Results 1 – 3 of 3) sorted by relevance
204 size_t buffLen = MAX_FILE_NAME + sizeof(LocalFileHeader) + sizeof(DataDescriptor) in ParseFileEntries()257 std::vector<uint8_t> buff(MAX_FILE_NAME + sizeof(LocalFileHeader) + ZIP_PKG_ALIGNMENT_DEF); in Pack()260 buff.data() + sizeof(LocalFileHeader), buff.capacity() in Pack()263 size_t headerLen = nameLen + sizeof(LocalFileHeader); in Pack()284 ret = EncodeLocalFileHeader(buff.data(), sizeof(LocalFileHeader), hasDataDesc, nameLen); in Pack()349 if (bufferLen < sizeof(LocalFileHeader)) { in EncodeLocalFileHeader()354 LocalFileHeader* header = reinterpret_cast<LocalFileHeader*>(buffer); in EncodeLocalFileHeader()470 uint16_t flags = ReadLE16(data.buffer + offsetof(LocalFileHeader, flags)); in DecodeLocalFileHeaderCheck()471 uint32_t crc32 = ReadLE32(data.buffer + offsetof(LocalFileHeader, crc)); in DecodeLocalFileHeaderCheck()472 uint32_t packedSize = ReadLE32(data.buffer + offsetof(LocalFileHeader, compressedSize)); in DecodeLocalFileHeaderCheck()[all …]
36 struct __attribute__((packed)) LocalFileHeader { struct
139 int32_t buffLen = MAX_FILE_NAME + sizeof(LocalFileHeader) + sizeof(DataDescriptor) + in TestBigZipEntry()