Lines Matching refs:head
134 state->head = Z_NULL;
674 if (state->head != Z_NULL)
675 state->head->done = -1;
719 if (state->head != Z_NULL)
720 state->head->text = (int)((hold >> 8) & 1);
727 if (state->head != Z_NULL)
728 state->head->time = hold;
735 if (state->head != Z_NULL) {
736 state->head->xflags = (int)(hold & 0xff);
737 state->head->os = (int)(hold >> 8);
747 if (state->head != Z_NULL)
748 state->head->extra_len = (unsigned)hold;
753 else if (state->head != Z_NULL)
754 state->head->extra = Z_NULL;
761 if (state->head != Z_NULL &&
762 state->head->extra != Z_NULL) {
763 len = state->head->extra_len - state->length;
764 zmemcpy(state->head->extra + len, next,
765 len + copy > state->head->extra_max ?
766 state->head->extra_max - len : copy);
784 if (state->head != Z_NULL &&
785 state->head->name != Z_NULL &&
786 state->length < state->head->name_max)
787 state->head->name[state->length++] = (Bytef)len;
795 else if (state->head != Z_NULL)
796 state->head->name = Z_NULL;
805 if (state->head != Z_NULL &&
806 state->head->comment != Z_NULL &&
807 state->length < state->head->comm_max)
808 state->head->comment[state->length++] = (Bytef)len;
816 else if (state->head != Z_NULL)
817 state->head->comment = Z_NULL;
829 if (state->head != Z_NULL) {
830 state->head->hcrc = (int)((state->flags >> 9) & 1);
831 state->head->done = 1;
1349 int ZEXPORT inflateGetHeader(strm, head) in inflateGetHeader() argument
1351 gz_headerp head;
1361 state->head = head;
1362 head->done = 0;