Home
last modified time | relevance | path

Searched refs:openat (Results 1 – 25 of 71) sorted by relevance

123

/third_party/musl/libc-test/src/functionalext/supplement/fcntl/
Dopenat.c28 int ret = openat(0, "/dev/null", O_CREAT); in openat_0100()
31 ret = openat(0, "/dev/null", O_TMPFILE); in openat_0100()
34 ret = openat(0, "/dev/null", O_RDONLY, TEST_MODE); in openat_0100()
45 int ret = openat(0, "openat_test", O_CREAT); in openat_0200()
48 ret = openat(0, "openat_test", O_TMPFILE); in openat_0200()
51 ret = openat(0, "openat_test", O_RDONLY, TEST_MODE); in openat_0200()
Dtest_src_functionalext_supplement_fcntl.gni19 "openat",
/third_party/ltp/testcases/kernel/syscalls/openat/
Dopenat02.c122 TEST(openat(AT_FDCWD, TEST_FILE, O_APPEND | O_RDWR, 0777)); in testfunc_append()
153 TEST(openat(AT_FDCWD, TEST_FILE, O_CLOEXEC | O_RDWR, 0777)); in testfunc_cloexec()
209 TEST(openat(AT_FDCWD, LARGE_FILE, O_LARGEFILE | O_RDONLY, 0777)); in testfunc_largefile()
244 TEST(openat(AT_FDCWD, TEST_FILE, O_NOATIME | O_RDONLY, 0777)); in testfunc_noatime()
265 TEST(openat(AT_FDCWD, SFILE, O_NOFOLLOW | O_RDONLY, 0777)); in testfunc_nofollow()
279 TEST(openat(AT_FDCWD, TEST_FILE, O_TRUNC | O_RDWR, 0777)); in testfunc_trunc()
Dopenat.h29 int openat(int dirfd, const char *pathname, int flags, mode_t mode) in openat() function
Dopenat03.c52 int fd = openat(AT_FDCWD, ".", O_TMPFILE | O_RDWR, 0600); in setup()
66 int fd = openat(AT_FDCWD, ".", O_TMPFILE | O_RDWR, mode); in openat_tmp()
/third_party/musl/libc-test/src/functionalext/supplement/stat/
Dfutimesat.c37 int fd = openat(dir_fd, "test.txt", O_CREAT | O_RDWR | O_EXCL, 0666); in futimesat_0100()
89 int fd = openat(dir_fd, "test.txt", O_CREAT | O_RDWR | O_EXCL, 0666); in futimesat_0200()
144 int fd = openat(dir_fd, "test.txt", O_CREAT | O_RDWR | O_EXCL, 0666); in futimesat_time64_0200()
/third_party/musl/porting/linux/user/include/fortify/
Dfcntl.h36 int __openat_real(int, const char*, int, ...) __DIAGNOSE_RENAME(openat);
64 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags) in openat() function
76 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, mode_t modes) in openat() function
/third_party/musl/src/fcntl/
Dopenat.c5 int openat(int fd, const char *filename, int flags, ...) in openat() function
19 weak_alias(openat, openat64);
/third_party/ltp/testcases/network/nfs/nfs_stress/
Dnfs05_make_tree.c142 fd = openat(dirfd, "makefile", O_CREAT | O_RDWR, in thread_fn()
156 fd = openat(dirfd, cfile, O_CREAT | O_RDWR, in thread_fn()
173 dirfd = openat(dirfd, "dir", O_DIRECTORY); in thread_fn()
/third_party/flutter/engine/flutter/shell/platform/fuchsia/runtime/dart/utils/
Dfiles.cc62 int fd = openat(dirfd, path.c_str(), O_RDONLY); in ReadFileToStringAt()
69 int fd = openat(AT_FDCWD, path.c_str(), O_CREAT | O_TRUNC | O_WRONLY, 0666); in WriteFile()
/third_party/musl/libc-test/src/functionalext/fortify/
Dfcntl_ext.c115 int fd = openat(AT_FDCWD, "/proc/version", O_RDWR | O_CREAT, FILE_MODE_ALL); in openat_0010()
142 openat(AT_FDCWD, "/proc/version", flags); in openat_0020()
176 openat(AT_FDCWD, "/proc/version", flags); in openat_0030()
/third_party/toybox/toys/other/
Dlspci.c50 if (-1 == (dirfd = openat(dirtree_parentfd(new), new->name, O_RDONLY)))
61 if (-1 == (fd = openat(dirfd, *fields, O_RDONLY))) {
Dacpi.c37 if ((fd = openat(dirfd, name, O_RDONLY)) < 0) return -1;
56 if ((fd = openat(dfd, "type", O_RDONLY)) < 0) goto done; in acpi_callback()
/third_party/musl/porting/liteos_a/kernel/include/
Dfcntl.h36 int openat(int, const char *, int, ...);
196 #define openat64 openat
/third_party/musl/porting/uniproton/kernel/include/
Dfcntl.h35 int openat(int, const char *, int, ...);
204 #define openat64 openat
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dfcntl.h35 int openat(int, const char *, int, ...);
204 #define openat64 openat
/third_party/musl/porting/linux/user/include/
Dfcntl.h36 int openat(int, const char *, int, ...);
205 #define openat64 openat
/third_party/musl/porting/liteos_m/kernel/include/
Dfcntl.h35 int openat(int, const char *, int, ...);
204 #define openat64 openat
/third_party/musl/porting/liteos_m/user/include/
Dfcntl.h35 int openat(int, const char *, int, ...);
204 #define openat64 openat
/third_party/musl/ndk_musl_include/
Dfcntl.h35 int openat(int, const char *, int, ...);
204 #define openat64 openat
/third_party/musl/include/
Dfcntl.h35 int openat(int, const char *, int, ...);
204 #define openat64 openat
/third_party/ltp/lib/
Dtst_safe_file_at.c46 fd = openat(dirfd, path, oflags, mode); in safe_openat()
86 const int fd = openat(dirfd, path, O_WRONLY); in tst_file_vprintfat()
/third_party/flutter/engine/flutter/fml/platform/posix/
Dfile_posix.cc89 FML_HANDLE_EINTR(::openat(base_directory.get(), path, flags, mode))}; in OpenFile()
115 ::openat(base_directory.get(), path, O_RDONLY | O_DIRECTORY))}; in OpenDirectory()
/third_party/ltp/include/lapi/syscalls/
Dhppa.in2 openat 275
/third_party/ltp/testcases/kernel/syscalls/
DMakefile27 mq_timedsend mq_unlink mmap mremap open openat profil ptrace quotactl \

123