Lines Matching refs:gzhead
306 s->gzhead = Z_NULL;
428 strm->state->gzhead = head;
613 if (s->gzhead == NULL) {
626 put_byte(s, (s->gzhead->text ? 1 : 0) +
627 (s->gzhead->hcrc ? 2 : 0) +
628 (s->gzhead->extra == Z_NULL ? 0 : 4) +
629 (s->gzhead->name == Z_NULL ? 0 : 8) +
630 (s->gzhead->comment == Z_NULL ? 0 : 16)
632 put_byte(s, (Byte)(s->gzhead->time & 0xff));
633 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff));
634 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff));
635 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff));
639 put_byte(s, s->gzhead->os & 0xff);
640 if (s->gzhead->extra != NULL) {
641 put_byte(s, s->gzhead->extra_len & 0xff);
642 put_byte(s, (s->gzhead->extra_len >> 8) & 0xff);
644 if (s->gzhead->hcrc)
682 if (s->gzhead->extra != NULL) {
685 while (s->gzindex < (s->gzhead->extra_len & 0xffff)) {
687 if (s->gzhead->hcrc && s->pending > beg)
695 put_byte(s, s->gzhead->extra[s->gzindex]);
698 if (s->gzhead->hcrc && s->pending > beg)
701 if (s->gzindex == s->gzhead->extra_len) {
710 if (s->gzhead->name != NULL) {
716 if (s->gzhead->hcrc && s->pending > beg)
726 val = s->gzhead->name[s->gzindex++];
729 if (s->gzhead->hcrc && s->pending > beg)
741 if (s->gzhead->comment != NULL) {
747 if (s->gzhead->hcrc && s->pending > beg)
757 val = s->gzhead->comment[s->gzindex++];
760 if (s->gzhead->hcrc && s->pending > beg)
770 if (s->gzhead->hcrc) {