• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/archival/

Lines Matching refs:formatted

48 	} formatted ATTRIBUTE_PACKED;
72 if (zip_header->formatted.method == 0) {
74 off_t size = zip_header->formatted.ucmpsize;
80 /* err = */ inflate_unzip(&res, zip_header->formatted.cmpsize, src_fd, dst_fd);
83 if (zip_header->formatted.crc32 != (res.crc ^ 0xffffffffL)) {
88 if (zip_header->formatted.ucmpsize != res.bytes_out) {
226 zip_header.formatted.version = SWAP_LE32(zip_header.formatted.version);
227 zip_header.formatted.flags = SWAP_LE32(zip_header.formatted.flags);
228 zip_header.formatted.method = SWAP_LE32(zip_header.formatted.method);
229 zip_header.formatted.modtime = SWAP_LE32(zip_header.formatted.modtime);
230 zip_header.formatted.moddate = SWAP_LE32(zip_header.formatted.moddate);
231 zip_header.formatted.crc32 = SWAP_LE32(zip_header.formatted.crc32);
232 zip_header.formatted.cmpsize = SWAP_LE32(zip_header.formatted.cmpsize);
233 zip_header.formatted.ucmpsize = SWAP_LE32(zip_header.formatted.ucmpsize);
234 zip_header.formatted.filename_len = SWAP_LE32(zip_header.formatted.filename_len);
235 zip_header.formatted.extra_len = SWAP_LE32(zip_header.formatted.extra_len);
236 if ((zip_header.formatted.method != 0) && (zip_header.formatted.method != 8)) {
237 bb_error_msg_and_die("unsupported compression method %d", zip_header.formatted.method);
242 dst_fn = xzalloc(zip_header.formatted.filename_len + 1);
243 xread(src_fd, dst_fn, zip_header.formatted.filename_len);
246 unzip_skip(src_fd, zip_header.formatted.extra_len);
260 total_size += zip_header.formatted.ucmpsize;
263 unsigned int dostime = zip_header.formatted.modtime | (zip_header.formatted.moddate << 16);
265 zip_header.formatted.ucmpsize,
345 unzip_skip(src_fd, zip_header.formatted.cmpsize);
365 if (zip_header.formatted.flags & 4) {