Lines Matching refs:gzhead
460 s->gzhead = Z_NULL;
746 strm->state->gzhead = head;
903 if (s->gzhead != Z_NULL) { /* user-supplied gzip header */
905 if (s->gzhead->extra != Z_NULL)
906 wraplen += 2 + s->gzhead->extra_len;
907 str = s->gzhead->name;
912 str = s->gzhead->comment;
917 if (s->gzhead->hcrc)
978 if (s->gzhead->hcrc && s->pending > (beg)) \
1075 if (s->gzhead == Z_NULL) {
1095 put_byte(s, (s->gzhead->text ? 1 : 0) +
1096 (s->gzhead->hcrc ? 2 : 0) +
1097 (s->gzhead->extra == Z_NULL ? 0 : 4) +
1098 (s->gzhead->name == Z_NULL ? 0 : 8) +
1099 (s->gzhead->comment == Z_NULL ? 0 : 16)
1101 put_byte(s, (Byte)(s->gzhead->time & 0xff));
1102 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff));
1103 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff));
1104 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff));
1108 put_byte(s, s->gzhead->os & 0xff);
1109 if (s->gzhead->extra != Z_NULL) {
1110 put_byte(s, s->gzhead->extra_len & 0xff);
1111 put_byte(s, (s->gzhead->extra_len >> 8) & 0xff);
1113 if (s->gzhead->hcrc)
1121 if (s->gzhead->extra != Z_NULL) {
1123 uInt left = (s->gzhead->extra_len & 0xffff) - s->gzindex;
1127 s->gzhead->extra + s->gzindex, copy);
1140 s->gzhead->extra + s->gzindex, left);
1148 if (s->gzhead->name != Z_NULL) {
1161 val = s->gzhead->name[s->gzindex++];
1170 if (s->gzhead->comment != Z_NULL) {
1183 val = s->gzhead->comment[s->gzindex++];
1191 if (s->gzhead->hcrc) {