Lines Matching full:last
272 /* Copy the compressed data from name, zeroing the last block bit of the last
274 boundary. If clr is false, then the last block becomes the last block of
283 int pos; /* where the "last block" bit is in byte */
284 int last; /* true if processing the last block */
309 /* inflate and copy compressed data, clear last-block bit if requested */
313 last = start[0] & 1;
314 if (last && clr)
342 /* if that was the last block, then done */
343 if (last)
346 /* number of unused bits in last byte */
349 /* find the next last-block bit */
351 /* next last-block bit is in last used byte */
353 last = strm.next_in[-1] & pos;
354 if (last && clr)
358 /* next last-block bit is in next unused byte */
366 last = strm.next_in[0] & 1;
367 if (last && clr)
380 last = in->next[-1];
382 /* already at byte boundary, or last file: write last byte */
383 putc(last, out);
385 /* append empty blocks to last byte */
386 last &= ((0x100 >> pos) - 1); /* assure unused bits are zero */
389 putc(last, out);
398 putc(last | 8, out);
399 last = 0;
401 putc(last | 0x20, out);
402 last = 0;
404 putc(last | 0x80, out);
419 /* write trailer if this is the last gzip file */