Lines Matching defs:dirdata
36 struct dirdata
56 dir_read (struct file_data const *dir, struct dirdata *dirdata)
71 dirdata->names = 0;
72 dirdata->data = 0;
87 dirdata->data = data = xmalloc (data_alloc);
109 dirdata->data = data = xrealloc (data, data_alloc *= 2);
134 dirdata->names = names = xmalloc ((nnames + 1) * sizeof *names);
135 dirdata->nnames = nnames;
208 struct dirdata dirdata[2];
222 if (! dir_read (&cmp->file[i], &dirdata[i]))
231 names[0] = dirdata[0].names;
232 names[1] = dirdata[1].names;
241 qsort (names[i], dirdata[i].nnames, sizeof *dirdata[i].names,
273 if (dirdata[i].names)
274 free (dirdata[i].names);
275 if (dirdata[i].data)
276 free (dirdata[i].data);