Lines Matching defs:ret
26 int ret;
30 ret = read(state->fd, buf + *have, len - *have);
31 if (ret <= 0)
33 *have += ret;
35 if (ret < 0) {
39 if (ret == 0)
175 int ret = Z_OK;
191 ret = inflate(strm, Z_NO_FLUSH);
192 if (ret == Z_STREAM_ERROR || ret == Z_NEED_DICT) {
197 if (ret == Z_MEM_ERROR) {
201 if (ret == Z_DATA_ERROR) { /* deflate stream invalid */
206 } while (strm->avail_out && ret != Z_STREAM_END);
213 if (ret == Z_STREAM_END)
390 int ret;
412 ret = gzread(file, buf, 1);
413 return ret < 1 ? -1 : buf[0];
570 int ret, err;
591 ret = close(state->fd);
593 return ret ? Z_ERRNO : err;