Home
last modified time | relevance | path

Searched refs:AT_FDCWD (Results 1 – 25 of 41) sorted by relevance

12

/external/valgrind/memcheck/tests/solaris/
Dsyscall_at.c27 linkat(AT_FDCWD, FILENAME, AT_FDCWD, FILENAME, 0); in main()
33 symlinkat(FILENAME, AT_FDCWD, FILENAME); in main()
39 readlinkat(AT_FDCWD, FILENAME, buf, 1); in main()
46 syscall(SYS_frealpathat, AT_FDCWD, FILENAME, buf, 1); in main()
52 faccessat(AT_FDCWD, FILENAME, F_OK, 0); in main()
58 fchownat(AT_FDCWD, FILENAME, -1, -1, 0); in main()
64 renameat(AT_FDCWD, FILENAME, AT_FDCWD, FILENAME); in main()
70 unlinkat(AT_FDCWD, FILENAME, 0); in main()
76 fstatat(AT_FDCWD, FILENAME, &stats, 0); in main()
82 openat(AT_FDCWD, FILENAME, O_RDONLY); in main()
[all …]
/external/bison/lib/
Dfcntl.in.h314 #if 0 < AT_FDCWD && AT_FDCWD == 0xffd19553
315 # undef AT_FDCWD
321 #ifndef AT_FDCWD
322 # define AT_FDCWD (-3041965)
/external/strace/tests/
Dutimensat.c39 && defined AT_FDCWD && defined AT_SYMLINK_NOFOLLOW \
61 if (!utimensat(AT_FDCWD, "utimensat\nfilename", ts, in main()
75 if (!utimensat(AT_FDCWD, "utimensat\nfilename", ts, in main()
Dfanotify_mark.expected1 fanotify_mark\(-1, FAN_MARK_ADD, FAN_MODIFY\|FAN_ONDIR, AT_FDCWD, "\."\) += -1.*
Dexecveat.expected1 execveat\(AT_FDCWD, "execveat\\nfilename", \["execveat\\nfilename", "first", "second"\], \[/\* 2 va…
Dexecveat-v.expected1 execveat\(AT_FDCWD, "execveat\\nfilename", \["execveat\\nfilename", "first", "second"\], \["foobar=…
Dfstatat.c33 fstatat(AT_FDCWD, sample, pst, AT_SYMLINK_NOFOLLOW)
Dfile_handle.c45 const int dirfd = AT_FDCWD; in main()
/external/toybox/toys/posix/
Dcp.c145 int fdout = -1, cfd = try->parent ? try->parent->extra : AT_FDCWD, in cp_node()
259 fdout = AT_FDCWD; in cp_node()
276 fdout = AT_FDCWD; in cp_node()
334 if (fdout == AT_FDCWD) in cp_node()
350 if (fdout == AT_FDCWD) utimensat(cfd, catch, times, AT_SYMLINK_NOFOLLOW); in cp_node()
355 if (fdout != AT_FDCWD) { in cp_node()
486 if (mkpathat(AT_FDCWD, *ss, 0777, 3)) perror_msg_raw(*ss); in install_main()
495 if (mkpathat(AT_FDCWD, TT.destname, 0, 2)) in install_main()
Dmkdir.c52 if (mkpathat(AT_FDCWD, *s, mode, toys.optflags|1))
Dcpio.c135 if (!test && strrchr(name, '/') && mkpathat(AT_FDCWD, name, 0, 2)) { in cpio_main()
210 err = utimensat(AT_FDCWD, name, times, AT_SYMLINK_NOFOLLOW); in cpio_main()
/external/strace/
Dopen.c53 #ifndef AT_FDCWD
54 # define AT_FDCWD -100 macro
63 if (fd == AT_FDCWD) in print_dirfd()
/external/bison/linux-lib/
Dfcntl.h626 #if 0 < AT_FDCWD && AT_FDCWD == 0xffd19553
627 # undef AT_FDCWD
633 #ifndef AT_FDCWD
634 # define AT_FDCWD (-3041965) macro
/external/bison/darwin-lib/
Dfcntl.h626 #if 0 < AT_FDCWD && AT_FDCWD == 0xffd19553
627 # undef AT_FDCWD
633 #ifndef AT_FDCWD
634 # define AT_FDCWD (-3041965) macro
/external/libbrillo/brillo/
Dfile_utils.cc63 AT_FDCWD, path.value().c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW))); in RegularFileOrDelete()
116 HANDLE_EINTR(openat(AT_FDCWD, in TouchFileInternal()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc137 return internal_syscall(SYSCALL(openat), AT_FDCWD, (uptr)filename, flags); in internal_open()
145 return internal_syscall(SYSCALL(openat), AT_FDCWD, (uptr)filename, flags, in internal_open()
217 return internal_syscall(SYSCALL(newfstatat), AT_FDCWD, (uptr)path, in internal_stat()
241 return internal_syscall(SYSCALL(newfstatat), AT_FDCWD, (uptr)path, in internal_lstat()
281 return internal_syscall(SYSCALL(readlinkat), AT_FDCWD, in internal_readlink()
290 return internal_syscall(SYSCALL(unlinkat), AT_FDCWD, (uptr)path, 0); in internal_unlink()
298 return internal_syscall(SYSCALL(renameat), AT_FDCWD, (uptr)oldpath, AT_FDCWD, in internal_rename()
328 if (internal_syscall(SYSCALL(newfstatat), AT_FDCWD, filename, &st, 0)) in FileExists()
/external/toybox/lib/
Dportability.h32 #ifndef AT_FDCWD
33 #define AT_FDCWD -100 macro
Ddirtree.c35 int fd = parent ? parent->dirfd : AT_FDCWD; in dirtree_add_node()
96 return node->parent ? node->parent->dirfd : AT_FDCWD; in dirtree_parentfd()
/external/valgrind/memcheck/tests/linux/
Dsys-openat.c15 __attribute__((unused)) int fd3 = openat (AT_FDCWD, "abc", O_RDONLY); in main()
Dsyscalls-2007.c63 utimensat (AT_FDCWD, "/tmp/valgrind-utimensat-test", ts2, 0); in main()
/external/kernel-headers/original/uapi/linux/
Dfcntl.h56 #define AT_FDCWD -100 /* Special value used to indicate macro
/external/libchrome/sandbox/linux/seccomp-bpf/
Dsyscall_unittest.cc175 fd = Syscall::Call(__NR_openat, AT_FDCWD, "/dev/null", O_RDWR, 0L)); in TEST()
209 fd = Syscall::Call(__NR_openat, AT_FDCWD, "/proc/self/exe", O_RDONLY, 0L), in TEST()
/external/valgrind/none/tests/solaris/
Dproc_psinfo.c27 fd = openat(AT_FDCWD, path, O_RDONLY); in test_psinfo()
Dproc_aout.c36 if ((n = readlinkat(AT_FDCWD, path, buf, sizeof(buf) - 1)) >= 0) { in test_readlinkat()
/external/toybox/toys/other/
Dinsmod.c41 char *buf = readfileat(AT_FDCWD, path, NULL, &len); in insmod_main()

12