Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zlib/
H A Dinffast.c62 unsigned wnext; /* window write index */ in inflate_fast() local
89 wnext = state->wnext; in inflate_fast()
198 if (wnext == 0) { /* very common case */ in inflate_fast()
208 else if (wnext < op) { /* wrap around window */ in inflate_fast()
209 from += wsize + wnext - op; in inflate_fast()
210 op -= wnext; in inflate_fast()
217 if (wnext < len) { /* some from start of window */ in inflate_fast()
218 op = wnext; in inflate_fast()
228 from += wnext - op; in inflate_fast()
H A Dinflate.c132 state->wnext = 0; in inflateReset()
269 state->wnext = 0; in updatewindow()
276 state->wnext = 0; in updatewindow()
280 dist = state->wsize - state->wnext; in updatewindow()
282 zmemcpy(state->window + state->wnext, end - copy, dist); in updatewindow()
286 state->wnext = copy; in updatewindow()
290 state->wnext += dist; in updatewindow()
291 if (state->wnext == state->wsize) state->wnext = 0; in updatewindow()
1046 if (copy > state->wnext) { in inflate()
1047 copy -= state->wnext; in inflate()
[all …]
H A Dinflate.h99 unsigned wnext; /* window write index */ member
H A Dinfback.c60 state->wnext = 0; in inflateBackInit_()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_set_format_iso9660.c874 struct idrent *wnext; member
5885 idrent->wnext = idrent->avail = NULL; in idr_register()
5898 idr->wait_list.last = &(idrent->wnext); in idr_register()
5926 for (n = idr->wait_list.first; n != NULL; n = n->wnext) { in idr_resolve()