Lines Matching defs:path
130 /* fts_open() requires at least one path */
148 * Start out with 1K of path space, and enough, in any case,
237 * known that the path will fit.
270 /* Free up child linked list, sort array, path buffer. */
297 * Special case of "/" at the end of the path so that slashes aren't
561 * If using chdir on a relative path and called BEFORE fts_read does
654 #define __opendir2(path, flag) opendir(path)
695 * chdir into the directory, it will have to return different path
719 * current path -- the inner loop allocates more path as necessary.
721 * could do them in fts_read before returning the path, but it's a
725 * each new name into the path.
753 * No more memory for path or structures. Save
832 * If realloc() changed the address of the path, adjust the
839 * If not changing directories, reset the path back to original
848 * the saved fd; if one of fts_open()'s arguments is a relative path
883 const char *path;
886 path = p->fts_accpath, dfd = AT_FDCWD;
888 path = p->fts_name;
910 if (fstatat(dfd, path, sbp, 0)) {
912 if (fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) {
920 } else if (fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) {
1069 * plus 256 bytes so don't realloc the path 2 bytes at a time.
1081 * When the path is realloc'd, have to fix all of the pointers in structures
1125 fts_safe_changedir(FTS *sp, FTSENT *p, int fd, char *path)
1133 if (fd < 0 && (newfd = _open(path, O_RDONLY | O_DIRECTORY |