Home
last modified time | relevance | path

Searched refs:nitems (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dmktemp.c40 #ifndef nitems
41 #define nitems(_a) (sizeof((_a)) / sizeof((_a)[0])) macro
86 for (i = 0; i < nitems(rbuf) && cp != ep; i++) in mktemp_internal()
/bionic/libc/bionic/
Dfts.c79 int nitems; in fts_open() local
112 for (root = NULL, nitems = 0; *argv; ++argv, ++nitems) { in fts_open()
147 if (compar && nitems > 1) in fts_open()
148 root = fts_sort(sp, root, nitems); in fts_open()
170 if (nitems == 0) in fts_open()
555 int nitems, cderrno, descend, level, nlinks, nostat = 0, doadjust; in fts_build() local
652 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) { in fts_build()
745 ++nitems; in fts_build()
762 if (len == sp->fts_pathlen || nitems == 0) in fts_build()
774 if (descend && (type == BCHILD || !nitems) && in fts_build()
[all …]