Lines Matching defs:state
73 int state; /* state flags */
98 sp->state |= ZSTATE_INIT;
104 * Setup state for decoding a strip.
129 int state = inflate(&sp->stream, Z_PARTIAL_FLUSH);
130 if (state == Z_STREAM_END)
132 if (state == Z_DATA_ERROR) {
140 if (state != Z_OK) {
166 sp->state |= ZSTATE_INIT;
172 * Reset encoding state at the start of a strip.
223 int state;
227 state = deflate(&sp->stream, Z_FINISH);
228 switch (state) {
245 } while (state != Z_STREAM_END);
254 if (sp->state&ZSTATE_INIT) {
275 if (tif->tif_mode != O_RDONLY && (sp->state&ZSTATE_INIT)) {
319 * Allocate state block so tag methods have storage to record values.
342 sp->state = 0;
365 TIFFError("TIFFInitZIP", "No space for ZIP state block");