Home
last modified time | relevance | path

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

/netbsd/src/common/dist/zlib/
Dtrees.c861 ulg stored_len, int last) { in _tr_stored_block() argument
864 put_short(s, (ush)stored_len); in _tr_stored_block()
865 put_short(s, (ush)~stored_len); in _tr_stored_block()
866 if (stored_len) in _tr_stored_block()
867 zmemcpy(s->pending_buf + s->pending, (Bytef *)buf, stored_len); in _tr_stored_block()
868 s->pending += stored_len; in _tr_stored_block()
871 s->compressed_len += (stored_len + 4) << 3; in _tr_stored_block()
873 s->bits_sent += stored_len << 3; in _tr_stored_block()
998 ulg stored_len, int last) { argument
1031 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,
[all …]
Ddeflate.h310 ulg stored_len, int last);
314 ulg stored_len, int last);
/netbsd/src/external/cddl/osnet/dist/uts/common/zmod/
Dtrees.c867 void _tr_stored_block(s, buf, stored_len, eof) in _tr_stored_block() argument
870 ulg stored_len; /* length of input block */
876 s->compressed_len += (stored_len + 4) << 3;
878 copy_block(s, buf, (unsigned)stored_len, 1); /* with header */
921 void _tr_flush_block(s, buf, stored_len, eof) in _tr_flush_block() argument
924 ulg stored_len; /* length of input block */
934 if (stored_len > 0 && s->strm->data_type == Z_UNKNOWN)
959 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,
966 opt_lenb = static_lenb = stored_len + 5; /* force a stored block */
972 if (stored_len+4 <= opt_lenb && buf != (char*)0) {
[all …]
Ddeflate.h284 void _tr_flush_block OF((deflate_state *s, charf *buf, ulg stored_len,
287 void _tr_stored_block OF((deflate_state *s, charf *buf, ulg stored_len,
/netbsd/src/sys/net/
Dzlib.c557 void _tr_flush_block(deflate_state *s, charf *buf, ulg stored_len,
560 void _tr_stored_block(deflate_state *s, charf *buf, ulg stored_len,
2956 ulg stored_len, /* length of input block */ in _tr_stored_block() argument
2962 s->compressed_len += (stored_len + 4) << 3; in _tr_stored_block()
2964 copy_block(s, buf, (unsigned)stored_len, 1); /* with header */ in _tr_stored_block()
3019 ulg stored_len, /* length of input block */ in _tr_flush_block() argument
3053 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len, in _tr_flush_block()
3060 opt_lenb = static_lenb = stored_len + 5; /* force a stored block */ in _tr_flush_block()
3066 if (stored_len+4 <= opt_lenb && buf != (char*)0) { in _tr_flush_block()
3075 _tr_stored_block(s, buf, stored_len, eof); in _tr_flush_block()