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]));
257 FileList_ensureCapacity(FileList fl, int capacity)
259 if (fl->capacity < capacity) {
260 while (fl->capacity < capacity)
261 fl->capacity *= 2;
263 fl->capacity * sizeof(fl->files[0]));