Lines Matching refs:head
135 state->head = Z_NULL;
675 if (state->head != Z_NULL)
676 state->head->done = -1;
720 if (state->head != Z_NULL)
721 state->head->text = (int)((hold >> 8) & 1);
728 if (state->head != Z_NULL)
729 state->head->time = hold;
736 if (state->head != Z_NULL) {
737 state->head->xflags = (int)(hold & 0xff);
738 state->head->os = (int)(hold >> 8);
748 if (state->head != Z_NULL)
749 state->head->extra_len = (unsigned)hold;
754 else if (state->head != Z_NULL)
755 state->head->extra = Z_NULL;
762 if (state->head != Z_NULL &&
763 state->head->extra != Z_NULL) {
764 len = state->head->extra_len - state->length;
765 zmemcpy(state->head->extra + len, next,
766 len + copy > state->head->extra_max ?
767 state->head->extra_max - len : copy);
785 if (state->head != Z_NULL &&
786 state->head->name != Z_NULL &&
787 state->length < state->head->name_max)
788 state->head->name[state->length++] = (Bytef)len;
796 else if (state->head != Z_NULL)
797 state->head->name = Z_NULL;
806 if (state->head != Z_NULL &&
807 state->head->comment != Z_NULL &&
808 state->length < state->head->comm_max)
809 state->head->comment[state->length++] = (Bytef)len;
817 else if (state->head != Z_NULL)
818 state->head->comment = Z_NULL;
830 if (state->head != Z_NULL) {
831 state->head->hcrc = (int)((state->flags >> 9) & 1);
832 state->head->done = 1;
1362 int ZEXPORT inflateGetHeader(strm, head) in inflateGetHeader() argument
1364 gz_headerp head;
1374 state->head = head;
1375 head->done = 0;