• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/

Lines Matching refs:bstrm

205     local bz_stream bstrm;      /* zlib's data interface structure */
1680 bstrm.bzalloc = NULL;
1681 bstrm.bzfree = NULL;
1682 bstrm.opaque = NULL;
1685 err = BZ2_bzCompressInit(&bstrm, pack_level, 0, 30);
1712 err = BZ2_bzCompressEnd(&bstrm);
1766 bstrm.next_in = (Bytef *)window;
1771 bstrm.next_in = (char *)f_ibuf;
1773 bstrm.avail_in = file_read(bstrm.next_in, ibuf_sz);
1776 if (!is_text_buf(bstrm.next_in, ibuf_sz))
1779 if (bstrm.avail_in < ibuf_sz) {
1780 unsigned more = file_read(bstrm.next_in + bstrm.avail_in,
1781 (ibuf_sz - bstrm.avail_in));
1785 bstrm.avail_in += more;
1788 bstrm.next_out = (char *)f_obuf;
1789 bstrm.avail_out = OBUF_SZ;
1792 while (bstrm.avail_in != 0 && bstrm.avail_in != (unsigned) EOF) {
1793 err = BZ2_bzCompress(&bstrm, BZ_RUN);
1798 if (bstrm.avail_out == 0) {
1802 bstrm.next_out = (char *)f_obuf;
1803 bstrm.avail_out = OBUF_SZ;
1806 if (bstrm.avail_in == 0) {
1809 while((unsigned)((bstrm.total_in_lo32
1810 + (((zoff_t)bstrm.total_in_hi32) << 32))
1813 while((unsigned)(bstrm.total_in_lo32 / (ulg)WSIZE) > mrk_cnt) {
1844 bstrm.next_in = (char *)f_ibuf;
1846 bstrm.next_in = (char *)f_ibuf;
1848 bstrm.avail_in = file_read(bstrm.next_in, ibuf_sz);
1851 if (!is_text_buf(bstrm.next_in, ibuf_sz))
1867 err = BZ2_bzCompress(&bstrm, BZ_FINISH);
1876 && bstrm.total_out_lo32 >= bstrm.total_in_lo32
1880 unsigned len_out = (unsigned)bstrm.total_in_lo32;
1884 bstrm.total_out_lo32 = (ulg)len_out;
1891 if (bstrm.avail_out < OBUF_SZ) {
1892 unsigned len_out = OBUF_SZ - bstrm.avail_out;
1896 bstrm.next_out = (char *)f_obuf;
1897 bstrm.avail_out = OBUF_SZ;
1909 cmpr_size = (zoff_t)bstrm.total_out_lo32
1910 + (((zoff_t)bstrm.total_out_hi32) << 32);
1912 cmpr_size = (zoff_t)bstrm.total_out_lo32;
1915 if ((err = BZ2_bzCompressEnd(&bstrm)) != BZ_OK)