Lines Matching refs:space
134 size_t space;
147 space = MIN(src_size * 2, dst_max ?: (size_t) -1);
148 if (!greedy_realloc(dst, dst_alloc_size, space, 1))
155 s.avail_out = space;
167 if (dst_max > 0 && (space - s.avail_out) >= dst_max)
169 else if (dst_max > 0 && space == dst_max)
172 used = space - s.avail_out;
173 space = MIN(2 * space, dst_max ?: (size_t) -1);
174 if (!greedy_realloc(dst, dst_alloc_size, space, 1))
177 s.avail_out = space - used;
181 *dst_size = space - s.avail_out;
470 size = frame_size + 64*1024; /* add some space for header and trailer */