Lines Matching defs:capacity
226 int capacity;
231 FileList_new(int capacity)
234 fl->capacity = capacity;
235 fl->files = (char **) JLI_MemAlloc(capacity * sizeof(fl->files[0]));
269 FileList_ensureCapacity(FileList fl, int capacity)
271 if (fl->capacity < capacity) {
272 while (fl->capacity < capacity)
273 fl->capacity *= 2;
275 fl->capacity * sizeof(fl->files[0]));