Lines Matching defs:path
127 /* fts_open() requires at least one path */
148 * Start out with 1K of path space, and enough, in any case,
234 * known that the path will fit.
267 /* Free up child linked list, sort array, path buffer. */
294 * Special case of "/" at the end of the path so that slashes aren't
558 * If using chdir on a relative path and called BEFORE fts_read does
651 #define __opendir2(path, flag) opendir(path)
692 * chdir into the directory, it will have to return different path
716 * current path -- the inner loop allocates more path as necessary.
718 * could do them in fts_read before returning the path, but it's a
722 * each new name into the path.
750 * No more memory for path or structures. Save
829 * If realloc() changed the address of the path, adjust the
836 * If not changing directories, reset the path back to original
845 * the saved fd; if one of fts_open()'s arguments is a relative path
879 const char *path;
882 path = p->fts_accpath, dfd = AT_FDCWD;
884 path = p->fts_name;
906 if (fstatat(dfd, path, sbp, 0)) {
908 if (fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) {
916 } else if (fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) {
1065 * plus 256 bytes so don't realloc the path 2 bytes at a time.
1077 * When the path is realloc'd, have to fix all of the pointers in structures
1121 fts_safe_changedir(FTS *sp, FTSENT *p, int fd, char *path)
1129 if (fd < 0 && (newfd = _open(path, O_RDONLY | O_DIRECTORY |