Searched refs:bytes_per_block (Results 1 - 15 of 15) sorted by relevance

/freebsd-9.3-release/contrib/libarchive/cpio/
H A Dcpio.h53 int bytes_per_block; /* -b block_size */ member in struct:cpio
H A Dcpio.c173 cpio->bytes_per_block = 512;
188 cpio->bytes_per_block = 5120;
191 cpio->bytes_per_block = atoi(cpio->optarg);
192 if (cpio->bytes_per_block <= 0)
509 archive_write_set_bytes_per_block(cpio->archive, cpio->bytes_per_block);
834 if (archive_read_open_file(a, cpio->filename, cpio->bytes_per_block))
931 if (archive_read_open_file(a, cpio->filename, cpio->bytes_per_block))
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_write_private.h62 int bytes_per_block; member in struct:archive_write
H A Darchive_write_set_compression_bzip2.c136 state->compressed_buffer_size = a->bytes_per_block;
272 tocopy = a->bytes_per_block -
273 (state->total_in % a->bytes_per_block);
274 while (tocopy > 0 && tocopy < (unsigned)a->bytes_per_block) {
296 target_block_length = a->bytes_per_block;
302 if (target_block_length > a->bytes_per_block)
303 target_block_length = a->bytes_per_block;
H A Darchive_write_set_compression_xz.c191 * max(bytes_per_block, 65536), but the code can't handle that yet.
193 state->compressed_buffer_size = a->bytes_per_block;
305 tocopy = a->bytes_per_block -
306 (state->total_in % a->bytes_per_block);
307 while (tocopy > 0 && tocopy < (unsigned)a->bytes_per_block) {
329 target_block_length = a->bytes_per_block;
335 if (target_block_length > a->bytes_per_block)
336 target_block_length = a->bytes_per_block;
H A Darchive_write_set_compression_compress.c143 if (a->bytes_per_block < 4) {
163 state->compressed_buffer_size = a->bytes_per_block;
441 while (state->in_count % a->bytes_per_block != 0) {
442 tocopy = a->bytes_per_block -
443 (state->in_count % a->bytes_per_block);
466 target_block_length = a->bytes_per_block;
472 if (target_block_length > a->bytes_per_block)
473 target_block_length = a->bytes_per_block;
H A Darchive_write_set_compression_gzip.c136 * that compressed_buffer_size == bytes_per_block. Removing
142 if (a->bytes_per_block < 10) {
158 * max(bytes_per_block, 65536), but the code can't handle that yet.
160 state->compressed_buffer_size = a->bytes_per_block;
310 tocopy = a->bytes_per_block -
311 (state->total_in % a->bytes_per_block);
312 while (tocopy > 0 && tocopy < (unsigned)a->bytes_per_block) {
370 target_block_length = a->bytes_per_block;
376 if (target_block_length > a->bytes_per_block)
377 target_block_length = a->bytes_per_block;
[all...]
H A Darchive_write_set_compression_none.c91 state->buffer_size = a->bytes_per_block;
229 target_block_length = a->bytes_per_block;
235 if (target_block_length > a->bytes_per_block)
236 target_block_length = a->bytes_per_block;
H A Darchive_write.c105 a->bytes_per_block = 10240;
240 archive_write_set_bytes_per_block(struct archive *_a, int bytes_per_block) argument
245 a->bytes_per_block = bytes_per_block;
258 return (a->bytes_per_block);
H A Darchive_write_set_compression_program.c130 state->child_buf_len = a->bytes_per_block;
H A Darchive.h522 int bytes_per_block);
/freebsd-9.3-release/contrib/libarchive/tar/
H A Dbsdtar.h53 int bytes_per_block; /* -b block_size */ member in struct:bsdtar
H A Dwrite.c196 if (bsdtar->bytes_per_block != 0) {
197 archive_write_set_bytes_per_block(a, bsdtar->bytes_per_block);
199 bsdtar->bytes_per_block);
370 bsdtar->bytes_per_block != 0 ? bsdtar->bytes_per_block :
406 if (bsdtar->bytes_per_block != 0) {
407 archive_write_set_bytes_per_block(a, bsdtar->bytes_per_block);
409 bsdtar->bytes_per_block);
H A Dread.c165 bsdtar->bytes_per_block != 0 ? bsdtar->bytes_per_block :
H A Dbsdtar.c246 bsdtar->bytes_per_block = 512 * t;

Completed in 91 milliseconds