Lines Matching defs:ndirlist
162 size_t ndirlist = 0;
376 ndirlist = ndirs;
377 if (ndirlist >= MAX_STACK_DIRS)
379 if (ndirlist > SIZE_MAX / sizeof (*dirarray))
381 dirarray = malloc (ndirlist * sizeof (*dirarray));
399 for (unsigned int n = 1; n < ndirlist; n++)
403 assert (endp != NULL); // Checked above when calculating ndirlist.
408 assert (*linep == '\0'); // Checked above when calculating ndirlist.
416 for (unsigned int n = 0; n < ndirlist; n++)
500 if (unlikely (diridx >= ndirlist))
621 if (unlikely (diridx >= ndirlist))
798 if (unlikely (diridx >= ndirlist))
1026 + (ndirlist + 1) * sizeof (char *),
1040 files->ndirs = ndirlist;
1041 for (unsigned int i = 0; i < ndirlist; ++i)
1043 dirs[ndirlist] = NULL;