Home
last modified time | relevance | path

Searched refs:header_bytes (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_lzop.c326 int header_bytes, r; in drive_compressor() local
331 header_bytes = make_header(f); in drive_compressor()
334 header_bytes = 0; in drive_compressor()
344 p + header_bytes + block_info_bytes, &csize, in drive_compressor()
349 p + header_bytes + block_info_bytes, &csize, in drive_compressor()
354 p + header_bytes + block_info_bytes, &csize, in drive_compressor()
365 archive_be32enc(p + header_bytes, (uint32_t)usize); in drive_compressor()
368 archive_be32enc(p + header_bytes + 8, checksum); in drive_compressor()
372 archive_be32enc(p + header_bytes + 4, (uint32_t)csize); in drive_compressor()
374 header_bytes + block_info_bytes + csize); in drive_compressor()
[all …]
H A Darchive_read_support_format_7zip.c1638 if ((p = header_bytes(a, 1)) == NULL) in parse_7zip_uint64()
1699 if ((p = header_bytes(a, 1)) == NULL) in read_Digests()
1757 if ((p = header_bytes(a, 1)) == NULL) in read_PackInfo()
1777 if ((p = header_bytes(a, 1)) == NULL) in read_PackInfo()
1799 if ((p = header_bytes(a, 1)) == NULL) in read_PackInfo()
1893 if ((p = header_bytes( in read_Folder()
1987 if ((p = header_bytes(a, 1)) == NULL) in read_CodersInfo()
2003 if ((p = header_bytes(a, 1)) == NULL) in read_CodersInfo()
2431 if (header_bytes(a, ll) == NULL) in read_Header()
2447 if (header_bytes(a, ll) == NULL) in read_Header()
[all …]
/freebsd-12.1/sys/dev/isci/scil/
H A Dsati_reassign_blocks.c279 U8 header_bytes[4]={0,0,0,0}; in sati_reassign_blocks_initial_processing() local
311 sati_get_data_byte(sequence, scsi_io, index, &header_bytes[index]); in sati_reassign_blocks_initial_processing()
319 data_transfer_length = (header_bytes[2]<<8) + header_bytes[3] + lba_offset; in sati_reassign_blocks_initial_processing()
324 data_transfer_length = (header_bytes[0]<<24) + (header_bytes[1]<<16) + in sati_reassign_blocks_initial_processing()
325 (header_bytes[2]<<8) + header_bytes[3] + lba_offset; in sati_reassign_blocks_initial_processing()
/freebsd-12.1/contrib/subversion/subversion/libsvn_delta/
H A Dsvndiff.c375 apr_size_t header_bytes; member
645 if (db->header_bytes < SVNDIFF_HEADER_SIZE) in write_handler()
647 apr_size_t nheader = SVNDIFF_HEADER_SIZE - db->header_bytes; in write_handler()
650 if (memcmp(buffer, SVNDIFF_V0 + db->header_bytes, nheader) == 0) in write_handler()
652 else if (memcmp(buffer, SVNDIFF_V1 + db->header_bytes, nheader) == 0) in write_handler()
654 else if (memcmp(buffer, SVNDIFF_V2 + db->header_bytes, nheader) == 0) in write_handler()
661 db->header_bytes += nheader; in write_handler()
809 && (db->header_bytes < 4 || db->buffer->len != 0)) in close_handler()
840 db->header_bytes = 0; in svn_txdelta_parse_svndiff()