Lines Matching refs:head
117 state->head = Z_NULL;
604 if (state->head != Z_NULL)
605 state->head->done = -1;
647 if (state->head != Z_NULL)
648 state->head->text = (int)((hold >> 8) & 1);
654 if (state->head != Z_NULL)
655 state->head->time = hold;
661 if (state->head != Z_NULL) {
662 state->head->xflags = (int)(hold & 0xff);
663 state->head->os = (int)(hold >> 8);
672 if (state->head != Z_NULL)
673 state->head->extra_len = (unsigned)hold;
677 else if (state->head != Z_NULL)
678 state->head->extra = Z_NULL;
685 if (state->head != Z_NULL &&
686 state->head->extra != Z_NULL) {
687 len = state->head->extra_len - state->length;
688 zmemcpy(state->head->extra + len, next,
689 len + copy > state->head->extra_max ?
690 state->head->extra_max - len : copy);
708 if (state->head != Z_NULL &&
709 state->head->name != Z_NULL &&
710 state->length < state->head->name_max)
711 state->head->name[state->length++] = len;
719 else if (state->head != Z_NULL)
720 state->head->name = Z_NULL;
729 if (state->head != Z_NULL &&
730 state->head->comment != Z_NULL &&
731 state->length < state->head->comm_max)
732 state->head->comment[state->length++] = len;
740 else if (state->head != Z_NULL)
741 state->head->comment = Z_NULL;
753 if (state->head != Z_NULL) {
754 state->head->hcrc = (int)((state->flags >> 9) & 1);
755 state->head->done = 1;
1211 int ZEXPORT inflateGetHeader(strm, head)
1213 gz_headerp head;
1223 state->head = head;
1224 head->done = 0;