Lines Matching refs:ef_buffer
464 zip_buffer_t *ef_buffer; in _zip_dirent_read() local
474 if ((ef_buffer = _zip_buffer_new((zip_uint8_t *)ef, got_len)) == NULL) { in _zip_dirent_read()
483 zde->uncomp_size = _zip_buffer_get_64(ef_buffer); in _zip_dirent_read()
487 (void)_zip_buffer_skip(ef_buffer, 8); /* error is caught by _zip_buffer_eof() call */ in _zip_dirent_read()
490 zde->comp_size = _zip_buffer_get_64(ef_buffer); in _zip_dirent_read()
493 zde->offset = _zip_buffer_get_64(ef_buffer); in _zip_dirent_read()
498 if (!_zip_buffer_eof(ef_buffer)) { in _zip_dirent_read()
500 _zip_buffer_free(ef_buffer); in _zip_dirent_read()
506 _zip_buffer_free(ef_buffer); in _zip_dirent_read()
658 zip_buffer_t *ef_buffer = _zip_buffer_new(ef_zip64, sizeof(ef_zip64)); in _zip_dirent_write() local
659 if (ef_buffer == NULL) { in _zip_dirent_write()
667 _zip_buffer_put_64(ef_buffer, de->uncomp_size); in _zip_dirent_write()
668 _zip_buffer_put_64(ef_buffer, de->comp_size); in _zip_dirent_write()
674 _zip_buffer_put_64(ef_buffer, de->uncomp_size); in _zip_dirent_write()
677 _zip_buffer_put_64(ef_buffer, de->comp_size); in _zip_dirent_write()
680 _zip_buffer_put_64(ef_buffer, de->offset); in _zip_dirent_write()
685 if (!_zip_buffer_ok(ef_buffer)) { in _zip_dirent_write()
687 _zip_buffer_free(ef_buffer); in _zip_dirent_write()
692 …ef64 = _zip_ef_new(ZIP_EF_ZIP64, (zip_uint16_t)(_zip_buffer_offset(ef_buffer)), ef_zip64, ZIP_EF_B… in _zip_dirent_write()
693 _zip_buffer_free(ef_buffer); in _zip_dirent_write()