Lines Matching refs:gzhead
441 s->gzhead = Z_NULL;
710 strm->state->gzhead = head;
867 if (s->gzhead != Z_NULL) { /* user-supplied gzip header */
869 if (s->gzhead->extra != Z_NULL)
870 wraplen += 2 + s->gzhead->extra_len;
871 str = s->gzhead->name;
876 str = s->gzhead->comment;
881 if (s->gzhead->hcrc)
942 if (s->gzhead->hcrc && s->pending > (beg)) \
1039 if (s->gzhead == Z_NULL) {
1059 put_byte(s, (s->gzhead->text ? 1 : 0) +
1060 (s->gzhead->hcrc ? 2 : 0) +
1061 (s->gzhead->extra == Z_NULL ? 0 : 4) +
1062 (s->gzhead->name == Z_NULL ? 0 : 8) +
1063 (s->gzhead->comment == Z_NULL ? 0 : 16)
1065 put_byte(s, (Byte)(s->gzhead->time & 0xff));
1066 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff));
1067 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff));
1068 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff));
1072 put_byte(s, s->gzhead->os & 0xff);
1073 if (s->gzhead->extra != Z_NULL) {
1074 put_byte(s, s->gzhead->extra_len & 0xff);
1075 put_byte(s, (s->gzhead->extra_len >> 8) & 0xff);
1077 if (s->gzhead->hcrc)
1085 if (s->gzhead->extra != Z_NULL) {
1087 uInt left = (s->gzhead->extra_len & 0xffff) - s->gzindex;
1091 s->gzhead->extra + s->gzindex, copy);
1104 s->gzhead->extra + s->gzindex, left);
1112 if (s->gzhead->name != Z_NULL) {
1125 val = s->gzhead->name[s->gzindex++];
1134 if (s->gzhead->comment != Z_NULL) {
1147 val = s->gzhead->comment[s->gzindex++];
1155 if (s->gzhead->hcrc) {