Home
last modified time | relevance | path

Searched refs:origsize (Results 1 – 3 of 3) sorted by relevance

/freebsd/sbin/hastd/
H A Dhast_compression.c127 uint32_t origsize; in hast_lzf_compress() local
130 origsize = *sizep; in hast_lzf_compress()
132 if (origsize <= HAST_LZF_COMPRESS_MIN) in hast_lzf_compress()
135 newsize = sizeof(origsize) + origsize - HAST_LZF_COMPRESS_MIN; in hast_lzf_compress()
142 newsize = lzf_compress(data, *sizep, newbuf + sizeof(origsize), in hast_lzf_compress()
143 newsize - sizeof(origsize)); in hast_lzf_compress()
148 origsize = htole32(origsize); in hast_lzf_compress()
149 bcopy(&origsize, newbuf, sizeof(origsize)); in hast_lzf_compress()
151 *sizep = sizeof(origsize) + newsize; in hast_lzf_compress()
159 uint32_t origsize; in hast_lzf_decompress() local
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_lha.c160 int64_t origsize; /* original file size */ member
553 lha->origsize = 0; in archive_read_format_lha_read_header()
720 archive_entry_set_size(entry, lha->origsize); in archive_read_format_lha_read_header()
820 lha->origsize = archive_le32dec(p + H0_ORIG_SIZE_OFFSET); in lha_read_file_header_0()
920 lha->origsize = archive_le32dec(p + H1_ORIG_SIZE_OFFSET); in lha_read_file_header_1()
1011 lha->origsize = archive_le32dec(p + H2_ORIG_SIZE_OFFSET); in lha_read_file_header_2()
1094 lha->origsize = archive_le32dec(p + H3_ORIG_SIZE_OFFSET); in lha_read_file_header_3()
1354 lha->origsize = archive_le64dec(extdheader); in lha_read_file_extended_header()
1355 if (lha->compsize < 0 || lha->origsize < 0) in lha_read_file_extended_header()
/freebsd/sbin/savecore/
H A Dsavecore.c621 off_t dmpcnt, origsize; in DoRegularFile() local
626 origsize = dumpsize; in DoRegularFile()
688 (double)dumpsize / (double)origsize))); in DoRegularFile()