Lines Matching refs:gzhead
283 s->gzhead = Z_NULL;
405 strm->state->gzhead = head;
590 if (s->gzhead == NULL) {
603 put_byte(s, (s->gzhead->text ? 1 : 0) +
604 (s->gzhead->hcrc ? 2 : 0) +
605 (s->gzhead->extra == Z_NULL ? 0 : 4) +
606 (s->gzhead->name == Z_NULL ? 0 : 8) +
607 (s->gzhead->comment == Z_NULL ? 0 : 16)
609 put_byte(s, (Byte)(s->gzhead->time & 0xff));
610 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff));
611 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff));
612 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff));
616 put_byte(s, s->gzhead->os & 0xff);
617 if (s->gzhead->extra != NULL) {
618 put_byte(s, s->gzhead->extra_len & 0xff);
619 put_byte(s, (s->gzhead->extra_len >> 8) & 0xff);
621 if (s->gzhead->hcrc)
659 if (s->gzhead->extra != NULL) {
662 while (s->gzindex < (s->gzhead->extra_len & 0xffff)) {
664 if (s->gzhead->hcrc && s->pending > beg)
672 put_byte(s, s->gzhead->extra[s->gzindex]);
675 if (s->gzhead->hcrc && s->pending > beg)
678 if (s->gzindex == s->gzhead->extra_len) {
687 if (s->gzhead->name != NULL) {
693 if (s->gzhead->hcrc && s->pending > beg)
703 val = s->gzhead->name[s->gzindex++];
706 if (s->gzhead->hcrc && s->pending > beg)
718 if (s->gzhead->comment != NULL) {
724 if (s->gzhead->hcrc && s->pending > beg)
734 val = s->gzhead->comment[s->gzindex++];
737 if (s->gzhead->hcrc && s->pending > beg)
747 if (s->gzhead->hcrc) {