Home
last modified time | relevance | path

Searched refs:uncompressed_buffer (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_zip.c185 unsigned char *uncompressed_buffer; member
1185 const void *uncompressed_buffer = NULL; in zip_read_local_file_header() local
1192 status = zip_read_data_deflate(a, &uncompressed_buffer, in zip_read_local_file_header()
1200 status = zip_read_data_zipx_lzma_alone(a, &uncompressed_buffer, in zip_read_local_file_header()
1209 p = uncompressed_buffer; in zip_read_local_file_header()
1737 free(zip->uncompressed_buffer); in zipx_xz_init()
1740 zip->uncompressed_buffer = malloc(zip->uncompressed_buffer_size); in zipx_xz_init()
1741 if (zip->uncompressed_buffer == NULL) { in zipx_xz_init()
1848 if(!zip->uncompressed_buffer) { in zipx_lzma_alone_init()
1850 zip->uncompressed_buffer = malloc(zip->uncompressed_buffer_size); in zipx_lzma_alone_init()
[all …]
H A Darchive_read_support_format_cab.c290 unsigned char *uncompressed_buffer; member
1417 if (cab->uncompressed_buffer == NULL) { in cab_read_ahead_cfdata_deflate()
1419 cab->uncompressed_buffer in cab_read_ahead_cfdata_deflate()
1421 if (cab->uncompressed_buffer == NULL) { in cab_read_ahead_cfdata_deflate()
1431 d = cab->uncompressed_buffer + cfdata->read_offset; in cab_read_ahead_cfdata_deflate()
1473 cab->uncompressed_buffer + cab->stream.total_out; in cab_read_ahead_cfdata_deflate()
1591 cab->uncompressed_buffer, cfdata->uncompressed_size); in cab_read_ahead_cfdata_deflate()
1596 d = cab->uncompressed_buffer + cfdata->read_offset; in cab_read_ahead_cfdata_deflate()
1646 if (cab->uncompressed_buffer == NULL) { in cab_read_ahead_cfdata_lzx()
1648 cab->uncompressed_buffer in cab_read_ahead_cfdata_lzx()
[all …]
H A Darchive_read_support_format_iso9660.c229 unsigned char *uncompressed_buffer; member
1551 if (zisofs->uncompressed_buffer != NULL) in zisofs_read_data()
1552 free(zisofs->uncompressed_buffer); in zisofs_read_data()
1553 zisofs->uncompressed_buffer = malloc(xsize); in zisofs_read_data()
1554 if (zisofs->uncompressed_buffer == NULL) { in zisofs_read_data()
1678 memset(zisofs->uncompressed_buffer, 0, in zisofs_read_data()
1687 zisofs->stream.next_out = zisofs->uncompressed_buffer; in zisofs_read_data()
1708 *buff = zisofs->uncompressed_buffer; in zisofs_read_data()
1818 free(iso9660->entry_zisofs.uncompressed_buffer); in archive_read_format_iso9660_cleanup()
H A Darchive_read_support_format_7zip.c293 unsigned char *uncompressed_buffer; member
1202 free(zip->uncompressed_buffer); in archive_read_format_7zip_cleanup()
3467 if (zip->uncompressed_buffer == NULL) { in extract_pack_stream()
3473 zip->uncompressed_buffer = in extract_pack_stream()
3475 if (zip->uncompressed_buffer == NULL) { in extract_pack_stream()
3491 zip->uncompressed_buffer; in extract_pack_stream()
3504 p = realloc(zip->uncompressed_buffer, new_size); in extract_pack_stream()
3510 zip->uncompressed_buffer = (unsigned char *)p; in extract_pack_stream()
3517 memmove(zip->uncompressed_buffer, in extract_pack_stream()
3518 zip->uncompressed_buffer + used, in extract_pack_stream()
[all …]
H A Darchive_write_disk_posix.c303 char *uncompressed_buffer; member
1278 zr = uncompress((Bytef *)a->uncompressed_buffer, in hfs_decompress()
1287 b = (unsigned char *)a->uncompressed_buffer; in hfs_decompress()
1516 if (a->uncompressed_buffer == NULL) { in hfs_write_decmpfs_block()
1523 a->uncompressed_buffer = new_block; in hfs_write_decmpfs_block()
1565 memcpy(a->uncompressed_buffer + in hfs_write_decmpfs_block()
1568 buffer_to_write = a->uncompressed_buffer; in hfs_write_decmpfs_block()
2670 free(a->uncompressed_buffer); in _archive_write_disk_free()