Lines Matching refs:w
261 unsigned w; /* current window position */ variable
272 b = k = w = 0; /* initialize bit buffer, window */
287 redirSlide[w++] = (uch)t->v.n;
288 if (w == wszimpl)
290 if ((retval = flush(__G__ redirSlide, (ulg)w, 0)) != 0)
292 w = u = 0;
302 d = w - d - t->v.n; /* construct offset */
320 e = wszimpl - (d > w ? d : w);
323 e = wszimpl - ((d &= wszimpl-1) > w ? d : w);
326 if (u && w <= d)
328 memzero(redirSlide + w, e);
329 w += e;
334 if (w - d >= e) /* (this test assumes unsigned comparison) */
336 memcpy(redirSlide + w, redirSlide + d, e);
337 w += e;
343 redirSlide[w++] = redirSlide[d++];
345 if (w == wszimpl)
347 if ((retval = flush(__G__ redirSlide, (ulg)w, 0)) != 0)
349 w = u = 0;
356 if ((retval = flush(__G__ redirSlide, (ulg)w, 0)) != 0)
379 unsigned w; /* current window position */ variable
390 b = k = w = 0; /* initialize bit buffer, window */
404 redirSlide[w++] = (uch)b;
405 if (w == wszimpl)
407 if ((retval = flush(__G__ redirSlide, (ulg)w, 0)) != 0)
409 w = u = 0;
420 d = w - d - t->v.n; /* construct offset */
438 e = wszimpl - (d > w ? d : w);
441 e = wszimpl - ((d &= wszimpl-1) > w ? d : w);
444 if (u && w <= d)
446 memzero(redirSlide + w, e);
447 w += e;
452 if (w - d >= e) /* (this test assumes unsigned comparison) */
454 memcpy(redirSlide + w, redirSlide + d, e);
455 w += e;
461 redirSlide[w++] = redirSlide[d++];
463 if (w == wszimpl)
465 if ((retval = flush(__G__ redirSlide, (ulg)w, 0)) != 0)
467 w = u = 0;
474 if ((retval = flush(__G__ redirSlide, (ulg)w, 0)) != 0)