Lines Matching refs:head
136 state->head = Z_NULL;
675 if (state->head != Z_NULL)
676 state->head->done = -1;
721 if (state->head != Z_NULL)
722 state->head->text = (int)((hold >> 8) & 1);
730 if (state->head != Z_NULL)
731 state->head->time = hold;
739 if (state->head != Z_NULL) {
740 state->head->xflags = (int)(hold & 0xff);
741 state->head->os = (int)(hold >> 8);
752 if (state->head != Z_NULL)
753 state->head->extra_len = (unsigned)hold;
758 else if (state->head != Z_NULL)
759 state->head->extra = Z_NULL;
767 if (state->head != Z_NULL &&
768 state->head->extra != Z_NULL) {
769 len = state->head->extra_len - state->length;
770 zmemcpy(state->head->extra + len, next,
771 len + copy > state->head->extra_max ?
772 state->head->extra_max - len : copy);
791 if (state->head != Z_NULL &&
792 state->head->name != Z_NULL &&
793 state->length < state->head->name_max)
794 state->head->name[state->length++] = (Bytef)len;
802 else if (state->head != Z_NULL)
803 state->head->name = Z_NULL;
813 if (state->head != Z_NULL &&
814 state->head->comment != Z_NULL &&
815 state->length < state->head->comm_max)
816 state->head->comment[state->length++] = (Bytef)len;
824 else if (state->head != Z_NULL)
825 state->head->comment = Z_NULL;
838 if (state->head != Z_NULL) {
839 state->head->hcrc = (int)((state->flags >> 9) & 1);
840 state->head->done = 1;
1374 int ZEXPORT inflateGetHeader(strm, head) in inflateGetHeader() argument
1376 gz_headerp head;
1386 state->head = head;
1387 head->done = 0;