Lines Matching refs:gzhead
304 s->gzhead = Z_NULL;
560 strm->state->gzhead = head;
716 if (s->gzhead != Z_NULL) { /* user-supplied gzip header */
718 if (s->gzhead->extra != Z_NULL)
719 wraplen += 2 + s->gzhead->extra_len;
720 str = s->gzhead->name;
725 str = s->gzhead->comment;
730 if (s->gzhead->hcrc)
794 if (s->gzhead->hcrc && s->pending > (beg)) \
892 if (s->gzhead == Z_NULL) {
912 put_byte(s, (s->gzhead->text ? 1 : 0) +
913 (s->gzhead->hcrc ? 2 : 0) +
914 (s->gzhead->extra == Z_NULL ? 0 : 4) +
915 (s->gzhead->name == Z_NULL ? 0 : 8) +
916 (s->gzhead->comment == Z_NULL ? 0 : 16)
918 put_byte(s, (Byte)(s->gzhead->time & 0xff));
919 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff));
920 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff));
921 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff));
925 put_byte(s, s->gzhead->os & 0xff);
926 if (s->gzhead->extra != Z_NULL) {
927 put_byte(s, s->gzhead->extra_len & 0xff);
928 put_byte(s, (s->gzhead->extra_len >> 8) & 0xff);
930 if (s->gzhead->hcrc)
938 if (s->gzhead->extra != Z_NULL) {
940 uInt left = (s->gzhead->extra_len & 0xffff) - s->gzindex;
944 s->gzhead->extra + s->gzindex, copy);
957 s->gzhead->extra + s->gzindex, left);
965 if (s->gzhead->name != Z_NULL) {
978 val = s->gzhead->name[s->gzindex++];
987 if (s->gzhead->comment != Z_NULL) {
1000 val = s->gzhead->comment[s->gzindex++];
1008 if (s->gzhead->hcrc) {