Searched refs:nitems (Results 1 – 2 of 2) sorted by relevance
125 int nitems; in FTS_OPEN() local165 for (root = NULL, nitems = 0; *argv != NULL; ++argv, ++nitems) { in FTS_OPEN()200 if (compar && nitems > 1) in FTS_OPEN()201 root = fts_sort(sp, root, nitems); in FTS_OPEN()613 int nitems; in fts_build() local722 for (head = tail = NULL, nitems = 0; dirp && (dp = __readdir(dirp));) { in fts_build()817 ++nitems; in fts_build()834 if (len == sp->fts_pathlen || nitems == 0) in fts_build()846 if (descend && (type == BCHILD || !nitems) && in fts_build()857 if (!nitems) { in fts_build()[all …]
437 size_product(size_t nitems, size_t itemsize) in size_product() argument439 if (SIZE_MAX / itemsize < nitems) in size_product()441 return nitems * itemsize; in size_product()490 growalloc(void *ptr, size_t itemsize, ptrdiff_t nitems, ptrdiff_t *nitems_alloc) in growalloc() argument492 if (nitems < *nitems_alloc) in growalloc()