Home
last modified time | relevance | path

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

12

/external/angle/third_party/zlib/
Dinffast.c69 unsigned wnext; /* window write index */ local
96 wnext = state->wnext;
204 if (wnext == 0) { /* very common case */
214 else if (wnext < op) { /* wrap around window */
215 from += wsize + wnext - op;
216 op -= wnext;
223 if (wnext < len) { /* some from start of window */
224 op = wnext;
234 from += wnext - op;
Dinflate.c153 state->wnext = 0;
418 state->wnext = 0;
425 state->wnext = 0;
429 dist = state->wsize - state->wnext;
431 zmemcpy(state->window + state->wnext, end - copy, dist);
435 state->wnext = copy;
439 state->wnext += dist;
440 if (state->wnext == state->wsize) state->wnext = 0;
1173 if (copy > state->wnext) {
1174 copy -= state->wnext;
[all …]
Dinflate.h98 unsigned wnext; /* window write index */ member
/external/rust/crates/libz-sys/src/zlib/
Dinffast.c65 unsigned wnext; /* window write index */ local
92 wnext = state->wnext;
200 if (wnext == 0) { /* very common case */
210 else if (wnext < op) { /* wrap around window */
211 from += wsize + wnext - op;
212 op -= wnext;
219 if (wnext < len) { /* some from start of window */
220 op = wnext;
230 from += wnext - op;
Dinflate.c153 state->wnext = 0;
417 state->wnext = 0;
424 state->wnext = 0;
428 dist = state->wsize - state->wnext;
430 zmemcpy(state->window + state->wnext, end - copy, dist);
434 state->wnext = copy;
438 state->wnext += dist;
439 if (state->wnext == state->wsize) state->wnext = 0;
1171 if (copy > state->wnext) {
1172 copy -= state->wnext;
[all …]
Dinflate.h98 unsigned wnext; /* window write index */ member
/external/zlib/
Dinffast.c69 unsigned wnext; /* window write index */ local
96 wnext = state->wnext;
204 if (wnext == 0) { /* very common case */
214 else if (wnext < op) { /* wrap around window */
215 from += wsize + wnext - op;
216 op -= wnext;
223 if (wnext < len) { /* some from start of window */
224 op = wnext;
234 from += wnext - op;
Dinflate.c153 state->wnext = 0;
418 state->wnext = 0;
425 state->wnext = 0;
429 dist = state->wsize - state->wnext;
431 zmemcpy(state->window + state->wnext, end - copy, dist);
435 state->wnext = copy;
439 state->wnext += dist;
440 if (state->wnext == state->wsize) state->wnext = 0;
1173 if (copy > state->wnext) {
1174 copy -= state->wnext;
[all …]
Dinflate.h98 unsigned wnext; /* window write index */ member
/external/python/cpython2/Modules/zlib/
Dinffast.c65 unsigned wnext; /* window write index */ local
92 wnext = state->wnext;
200 if (wnext == 0) { /* very common case */
210 else if (wnext < op) { /* wrap around window */
211 from += wsize + wnext - op;
212 op -= wnext;
219 if (wnext < len) { /* some from start of window */
220 op = wnext;
230 from += wnext - op;
Dinflate.c153 state->wnext = 0;
417 state->wnext = 0;
424 state->wnext = 0;
428 dist = state->wsize - state->wnext;
430 zmemcpy(state->window + state->wnext, end - copy, dist);
434 state->wnext = copy;
438 state->wnext += dist;
439 if (state->wnext == state->wsize) state->wnext = 0;
1171 if (copy > state->wnext) {
1172 copy -= state->wnext;
[all …]
Dinflate.h98 unsigned wnext; /* window write index */ member
/external/libwebsockets/win32port/zlib/
Dinffast.c82 unsigned wnext; /* window write index */ local
109 wnext = state->wnext;
217 if (wnext == 0) { /* very common case */
227 else if (wnext < op) { /* wrap around window */
228 from += wsize + wnext - op;
229 op -= wnext;
236 if (wnext < len) { /* some from start of window */
237 op = wnext;
247 from += wnext - op;
Dinflate.c120 state->wnext = 0;
378 state->wnext = 0;
386 state->wnext = 0;
390 dist = state->wsize - state->wnext;
392 zmemcpy(state->window + state->wnext, strm->next_out - copy, dist);
396 state->wnext = copy;
400 state->wnext += dist;
401 if (state->wnext == state->wsize) state->wnext = 0;
1133 if (copy > state->wnext) {
1134 copy -= state->wnext;
[all …]
Dinflate.h95 unsigned wnext; /* window write index */ member
/external/rust/crates/libz-sys/src/zlib-ng/
Dinffast.c79 unsigned wnext; /* window write index */ in zng_inflate_fast() local
145 wnext = state->wnext; in zng_inflate_fast()
239 if (wnext == 0) { /* very common case */ in zng_inflate_fast()
241 } else if (wnext >= op) { /* contiguous in window */ in zng_inflate_fast()
242 from += wnext - op; in zng_inflate_fast()
244 op -= wnext; in zng_inflate_fast()
250 op = wnext; in zng_inflate_fast()
Dinflate.c90 state->wnext = 0; in PREFIX()
216 state->wnext = 0; in inflate_ensure_window()
248 state->wnext = 0; in updatewindow()
251 dist = state->wsize - state->wnext; in updatewindow()
254 memcpy(state->window + state->wnext, end - copy, dist); in updatewindow()
258 state->wnext = copy; in updatewindow()
261 state->wnext += dist; in updatewindow()
262 if (state->wnext == state->wsize) in updatewindow()
263 state->wnext = 0; in updatewindow()
964 if (copy > state->wnext) { in PREFIX()
[all …]
Dinflate.h102 uint32_t wnext; /* window write index */ member
/external/angle/third_party/zlib/contrib/optimizations/
Dinffast_chunk.c90 unsigned wnext; /* window write index */ local
118 wnext = (state->wnext == 0 && whave >= wsize) ? wsize : state->wnext;
250 if (wnext >= op) { /* contiguous in window */
251 from += wnext - op;
254 op -= wnext;
260 op = wnext;
Dinflate.c154 state->wnext = 0;
429 state->wnext = 0;
436 state->wnext = 0;
440 dist = state->wsize - state->wnext;
442 zmemcpy(state->window + state->wnext, end - copy, dist);
446 state->wnext = copy;
450 state->wnext += dist;
451 if (state->wnext == state->wsize) state->wnext = 0;
1184 if (copy > state->wnext) {
1185 copy -= state->wnext;
[all …]
/external/zlib/contrib/optimizations/
Dinffast_chunk.c90 unsigned wnext; /* window write index */ local
118 wnext = (state->wnext == 0 && whave >= wsize) ? wsize : state->wnext;
250 if (wnext >= op) { /* contiguous in window */
251 from += wnext - op;
254 op -= wnext;
260 op = wnext;
Dinflate.c154 state->wnext = 0;
429 state->wnext = 0;
436 state->wnext = 0;
440 dist = state->wsize - state->wnext;
442 zmemcpy(state->window + state->wnext, end - copy, dist);
446 state->wnext = copy;
450 state->wnext += dist;
451 if (state->wnext == state->wsize) state->wnext = 0;
1184 if (copy > state->wnext) {
1185 copy -= state->wnext;
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
DEventCount.h149 Waiter* wnext = w->next.load(std::memory_order_relaxed); in Notify() local
151 if (wnext != nullptr) next = wnext - &waiters_[0]; in Notify()
/external/rust/crates/libz-sys/src/zlib-ng/arch/s390/
Ddfltcc_inflate.c87 param->ho = (state->wnext - state->whave) & ((1 << HB_BITS) - 1); in dfltcc_inflate()
102 state->wnext = (param->ho + param->hl) & ((1 << HB_BITS) - 1); in dfltcc_inflate()
/external/rust/crates/libz-sys/src/zlib/contrib/masmx64/
Dinffas8664.c133 ar.write = state->wnext;

12