/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 | dup2.cpp | 37 if (fcntl(old_fd, F_GETFD) == -1) { in dup2()
|
D | flistxattr.cpp | 49 int fd_flag = fcntl(fd, F_GETFL); in flistxattr()
|
D | fchmod.cpp | 54 int fd_flag = fcntl(fd, F_GETFL); in fchmod()
|
D | fgetxattr.cpp | 49 int fd_flag = fcntl(fd, F_GETFL); in fgetxattr()
|
D | fsetxattr.cpp | 49 int fd_flag = fcntl(fd, F_GETFL); in fsetxattr()
|
D | legacy_32_bit_support.cpp | 51 int fcntl(int fd, int cmd, ...) { in fcntl() function
|
D | libc_init_common.cpp | 145 int status = TEMP_FAILURE_RETRY(fcntl(i, F_GETFL)); in __nullify_closed_stdio()
|
D | getentropy_linux.c | 251 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in getentropy_urandom()
|
D | libc_logging.cpp | 467 if (fcntl(log_fd, F_SETFL, O_NONBLOCK) == -1) { in __libc_open_log_socket()
|
/bionic/tests/ |
D | fcntl_test.cpp | 24 TEST(fcntl, fcntl_smoke) { in TEST() argument 28 int flags = fcntl(fd, F_GETFD); in TEST() 32 int rc = fcntl(fd, F_SETFD, FD_CLOEXEC); in TEST() 35 flags = fcntl(fd, F_GETFD); in TEST() 42 TEST(fcntl, open_open64) { in TEST() argument 54 TEST(fcntl, openat_openat64) { in TEST() argument 66 TEST(fcntl, creat_creat64) { in TEST() argument 73 TEST(fcntl, posix_fadvise) { in TEST() argument 93 TEST(fcntl, fallocate_EINVAL) { in TEST() argument 116 TEST(fcntl, fallocate) { in TEST() argument [all …]
|
D | stdlib_test.cpp | 250 int flags = fcntl(tf.fd, F_GETFD); in TEST() 257 int flags = fcntl(tf.fd, F_GETFD); in TEST() 266 ASSERT_EQ(O_LARGEFILE, fcntl(tf.fd, F_GETFL) & O_LARGEFILE); in TEST()
|
D | sys_socket_test.cpp | 110 ASSERT_EQ(FD_CLOEXEC, fcntl(fd_acc, F_GETFD) & FD_CLOEXEC); in TestAccept4()
|
D | stdio_test.cpp | 883 int flags = fcntl(fd, F_GETFD); in TEST() 891 flags = fcntl(fileno(fp), F_GETFD); in TEST() 904 int flags = fcntl(fileno(fp), F_GETFD); in TEST() 911 flags = fcntl(fileno(fp), F_GETFD); in TEST()
|
/bionic/libc/arch-arm64/syscalls/ |
D | fcntl.S | 5 ENTRY(fcntl) 14 END(fcntl)
|
/bionic/libc/arch-x86_64/syscalls/ |
D | fcntl.S | 5 ENTRY(fcntl) 15 END(fcntl)
|
/bionic/libc/arch-mips64/syscalls/ |
D | fcntl.S | 5 ENTRY(fcntl) 25 END(fcntl)
|
/bionic/libc/include/ |
D | fcntl.h | 66 extern int fcntl(int, int, ...);
|
D | unistd.h | 164 extern int fcntl(int __fd, int __cmd, ...);
|
/bionic/libc/stdio/ |
D | stdio.cpp | 233 int fdflags = fcntl(fd, F_GETFL, 0); in fdopen() 248 if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen() 249 fcntl(fd, F_SETFD, tmp | FD_CLOEXEC); in fdopen()
|
/bionic/libc/dns/resolv/ |
D | res_send.c | 984 origflags = fcntl(sock, F_GETFL, 0); in connect_with_timeout() 985 fcntl(sock, F_SETFL, origflags | O_NONBLOCK); in connect_with_timeout() 1006 fcntl(sock, F_SETFL, origflags); in connect_with_timeout()
|
/bionic/libc/ |
D | libc.arm64.map | 279 fcntl;
|
D | libc.mips64.map | 279 fcntl;
|
D | libc.x86_64.map | 279 fcntl;
|
/bionic/libc/tools/ |
D | posix-2013.txt | 234 fcntl
|