/external/valgrind/memcheck/tests/darwin/ |
D | pth-undocumented.c | 21 int __pthread_fchdir(int dirfd) in __pthread_fchdir() argument 23 return syscall(SYS___pthread_fchdir, dirfd); in __pthread_fchdir() 28 int dirfd; in main() local 30 dirfd = open("/", O_RDONLY); in main() 31 if (dirfd == -1) in main() 37 if (__pthread_fchdir(dirfd)) in main()
|
/external/toybox/toys/other/ |
D | lspci.c | 44 int dirfd; local 50 if (-1 == (dirfd = openat(dirtree_parentfd(new), new->name, O_RDONLY))) 56 if (readlinkat(dirfd, "driver", driver, sizeof(driver))) {}; 62 if (-1 == (fd = openat(dirfd, *fields, O_RDONLY))) { 63 close(dirfd); 73 close(dirfd);
|
D | acpi.c | 35 int read_int_at(int dirfd, char *name) 40 if ((fd = openat(dirfd, name, O_RDONLY)) < 0) return -1;
|
/external/toybox/lib/ |
D | portability.h | 123 int fstatat64(int dirfd, const char *pathname, void *buf, int flags); 124 int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz); 127 int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags); 128 int openat(int dirfd, const char *pathname, int flags, ...); 132 int fchownat(int dirfd, const char *pathname, 135 int unlinkat(int dirfd, const char *pathname, int flags);
|
D | xwrap.c | 344 int try = 9999, dirfd = open("/", 0);; in xabspath() local 376 } else len=readlinkat(dirfd, new->str, buf, 4096); in xabspath() 392 fd = openat(dirfd, s, 0); in xabspath() 394 close(dirfd); in xabspath() 395 dirfd = fd; in xabspath() 404 close(dirfd); in xabspath() 405 dirfd = open("/", 0); in xabspath() 418 close(dirfd); in xabspath() 447 close(dirfd); in xabspath()
|
D | lib.h | 150 char *readfileat(int dirfd, char *name, char *buf, off_t len);
|
D | lib.c | 355 char *readfileat(int dirfd, char *name, char *ibuf, off_t len) in readfileat() argument 360 if (-1 == (fd = openat(dirfd, name, O_RDONLY))) return 0; in readfileat()
|
/external/toybox/toys/posix/ |
D | ls.c | 297 static void listfiles(int dirfd, struct dirtree *indir) in listfiles() argument 318 indir->data = dup(dirfd); in listfiles() 472 if (fstatat(dirfd, sort[next]->symlink, &st2, 0)) color = 256+31; in listfiles() 501 listfiles(openat(dirfd, sort[ul]->name, 0), sort[ul]); in listfiles() 504 if (dirfd != AT_FDCWD) close(dirfd); in listfiles()
|
/external/openssh/openbsd-compat/ |
D | bsd-closefrom.c | 84 fd >= 0 && fd < INT_MAX && fd >= lowfd && fd != dirfd(dirp)) in closefrom()
|
D | getcwd.c | 148 if (!(dir = opendir(up)) || fstat(dirfd(dir), &s)) in getcwd()
|
/external/e2fsprogs/contrib/ |
D | spd_readdir.c | 451 int dirfd(DIR *dir) in dirfd() function
|
/external/lldb/source/Host/common/ |
D | FileSpec.cpp | 913 long path_max = fpathconf (dirfd (dir_path_dir.get()), _PC_NAME_MAX); in EnumerateDirectory()
|
/external/ltrace/etc/ |
D | libc.so.conf | 71 int dirfd(DIR *);
|
/external/compiler-rt/lib/msan/tests/ |
D | msan_test.cc | 719 int dirfd = open(DIR_TO_READ, O_RDONLY); in TEST() local 720 ASSERT_GT(dirfd, 0); in TEST() 721 int res = fstatat(dirfd, SUBFILE_TO_READ, st, 0); in TEST() 726 close(dirfd); in TEST()
|
/external/bison/ |
D | maint.mk | 682 _de1 = dirfd|(close|(fd)?open|read|rewind|seek|tell)dir(64)?(_r)?
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interceptors.cc | 85 extern "C" int dirfd(void *dirp); 1921 int fd = dirfd(dirp); in TSAN_INTERCEPTOR()
|
/external/openssh/ |
D | config.h.in | 379 /* Define to 1 if you have the `dirfd' function. */
|
D | configure.ac | 1626 dirfd \
|
D | configure | 16470 dirfd \
|
/external/google-breakpad/src/third_party/lss/ |
D | linux_syscall_support.h | 3942 LSS_INLINE _syscall4(int, newfstatat, int, dirfd, const char *, pathname,
|
/external/compiler-rt/lib/dfsan/ |
D | libc_ubuntu1404_abilist.txt | 1553 fun:dirfd=uninstrumented
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-darwin.c | 9294 PRE_REG_READ5(int, "getattrlistbulk", int, dirfd, void*, list, in PRE()
|
/external/valgrind/ |
D | NEWS | 846 307103 sys_openat: If pathname is absolute, then dirfd is ignored.
|
/external/sqlite/dist/ |
D | sqlite3.c | 29060 int dirfd; 29063 rc = osOpenDirectory(pFile->zPath, &dirfd); 29064 if( rc==SQLITE_OK && dirfd>=0 ){ 29065 full_fsync(dirfd, 0, 0); 29066 robust_close(pFile, dirfd, __LINE__);
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 29042 int dirfd; 29045 rc = osOpenDirectory(pFile->zPath, &dirfd); 29046 if( rc==SQLITE_OK && dirfd>=0 ){ 29047 full_fsync(dirfd, 0, 0); 29048 robust_close(pFile, dirfd, __LINE__);
|