Lines Matching defs:cnt
230 size_t cnt, i;
261 for (cnt=0, tail=head.next; tail; tail=tail->next, cnt++);
262 if (!cnt) {
267 cnt++;
273 char **pathv = realloc(g->gl_pathv, (offs + g->gl_pathc + cnt + 1) * sizeof(char *));
281 g->gl_pathv = malloc((offs + cnt + 1) * sizeof(char *));
289 for (i=0, tail=head.next; i<cnt; tail=tail->next, i++)
292 g->gl_pathc += cnt;
295 qsort(g->gl_pathv+offs, cnt, sizeof(char *), sort);