Home
last modified time | relevance | path

Searched refs:F_GETFL (Results 1 – 25 of 154) sorted by relevance

1234567

/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl01.c96 flags = fcntl(fd[2], F_GETFL, 0); in main()
105 flags = fcntl(fd[2], F_GETFL, 0); in main()
114 flags = fcntl(fd[2], F_GETFL, 0); in main()
123 flags = fcntl(fd[2], F_GETFL, 0); in main()
133 flags = fcntl(fd[2], F_GETFL, 0); in main()
Dfcntl04.c23 TEST(fcntl(fd, F_GETFL, 0)); in verify_fcntl()
/external/python/cpython3/Python/
Ddup2.c23 if (fcntl(fd1, F_GETFL) < 0) in dup2()
25 if (fcntl(fd2, F_GETFL) >= 0) in dup2()
/external/python/cpython2/Python/
Ddup2.c23 if (fcntl(fd1, F_GETFL) < 0) in dup2()
25 if (fcntl(fd2, F_GETFL) >= 0) in dup2()
/external/ltp/testcases/kernel/syscalls/eventfd2/
Deventfd2_02.c97 fl = fcntl(fd, F_GETFL); in main()
110 fl = fcntl(fd, F_GETFL); in main()
/external/grpc-grpc/src/core/lib/iomgr/
Dendpoint_pair_posix.cc44 flags = fcntl(sv[0], F_GETFL, 0); in create_sockets()
46 flags = fcntl(sv[1], F_GETFL, 0); in create_sockets()
/external/ltp/testcases/kernel/syscalls/socket/
Dsocket02.c33 {SOCK_STREAM, 0, F_GETFL, "no non-blocking"},
34 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
/external/perfetto/src/base/
Dpipe.cc45 int cur_flags = fcntl(*p.rd, F_GETFL, 0); in Create()
51 int cur_flags = fcntl(*p.wr, F_GETFL, 0); in Create()
/external/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd03.c143 fl = fcntl(fd, F_GETFL); in main()
161 fl = fcntl(fd, F_GETFL); in main()
/external/ltp/testcases/kernel/syscalls/inotify_init/
Dinotify_init1_02.c141 fl = fcntl(fd, F_GETFL); in main()
158 fl = fcntl(fd, F_GETFL); in main()
/external/ltp/testcases/kernel/syscalls/signalfd4/
Dsignalfd4_02.c146 fl = fcntl(fd, F_GETFL); in main()
164 fl = fcntl(fd, F_GETFL); in main()
/external/ltp/testcases/kernel/syscalls/socketpair/
Dsocketpair02.c36 {SOCK_STREAM, 0, F_GETFL, "no non-blocking"},
37 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
/external/ltp/testcases/kernel/syscalls/pipe2/
Dpipe2_02.c140 fl = fcntl(fds[i], F_GETFL); in main()
158 fl = fcntl(fds[i], F_GETFL); in main()
/external/crosvm/sys_util/src/
Dfile_flags.rs7 use libc::{fcntl, EINVAL, F_GETFL, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY};
22 let flags = unsafe { fcntl(file.as_raw_fd(), F_GETFL) }; in from_file()
Dterminal.rs10 c_int, fcntl, isatty, read, tcgetattr, tcsetattr, termios, ECHO, F_GETFL, F_SETFL, ICANON,
42 let ret = unsafe { fcntl(fd, F_GETFL) }; in get_flags()
/external/strace/xlat/
Dfcntlcmds.h27 #if defined(F_GETFL) || (defined(HAVE_DECL_F_GETFL) && HAVE_DECL_F_GETFL)
29 static_assert((F_GETFL) == (3), "F_GETFL != 3");
32 # define F_GETFL 3
402 XLAT(F_GETFL),
/external/grpc-grpc/test/core/end2end/fixtures/
Dh2_fd.cc45 flags = fcntl(sv[0], F_GETFL, 0); in create_sockets()
47 flags = fcntl(sv[1], F_GETFL, 0); in create_sockets()
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_rewrite_test.c110 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND)); in stage_rewrite_test()
154 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND)); in stage_rewrite_test()
/external/grpc-grpc/test/core/iomgr/
Dtcp_posix_test.cc68 flags = fcntl(sv[0], F_GETFL, 0); in create_sockets()
70 flags = fcntl(sv[1], F_GETFL, 0); in create_sockets()
105 int flags = fcntl(sv[0], F_GETFL, 0); in create_inet_sockets()
107 flags = fcntl(sv[1], F_GETFL, 0); in create_inet_sockets()
351 flags = fcntl(fd, F_GETFL, 0); in drain_socket_blocking()
376 flags = fcntl(fd, F_GETFL, 0); in drain_socket_blocking()
Dfd_posix_test.cc73 flags = fcntl(fd, F_GETFL, 0); in create_test_socket()
203 flags = fcntl(fd, F_GETFL, 0); in listen_cb()
452 flags = fcntl(sv[0], F_GETFL, 0); in test_grpc_fd_change()
454 flags = fcntl(sv[1], F_GETFL, 0); in test_grpc_fd_change()
/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_nonblock.c112 sflag = fcntl(lstn_sk, F_GETFL, 0); in main()
132 cflag = fcntl(sk, F_GETFL, 0); in main()
/external/libdaemon/libdaemon/
Ddnonblock.c37 if ((a = fcntl(fd, F_GETFL)) < 0) in daemon_nonblock()
/external/libusb/libusb/os/
Dpoll_posix.c36 ret = fcntl(pipefd[1], F_GETFL); in usbi_pipe()
/external/adhd/cras/src/common/
Dcras_util.c78 fl = fcntl(fd, F_GETFL); in cras_make_fd_nonblocking()
90 fl = fcntl(fd, F_GETFL); in cras_make_fd_blocking()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnetutil.cc50 int flags = fcntl(fd, F_GETFL); in setBlocking()

1234567