Home
last modified time | relevance | path

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

12

/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/toybox/toys/posix/
Dcp.c106 int fdout = -1, cfd = try->parent ? try->parent->extra : AT_FDCWD,
220 fdout = AT_FDCWD;
237 fdout = AT_FDCWD;
271 if (fdout == AT_FDCWD)
283 if (fdout == AT_FDCWD) utimensat(cfd, catch, times, AT_SYMLINK_NOFOLLOW);
290 if (fdout != AT_FDCWD) xclose(fdout);
384 if (mkpathat(AT_FDCWD, *ss, 0777, 3)) perror_msg("%s", *ss); in install_main()
393 if (mkpathat(AT_FDCWD, TT.destname, 0, 2)) in install_main()
Dmkdir.c40 if (mkpathat(AT_FDCWD, *s, mode, toys.optflags|1))
Dcpio.c127 if (!test && strrchr(name, '/') && mkpathat(AT_FDCWD, name, 0, 2)) { in cpio_main()
199 err = utimensat(AT_FDCWD, name, times, AT_SYMLINK_NOFOLLOW); in cpio_main()
Dtouch.c115 if (!utimensat(AT_FDCWD, *ss, ts,
Dls.c504 if (dirfd != AT_FDCWD) close(dirfd); in listfiles()
545 listfiles(AT_FDCWD, TT.files); in ls_main()
Dpatch.c389 if (mkpathat(AT_FDCWD, name, 0, 2)) in patch_main()
/external/strace/
Dopen.c19 #ifndef AT_FDCWD
20 # define AT_FDCWD -100 macro
29 if (fd == AT_FDCWD) in print_dirfd()
/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/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/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc140 return internal_syscall(SYSCALL(openat), AT_FDCWD, (uptr)filename, flags); in internal_open()
148 return internal_syscall(SYSCALL(openat), AT_FDCWD, (uptr)filename, flags, in internal_open()
220 return internal_syscall(SYSCALL(newfstatat), AT_FDCWD, (uptr)path, in internal_stat()
244 return internal_syscall(SYSCALL(newfstatat), AT_FDCWD, (uptr)path, in internal_lstat()
284 return internal_syscall(SYSCALL(readlinkat), AT_FDCWD, in internal_readlink()
293 return internal_syscall(SYSCALL(unlinkat), AT_FDCWD, (uptr)path, 0); in internal_unlink()
301 return internal_syscall(SYSCALL(renameat), AT_FDCWD, (uptr)oldpath, AT_FDCWD, in internal_rename()
331 if (internal_syscall(SYSCALL(newfstatat), AT_FDCWD, filename, &st, 0)) in FileExists()
/external/strace/tests/
Dfanotify_mark.expected1 fanotify_mark\(-1, FAN_MARK_ADD, FAN_MODIFY\|FAN_ONDIR, AT_FDCWD, "\."\) += -1.*
/external/toybox/lib/
Dportability.h36 #ifndef AT_FDCWD
37 #define AT_FDCWD -100 macro
Ddirtree.c35 int fd = parent ? parent->data : AT_FDCWD; in dirtree_add_node()
99 return node->parent ? node->parent->data : AT_FDCWD; in dirtree_parentfd()
Dlib.c381 return readfileat(AT_FDCWD, name, ibuf, len); in readfile()
/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/valgrind/none/tests/
Dprocfs-cmdline-exe.c75 if ((n = readlinkat(AT_FDCWD, path, buf, sizeof(buf) - 1)) >= 0) in test_readlinkat()
/external/toybox/toys/other/
Dmakedevs.c93 if (mkpathat(AT_FDCWD, ptr, mode, 3)) {
/external/toybox/toys/pending/
Duseradd.c147 wfchmodat(AT_FDCWD, p, 0700);
Dmdev.c196 mkpathat(AT_FDCWD, temp, 0, 2); in make_device()
Dtar.c372 if (mkpathat(AT_FDCWD, file_hdr->name, 00, 2) && errno !=EEXIST) { in extract_to_disk()
/external/ltrace/etc/
Dsyscalls.conf6 typedef at_dirfd_t = enum[int](AT_FDCWD=-100);
/external/google-breakpad/src/third_party/lss/
Dlinux_syscall_support.h618 #ifndef AT_FDCWD
619 #define AT_FDCWD (-100) macro
3962 return LSS_NAME(openat)(AT_FDCWD, pathname, flags, mode); in LSS_NAME()
3966 return LSS_NAME(unlinkat)(AT_FDCWD, pathname, 0); in LSS_NAME()
3971 return LSS_NAME(readlinkat)(AT_FDCWD, pathname, buffer, size); in LSS_NAME()
3993 return LSS_NAME(newfstatat)(AT_FDCWD, pathname, buf, 0); in LSS_NAME()

12