Lines Matching refs:dp
548 struct dirent *dp;
651 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) {
652 if (!ISSET(FTS_SEEDOT) && ISDOT(dp->d_name))
655 if (!(p = fts_alloc(sp, dp->d_name, strlen(dp->d_name))))
657 if (strlen(dp->d_name) >= maxlen) { /* include space for NUL */
659 if (fts_palloc(sp, strlen(dp->d_name) +len + 1)) {
686 p->fts_pathlen = len + strlen(dp->d_name);
712 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN)