Lines Matching refs:gzhead
442 s->gzhead = Z_NULL;
713 strm->state->gzhead = head;
871 if (s->gzhead != Z_NULL) { /* user-supplied gzip header */
873 if (s->gzhead->extra != Z_NULL)
874 wraplen += 2 + s->gzhead->extra_len;
875 str = s->gzhead->name;
880 str = s->gzhead->comment;
885 if (s->gzhead->hcrc)
948 if (s->gzhead->hcrc && s->pending > (beg)) \
1045 if (s->gzhead == Z_NULL) {
1065 put_byte(s, (s->gzhead->text ? 1 : 0) +
1066 (s->gzhead->hcrc ? 2 : 0) +
1067 (s->gzhead->extra == Z_NULL ? 0 : 4) +
1068 (s->gzhead->name == Z_NULL ? 0 : 8) +
1069 (s->gzhead->comment == Z_NULL ? 0 : 16)
1071 put_byte(s, (Byte)(s->gzhead->time & 0xff));
1072 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff));
1073 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff));
1074 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff));
1078 put_byte(s, s->gzhead->os & 0xff);
1079 if (s->gzhead->extra != Z_NULL) {
1080 put_byte(s, s->gzhead->extra_len & 0xff);
1081 put_byte(s, (s->gzhead->extra_len >> 8) & 0xff);
1083 if (s->gzhead->hcrc)
1091 if (s->gzhead->extra != Z_NULL) {
1093 uInt left = (s->gzhead->extra_len & 0xffff) - s->gzindex;
1097 s->gzhead->extra + s->gzindex, copy);
1110 s->gzhead->extra + s->gzindex, left);
1118 if (s->gzhead->name != Z_NULL) {
1131 val = s->gzhead->name[s->gzindex++];
1140 if (s->gzhead->comment != Z_NULL) {
1153 val = s->gzhead->comment[s->gzindex++];
1161 if (s->gzhead->hcrc) {