Lines Matching refs:local_header
214 std::vector<char> local_header; variable
215 local_header += "PK"; // first part of sig
216 local_header += (uint16_t)0x0403; // second part of sig
217 local_header += (uint16_t)20; // min version to extract
218 local_header += (uint16_t)0; // general purpose bit flag
219 local_header += (uint16_t)0; // compression method
220 local_header += (uint16_t)0; // file last mod time
221 local_header += (uint16_t)0; // file last mod date
222 local_header += (uint32_t)crc; // crc
223 local_header += (uint32_t)nbytes; // compressed size
224 local_header += (uint32_t)nbytes; // uncompressed size
225 local_header += (uint16_t)fname.size(); // fname length
226 local_header += (uint16_t)0; // extra field length
227 local_header += fname;
233 global_header.insert(global_header.end(), local_header.begin() + 4, local_header.begin() + 30);
252 …(uint32_t)(global_header_offset + nbytes + local_header.size()); // offset of start of global head…
257 fwrite(&local_header[0], sizeof(char), local_header.size(), fp);