Lines Matching defs:mode
77 // list and return NULL. index->mode is temporarily the allocated number of
79 // index->mode is set to the mode of inflation.
90 index->mode = 8;
91 index->list = malloc(sizeof(point_t) * index->mode);
98 else if (index->have == index->mode) {
100 index->mode <<= 1;
101 point_t *next = realloc(index->list, sizeof(point_t) * index->mode);
142 int mode = 0; // mode: RAW, ZLIB, or GZIP (0 => not set yet)
159 if (mode == 0) {
165 mode = strm.avail_in == 0 ? RAW : // empty -- will fail
169 ret = inflateInit2(&strm, mode);
182 if (mode == RAW && index == NULL)
210 if (ret == Z_STREAM_END && mode == GZIP &&
230 index->mode = mode;
411 if (ret == Z_STREAM_END && index->mode == GZIP) {