Lines Matching refs:gzhead
311 s->gzhead = Z_NULL;
523 strm->state->gzhead = head;
679 if (s->gzhead != Z_NULL) { /* user-supplied gzip header */
681 if (s->gzhead->extra != Z_NULL)
682 wraplen += 2 + s->gzhead->extra_len;
683 str = s->gzhead->name;
688 str = s->gzhead->comment;
693 if (s->gzhead->hcrc)
757 if (s->gzhead->hcrc && s->pending > (beg)) \
855 if (s->gzhead == Z_NULL) {
875 put_byte(s, (s->gzhead->text ? 1 : 0) +
876 (s->gzhead->hcrc ? 2 : 0) +
877 (s->gzhead->extra == Z_NULL ? 0 : 4) +
878 (s->gzhead->name == Z_NULL ? 0 : 8) +
879 (s->gzhead->comment == Z_NULL ? 0 : 16)
881 put_byte(s, (Byte)(s->gzhead->time & 0xff));
882 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff));
883 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff));
884 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff));
888 put_byte(s, s->gzhead->os & 0xff);
889 if (s->gzhead->extra != Z_NULL) {
890 put_byte(s, s->gzhead->extra_len & 0xff);
891 put_byte(s, (s->gzhead->extra_len >> 8) & 0xff);
893 if (s->gzhead->hcrc)
901 if (s->gzhead->extra != Z_NULL) {
903 uInt left = (s->gzhead->extra_len & 0xffff) - s->gzindex;
907 s->gzhead->extra + s->gzindex, copy);
920 s->gzhead->extra + s->gzindex, left);
928 if (s->gzhead->name != Z_NULL) {
941 val = s->gzhead->name[s->gzindex++];
950 if (s->gzhead->comment != Z_NULL) {
963 val = s->gzhead->comment[s->gzindex++];
971 if (s->gzhead->hcrc) {