AT_FDCWD 41 maint/gnulib/lib/areadlink.c if (fd != AT_FDCWD) AT_FDCWD 55 maint/gnulib/lib/areadlink.c return careadlinkat (AT_FDCWD, filename, NULL, 0, NULL, careadlinkatcwd); AT_FDCWD 74 maint/gnulib/lib/at-func.c if (fd == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file)) AT_FDCWD 77 maint/gnulib/lib/at-func2.c if ((fd1 == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file1)) AT_FDCWD 78 maint/gnulib/lib/at-func2.c && (fd2 == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file2))) AT_FDCWD 84 maint/gnulib/lib/at-func2.c char *proc_file1 = ((fd1 == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file1)) AT_FDCWD 90 maint/gnulib/lib/at-func2.c char *proc_file2 = ((fd2 == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file2)) AT_FDCWD 120 maint/gnulib/lib/at-func2.c fd1 = AT_FDCWD; /* Case 11 reduced to 3. */ AT_FDCWD 122 maint/gnulib/lib/at-func2.c fd2 = AT_FDCWD; /* Case 14 reduced to 12. */ AT_FDCWD 126 maint/gnulib/lib/at-func2.c if (fd1 == AT_FDCWD) /* Cases 3, 7. */ AT_FDCWD 138 maint/gnulib/lib/at-func2.c else if (fd2 == AT_FDCWD) /* Cases 12, 13. */ AT_FDCWD 192 maint/gnulib/lib/at-func2.c if (fd1 != AT_FDCWD && fd2 != AT_FDCWD && fd1 != fd2) /* Case 15b. */ AT_FDCWD 201 maint/gnulib/lib/at-func2.c fd1 = AT_FDCWD; /* Reduced to case 7. */ AT_FDCWD 210 maint/gnulib/lib/at-func2.c if (fd1 == AT_FDCWD && !IS_ABSOLUTE_FILE_NAME (file1)) /* Case 7. */ AT_FDCWD 234 maint/gnulib/lib/at-func2.c else if (fd2 == AT_FDCWD && !IS_ABSOLUTE_FILE_NAME (file2)) /* Case 13. */ AT_FDCWD 257 maint/gnulib/lib/at-func2.c if (fchdir (fd1 == AT_FDCWD ? fd2 : fd1) != 0) AT_FDCWD 374 maint/gnulib/lib/backupfile.c sdir = AT_FDCWD; AT_FDCWD 378 maint/gnulib/lib/backupfile.c if (renameatu (AT_FDCWD, file, sdir, s + base_offset, flags) == 0) AT_FDCWD 104 maint/gnulib/lib/canonicalize-lgpl.c return __faccessat (AT_FDCWD, file, F_OK, AT_EACCESS) == 0; AT_FDCWD 61 maint/gnulib/lib/canonicalize.c return faccessat (AT_FDCWD, file, F_OK, AT_EACCESS) == 0; AT_FDCWD 62 maint/gnulib/lib/careadlinkat.h # ifndef AT_FDCWD AT_FDCWD 49 maint/gnulib/lib/chdir-long.c cdb->fd = AT_FDCWD; AT_FDCWD 83 maint/gnulib/lib/euidaccess.c return faccessat (AT_FDCWD, file, mode, AT_EACCESS); AT_FDCWD 408 maint/gnulib/lib/fcntl.in.h #if 0 < AT_FDCWD && AT_FDCWD == 0xffd19553 AT_FDCWD 415 maint/gnulib/lib/fcntl.in.h #ifndef AT_FDCWD AT_FDCWD 309 maint/gnulib/lib/fts.c fts_assert (old != fd || old == AT_FDCWD); AT_FDCWD 336 maint/gnulib/lib/fts.c int fail = FCHDIR (sp, ISSET (FTS_CWDFD) ? AT_FDCWD : sp->fts_rfd); AT_FDCWD 398 maint/gnulib/lib/fts.c sp->fts_cwd_fd = AT_FDCWD; AT_FDCWD 1241 maint/gnulib/lib/fts.c ? sp->fts_cwd_fd : AT_FDCWD), \ AT_FDCWD 174 maint/gnulib/lib/getcwd.c int fd = AT_FDCWD; AT_FDCWD 222 maint/gnulib/lib/openat.c if (fd == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file)) AT_FDCWD 63 maint/gnulib/lib/same.c return same_nameat (AT_FDCWD, source, AT_FDCWD, dest); AT_FDCWD 128 maint/gnulib/lib/utimecmp.c return utimecmpat (AT_FDCWD, dst_name, dst_stat, src_stat, options); AT_FDCWD 243 maint/gnulib/lib/utimecmp.c if (dfd == AT_FDCWD) AT_FDCWD 266 maint/gnulib/lib/utimens.c result = utimensat (AT_FDCWD, file, ts, 0); AT_FDCWD 421 maint/gnulib/lib/utimens.c return futimesat (AT_FDCWD, file, t); AT_FDCWD 582 maint/gnulib/lib/utimens.c result = utimensat (AT_FDCWD, file, ts, AT_SYMLINK_NOFOLLOW); AT_FDCWD 39 maint/gnulib/tests/test-areadlinkat-with-size.c static int dfd = AT_FDCWD; AT_FDCWD 80 maint/gnulib/tests/test-areadlinkat-with-size.c ASSERT (areadlinkat_with_size (AT_FDCWD, BASE "link", 1) == NULL); AT_FDCWD 39 maint/gnulib/tests/test-areadlinkat.c static int dfd = AT_FDCWD; AT_FDCWD 80 maint/gnulib/tests/test-areadlinkat.c ASSERT (areadlinkat (AT_FDCWD, BASE "link") == NULL); AT_FDCWD 139 maint/gnulib/tests/test-dup2.c ASSERT (dup2 (AT_FDCWD, fd) == -1); AT_FDCWD 49 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, ".", X_OK, 0) == 0); AT_FDCWD 50 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, "./", X_OK, 0) == 0); AT_FDCWD 52 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "file", F_OK, 0) == 0); AT_FDCWD 53 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "file/", F_OK, 0) != 0); AT_FDCWD 57 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "link1", X_OK, 0) == 0); AT_FDCWD 58 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "link1/", X_OK, 0) == 0); AT_FDCWD 62 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "link2", F_OK, 0) == 0); AT_FDCWD 63 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "link2/", F_OK, 0) != 0); AT_FDCWD 68 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "link3", F_OK, 0) != 0); AT_FDCWD 69 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "link3/", F_OK, 0) != 0); AT_FDCWD 55 maint/gnulib/tests/test-fchmodat.c ASSERT (fchmodat (AT_FDCWD, BASE "file", 0400, 0) == 0); AT_FDCWD 60 maint/gnulib/tests/test-fchmodat.c ASSERT (fchmodat (AT_FDCWD, BASE "file/", 0600, 0) == -1); AT_FDCWD 73 maint/gnulib/tests/test-fchmodat.c ASSERT (fchmodat (AT_FDCWD, BASE "dir", 0500, 0) == 0); AT_FDCWD 76 maint/gnulib/tests/test-fchmodat.c ASSERT (fchmodat (AT_FDCWD, BASE "dir/", 0700, 0) == 0); AT_FDCWD 88 maint/gnulib/tests/test-fchmodat.c ASSERT (fchmodat (AT_FDCWD, BASE "file", 0400, AT_SYMLINK_NOFOLLOW) == 0); AT_FDCWD 46 maint/gnulib/tests/test-fchownat.c static int dfd = AT_FDCWD; AT_FDCWD 37 maint/gnulib/tests/test-fdutimensat.c static int dfd = AT_FDCWD; AT_FDCWD 125 maint/gnulib/tests/test-fdutimensat.c ASSERT (fdutimensat (AT_FDCWD, fd, ".", NULL, 0) == -1); AT_FDCWD 45 maint/gnulib/tests/test-fstatat.c static int dfd = AT_FDCWD; AT_FDCWD 77 maint/gnulib/tests/test-futimens.h ASSERT (func (AT_FDCWD, NULL) == -1); AT_FDCWD 44 maint/gnulib/tests/test-linkat.c static int dfd1 = AT_FDCWD; AT_FDCWD 45 maint/gnulib/tests/test-linkat.c static int dfd2 = AT_FDCWD; AT_FDCWD 101 maint/gnulib/tests/test-linkat.c ASSERT (linkat (-1, "foo", AT_FDCWD, "bar", 0) == -1); AT_FDCWD 107 maint/gnulib/tests/test-linkat.c ASSERT (linkat (99, "foo", AT_FDCWD, "bar", 0) == -1); AT_FDCWD 113 maint/gnulib/tests/test-linkat.c ASSERT (linkat (AT_FDCWD, BASE "oo", -1, "bar", 0) == -1); AT_FDCWD 118 maint/gnulib/tests/test-linkat.c ASSERT (linkat (AT_FDCWD, BASE "oo", 99, "bar", 0) == -1); AT_FDCWD 130 maint/gnulib/tests/test-linkat.c dfd1 = AT_FDCWD; AT_FDCWD 136 maint/gnulib/tests/test-linkat.c dfd2 = AT_FDCWD; AT_FDCWD 139 maint/gnulib/tests/test-linkat.c dfd1 = AT_FDCWD; AT_FDCWD 167 maint/gnulib/tests/test-linkat.c int fd1 = (i & 8) ? dfd : AT_FDCWD; AT_FDCWD 169 maint/gnulib/tests/test-linkat.c int fd2 = (i & 2) ? dfd : AT_FDCWD; AT_FDCWD 40 maint/gnulib/tests/test-mkdirat.c static int dfd = AT_FDCWD; AT_FDCWD 44 maint/gnulib/tests/test-mkfifoat.c static int dfd = AT_FDCWD; AT_FDCWD 110 maint/gnulib/tests/test-mkfifoat.c if (func (AT_FDCWD, BASE "fifo", 0600) != 0) AT_FDCWD 119 maint/gnulib/tests/test-mkfifoat.c ASSERT (fstatat (AT_FDCWD, BASE "fifo", &st, 0) == -1); AT_FDCWD 134 maint/gnulib/tests/test-mkfifoat.c ASSERT (func (AT_FDCWD, BASE "fifo", 0600) == -1); AT_FDCWD 137 maint/gnulib/tests/test-mkfifoat.c ASSERT (fstatat (AT_FDCWD, BASE "fifo", &st, AT_SYMLINK_NOFOLLOW) AT_FDCWD 55 maint/gnulib/tests/test-openat-safer.c dfd = openat (AT_FDCWD, ".", O_RDONLY); AT_FDCWD 81 maint/gnulib/tests/test-openat-safer.c ASSERT (openat (AT_FDCWD, "", O_RDONLY) == -1); AT_FDCWD 38 maint/gnulib/tests/test-openat.c static int dfd = AT_FDCWD; AT_FDCWD 89 maint/gnulib/tests/test-openat.c ASSERT (openat (AT_FDCWD, ".", O_RDONLY) == STDIN_FILENO); AT_FDCWD 45 maint/gnulib/tests/test-readlinkat.c static int dfd = AT_FDCWD; AT_FDCWD 77 maint/gnulib/tests/test-readlinkat.c dfd = openat (AT_FDCWD, ".", O_RDONLY); AT_FDCWD 89 maint/gnulib/tests/test-readlinkat.c ASSERT (symlinkat (contents, AT_FDCWD, BASE "link") == 0); AT_FDCWD 95 maint/gnulib/tests/test-readlinkat.c ASSERT (readlinkat (AT_FDCWD, BASE "link", buf, sizeof buf) == -1); AT_FDCWD 105 maint/gnulib/tests/test-readlinkat.c ASSERT (symlinkat (contents, AT_FDCWD, BASE "link") == -1); AT_FDCWD 108 maint/gnulib/tests/test-readlinkat.c ASSERT (readlinkat (AT_FDCWD, BASE "link", buf, sizeof buf) == exp); AT_FDCWD 43 maint/gnulib/tests/test-renameat.c static int dfd1 = AT_FDCWD; AT_FDCWD 44 maint/gnulib/tests/test-renameat.c static int dfd2 = AT_FDCWD; AT_FDCWD 67 maint/gnulib/tests/test-renameat.c ASSERT (renameat (-1, "foo", AT_FDCWD, "bar") == -1); AT_FDCWD 73 maint/gnulib/tests/test-renameat.c ASSERT (renameat (99, "foo", AT_FDCWD, "bar") == -1); AT_FDCWD 79 maint/gnulib/tests/test-renameat.c ASSERT (renameat (AT_FDCWD, BASE "oo", -1, "bar") == -1); AT_FDCWD 84 maint/gnulib/tests/test-renameat.c ASSERT (renameat (AT_FDCWD, BASE "oo", 99, "bar") == -1); AT_FDCWD 96 maint/gnulib/tests/test-renameat.c dfd1 = AT_FDCWD; AT_FDCWD 126 maint/gnulib/tests/test-renameat.c int fd1 = (i & 8) ? dfd : AT_FDCWD; AT_FDCWD 128 maint/gnulib/tests/test-renameat.c int fd2 = (i & 2) ? dfd : AT_FDCWD; AT_FDCWD 46 maint/gnulib/tests/test-renameatu.c static int dfd1 = AT_FDCWD; AT_FDCWD 47 maint/gnulib/tests/test-renameatu.c static int dfd2 = AT_FDCWD; AT_FDCWD 70 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (-1, "foo", AT_FDCWD, "bar", 0) == -1); AT_FDCWD 76 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (99, "foo", AT_FDCWD, "bar", 0) == -1); AT_FDCWD 82 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (AT_FDCWD, BASE "oo", -1, "bar", 0) == -1); AT_FDCWD 87 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (AT_FDCWD, BASE "oo", 99, "bar", 0) == -1); AT_FDCWD 99 maint/gnulib/tests/test-renameatu.c dfd1 = AT_FDCWD; AT_FDCWD 129 maint/gnulib/tests/test-renameatu.c int fd1 = (i & 8) ? dfd : AT_FDCWD; AT_FDCWD 131 maint/gnulib/tests/test-renameatu.c int fd2 = (i & 2) ? dfd : AT_FDCWD; AT_FDCWD 45 maint/gnulib/tests/test-symlinkat.c static int dfd = AT_FDCWD; AT_FDCWD 80 maint/gnulib/tests/test-symlinkat.c dfd = openat (AT_FDCWD, ".", O_RDONLY); AT_FDCWD 42 maint/gnulib/tests/test-unlinkat.c static int dfd = AT_FDCWD; AT_FDCWD 46 maint/gnulib/tests/test-utimensat.c static int dfd = AT_FDCWD;