Lines Matching refs:gzhead
309 s->gzhead = Z_NULL;
563 strm->state->gzhead = head;
720 if (s->gzhead != Z_NULL) { /* user-supplied gzip header */
722 if (s->gzhead->extra != Z_NULL)
723 wraplen += 2 + s->gzhead->extra_len;
724 str = s->gzhead->name;
729 str = s->gzhead->comment;
734 if (s->gzhead->hcrc)
798 if (s->gzhead->hcrc && s->pending > (beg)) \
898 if (s->gzhead == Z_NULL) {
918 put_byte(s, (s->gzhead->text ? 1 : 0) +
919 (s->gzhead->hcrc ? 2 : 0) +
920 (s->gzhead->extra == Z_NULL ? 0 : 4) +
921 (s->gzhead->name == Z_NULL ? 0 : 8) +
922 (s->gzhead->comment == Z_NULL ? 0 : 16)
924 put_byte(s, (Byte)(s->gzhead->time & 0xff));
925 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff));
926 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff));
927 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff));
931 put_byte(s, s->gzhead->os & 0xff);
932 if (s->gzhead->extra != Z_NULL) {
933 put_byte(s, s->gzhead->extra_len & 0xff);
934 put_byte(s, (s->gzhead->extra_len >> 8) & 0xff);
936 if (s->gzhead->hcrc)
944 if (s->gzhead->extra != Z_NULL) {
946 uInt left = (s->gzhead->extra_len & 0xffff) - s->gzindex;
950 s->gzhead->extra + s->gzindex, copy);
963 s->gzhead->extra + s->gzindex, left);
971 if (s->gzhead->name != Z_NULL) {
984 val = s->gzhead->name[s->gzindex++];
993 if (s->gzhead->comment != Z_NULL) {
1006 val = s->gzhead->comment[s->gzindex++];
1014 if (s->gzhead->hcrc) {