Home
last modified time | relevance | path

Searched refs:stored_len (Results 1 – 12 of 12) sorted by relevance

/external/rust/crates/libz-sys/src/zlib-ng/
Dtrees.c593 void Z_INTERNAL zng_tr_stored_block(deflate_state *s, char *buf, uint32_t stored_len, int last) { in zng_tr_stored_block() argument
600 put_short(s, (uint16_t)stored_len); in zng_tr_stored_block()
601 put_short(s, (uint16_t)~stored_len); in zng_tr_stored_block()
604 if (stored_len) { in zng_tr_stored_block()
605 memcpy(s->pending_buf + s->pending, (unsigned char *)buf, stored_len); in zng_tr_stored_block()
606 s->pending += stored_len; in zng_tr_stored_block()
607 cmpr_bits_add(s, stored_len << 3); in zng_tr_stored_block()
608 sent_bits_add(s, stored_len << 3); in zng_tr_stored_block()
633 void Z_INTERNAL zng_tr_flush_block(deflate_state *s, char *buf, uint32_t stored_len, int last) { argument
666 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,
[all …]
Ddeflate.h385 void Z_INTERNAL zng_tr_flush_block(deflate_state *s, char *buf, uint32_t stored_len, int last);
388 void Z_INTERNAL zng_tr_stored_block(deflate_state *s, char *buf, uint32_t stored_len, int last);
/external/rust/crates/libz-sys/src/zlib/
Dtrees.c863 void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last) in _tr_stored_block() argument
866 ulg stored_len; /* length of input block */
871 put_short(s, (ush)stored_len);
872 put_short(s, (ush)~stored_len);
873 zmemcpy(s->pending_buf + s->pending, (Bytef *)buf, stored_len);
874 s->pending += stored_len;
877 s->compressed_len += (stored_len + 4) << 3;
879 s->bits_sent += stored_len<<3;
911 void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last) in _tr_flush_block() argument
914 ulg stored_len; /* length of input block */
[all …]
Ddeflate.h302 ulg stored_len, int last));
306 ulg stored_len, int last));
/external/angle/third_party/zlib/
Dtrees.c863 void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last) in _tr_stored_block() argument
866 ulg stored_len; /* length of input block */
871 put_short(s, (ush)stored_len);
872 put_short(s, (ush)~stored_len);
873 zmemcpy(s->pending_buf + s->pending, (Bytef *)buf, stored_len);
874 s->pending += stored_len;
877 s->compressed_len += (stored_len + 4) << 3;
879 s->bits_sent += stored_len<<3;
911 void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last) in _tr_flush_block() argument
914 ulg stored_len; /* length of input block */
[all …]
Ddeflate.h297 ulg stored_len, int last));
301 ulg stored_len, int last));
/external/zlib/
Dtrees.c863 void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last) in _tr_stored_block() argument
866 ulg stored_len; /* length of input block */
871 put_short(s, (ush)stored_len);
872 put_short(s, (ush)~stored_len);
873 zmemcpy(s->pending_buf + s->pending, (Bytef *)buf, stored_len);
874 s->pending += stored_len;
877 s->compressed_len += (stored_len + 4) << 3;
879 s->bits_sent += stored_len<<3;
911 void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last) in _tr_flush_block() argument
914 ulg stored_len; /* length of input block */
[all …]
Ddeflate.h297 ulg stored_len, int last));
301 ulg stored_len, int last));
/external/python/cpython2/Modules/zlib/
Dtrees.c863 void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last) in _tr_stored_block() argument
866 ulg stored_len; /* length of input block */
871 put_short(s, (ush)stored_len);
872 put_short(s, (ush)~stored_len);
873 zmemcpy(s->pending_buf + s->pending, (Bytef *)buf, stored_len);
874 s->pending += stored_len;
877 s->compressed_len += (stored_len + 4) << 3;
879 s->bits_sent += stored_len<<3;
911 void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last) in _tr_flush_block() argument
914 ulg stored_len; /* length of input block */
[all …]
Ddeflate.h302 ulg stored_len, int last));
306 ulg stored_len, int last));
/external/libwebsockets/win32port/zlib/
Dtrees.c871 void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last) in _tr_stored_block() argument
874 ulg stored_len; /* length of input block */
880 s->compressed_len += (stored_len + 4) << 3;
882 copy_block(s, buf, (unsigned)stored_len, 1); /* with header */
925 void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last) in _tr_flush_block() argument
928 ulg stored_len; /* length of input block */
963 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,
970 opt_lenb = static_lenb = stored_len + 5; /* force a stored block */
976 if (stored_len+4 <= opt_lenb && buf != (char*)0) {
985 _tr_stored_block(s, buf, stored_len, last);
Ddeflate.h296 ulg stored_len, int last));
299 ulg stored_len, int last));