/bionic/tests/ |
D | fcntl_test.cpp | 34 TEST(fcntl, fcntl_smoke) { in TEST() argument 38 int flags = fcntl(fd, F_GETFD); in TEST() 42 int rc = fcntl(fd, F_SETFD, FD_CLOEXEC); in TEST() 45 flags = fcntl(fd, F_GETFD); in TEST() 52 TEST(fcntl, open_open64) { in TEST() argument 64 TEST(fcntl, openat_openat64) { in TEST() argument 76 TEST(fcntl, creat_creat64) { in TEST() argument 83 TEST(fcntl, posix_fadvise) { in TEST() argument 103 TEST(fcntl, fallocate_EINVAL) { in TEST() argument 126 TEST(fcntl, fallocate) { in TEST() argument [all …]
|
D | _FILE_OFFSET_BITS_test.cpp | 35 TEST(fcntl, f_getlk_FOB64) { in TEST() argument 45 ASSERT_EQ(0, fcntl(fd, F_GETLK, &check_lock)); in TEST()
|
D | fdtrack_test.cpp | 218 FDTRACK_TEST_NAME(fcntl_F_DUPFD, "F_DUPFD", fcntl(STDOUT_FILENO, F_DUPFD, 0)); 219 FDTRACK_TEST_NAME(fcntl_F_DUPFD_CLOEXEC, "F_DUPFD_CLOEXEC", fcntl(STDOUT_FILENO, F_DUPFD_CLOEXEC, 0…
|
D | sys_mman_test.cpp | 281 int f = fcntl(fd, F_GETFD); in TEST() 288 f = fcntl(fd, F_GETFD); in TEST()
|
D | utils.h | 194 int flags = fcntl(fd, F_GETFD); in AssertCloseOnExec()
|
D | clang_fortify_tests.cpp | 273 FORTIFY_TEST(fcntl) { in FORTIFY_TEST() argument
|
/bionic/libc/bionic/ |
D | lockf.cpp | 46 return fcntl(fd, F_SETLK64, &fl); in lockf64() 51 return fcntl(fd, F_SETLKW64, &fl); in lockf64() 56 return fcntl(fd, F_SETLK64, &fl); in lockf64() 61 if (fcntl(fd, F_GETLK64, &fl) == -1) return -1; in lockf64()
|
D | fcntl.cpp | 38 int fcntl(int fd, int cmd, ...) { in fcntl() function 61 int fcntl(int fd, int cmd, ...) { in fcntl() function
|
D | dup.cpp | 46 if (fcntl(old_fd, F_GETFD) == -1) { in dup2()
|
D | flistxattr.cpp | 50 int fd_flag = fcntl(fd, F_GETFL); in flistxattr()
|
D | fchmod.cpp | 55 int fd_flag = fcntl(fd, F_GETFL); in fchmod()
|
D | fsetxattr.cpp | 50 int fd_flag = fcntl(fd, F_GETFL); in fsetxattr()
|
D | fgetxattr.cpp | 51 int fd_flag = fcntl(fd, F_GETFL); in fgetxattr()
|
D | libc_init_common.cpp | 157 int status = TEMP_FAILURE_RETRY(fcntl(i, F_GETFL)); in __nullify_closed_stdio()
|
/bionic/libc/include/bits/ |
D | fcntl.h | 46 int fcntl(int __fd, int __cmd, ...);
|
/bionic/libc/ |
D | SECCOMP_ALLOWLIST_APP.TXT | 34 int fcntl:fcntl(int fd, int cmd, ... /* arg */ ) lp32
|
/bionic/tests/headers/posix/ |
D | fcntl_h.c | 115 FUNCTION(fcntl, int (*f)(int, int, ...)); in fcntl_h()
|
/bionic/libc/stdio/ |
D | stdio.cpp | 280 int fd_flags = fcntl(fd, F_GETFL, 0); in fdopen() 291 if (fcntl(fd, F_SETFL, fd_flags | O_APPEND) == -1) return nullptr; in fdopen() 295 if ((mode_flags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen() 296 fcntl(fd, F_SETFD, tmp | FD_CLOEXEC); in fdopen() 1212 int new_fd = fcntl(fds[child], F_DUPFD_CLOEXEC, 0); in popen()
|
/bionic/benchmarks/tests/ |
D | interface_test.cpp | 81 ASSERT_NE(-1, fcntl(fds[0], F_SETFL, O_NONBLOCK)); in Exec()
|
/bionic/libc/dns/resolv/ |
D | res_send.c | 986 origflags = fcntl(sock, F_GETFL, 0); in connect_with_timeout() 987 fcntl(sock, F_SETFL, origflags | O_NONBLOCK); in connect_with_timeout() 1007 fcntl(sock, F_SETFL, origflags); in connect_with_timeout()
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_065.S | 156 CALL(fcntl)
|
D | liblinker_reloc_bench_024.S | 343 CALL(fcntl)
|
D | liblinker_reloc_bench_076.S | 304 CALL(fcntl)
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 73 ASSERT_NE(-1, fcntl(fds[0], F_SETFL, O_NONBLOCK)); in Exec()
|
/bionic/libc/tools/ |
D | posix-2013.txt | 234 fcntl
|