Searched refs:nitems (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | mktemp.c | 40 #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/ |
D | fts.c | 76 int nitems; in __fts_open() local 103 for (root = NULL, nitems = 0; *argv; ++argv, ++nitems) { in __fts_open() 141 if (compar && nitems > 1) in __fts_open() 142 root = fts_sort(sp, root, nitems); in __fts_open() 164 if (nitems == 0) in __fts_open() 545 int nitems, cderrno, descend, level, nlinks, nostat = 0, doadjust; in fts_build() local 642 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) { in fts_build() 734 ++nitems; in fts_build() 751 if (len == sp->fts_pathlen || nitems == 0) in fts_build() 763 if (descend && (type == BCHILD || !nitems) && in fts_build() [all …]
|