Searched refs:dp (Results 1 – 1 of 1) sorted by relevance
585 dirent_not_directory(const struct dirent *dp) in dirent_not_directory() argument588 return dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN; in dirent_not_directory()611 struct dirent *dp; in fts_build() local723 if (!ISSET(FTS_SEEDOT) && ISDOT(dp->d_name)) in fts_build()726 if ((p = fts_alloc(sp, dp->d_name, _D_EXACT_NAMLEN (dp))) == NULL) in fts_build()728 if (_D_EXACT_NAMLEN (dp) >= maxlen) {/* include space for NUL */ in fts_build()730 if (fts_palloc(sp, _D_EXACT_NAMLEN (dp) + len + 1)) { in fts_build()754 if (len + _D_EXACT_NAMLEN (dp) >= USHRT_MAX) { in fts_build()771 p->fts_pathlen = len + _D_EXACT_NAMLEN (dp); in fts_build()774 if (dp->d_type == DT_WHT) in fts_build()[all …]
Completed in 4 milliseconds