Lines Matching defs:avail
177 int avail = 0;
206 if ( !pack || ( (avail == 0) && (previous == 0) ) ) {
209 avail = sizes[i];
212 if ((avail < pad) || ((sizes[i] > avail) && (sizes[i] < previous))) {
216 avail = previous;
218 if (sizes[i] <= avail) {
221 avail = previous;
225 avail -= sizes[i];
226 avail -= pad; // a little extra for padding