Home
last modified time | relevance | path

Searched refs:F_GETFL (Results 1 – 25 of 168) 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()
/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/perfetto/src/base/
Dpipe.cc42 int cur_flags = fcntl(*p.rd, F_GETFL, 0); in Create()
48 int cur_flags = fcntl(*p.wr, F_GETFL, 0); in Create()
/external/ltp/testcases/kernel/syscalls/socket/
Dsocket02.c45 {SOCK_STREAM, 0, F_GETFL, "no non-blocking"},
46 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
/external/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd03.c143 fl = fcntl(fd, F_GETFL); in main()
161 fl = fcntl(fd, F_GETFL); in main()
Dtimerfd01.c253 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) | O_NONBLOCK); in main()
265 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) & ~O_NONBLOCK); 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/pipe2/
Dpipe2_02.c140 fl = fcntl(fds[i], F_GETFL); in main()
158 fl = fcntl(fds[i], F_GETFL); in main()
/external/ltp/testcases/kernel/syscalls/socketpair/
Dsocketpair02.c48 {SOCK_STREAM, 0, F_GETFL, "no non-blocking"},
49 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
/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/adhd/cras/src/common/
Dcras_util.c77 fl = fcntl(fd, F_GETFL); in cras_make_fd_nonblocking()
89 fl = fcntl(fd, F_GETFL); in cras_make_fd_blocking()
/external/libdaemon/libdaemon/
Ddnonblock.c37 if ((a = fcntl(fd, F_GETFL)) < 0) in daemon_nonblock()
/external/u-boot/arch/sandbox/cpu/
Deth-raw-os.c64 flags = fcntl(priv->sd, F_GETFL, 0); in _raw_packet_start()
128 flags = fcntl(priv->sd, F_GETFL, 0); in _local_inet_start()
/external/python/cpython2/Lib/
Dposixfile.py133 cur_fl = fcntl.fcntl(file.fileno(), fcntl.F_GETFL, 0)
145 l_flags = fcntl.fcntl(file.fileno(), fcntl.F_GETFL, 0)
/external/libusb/libusb/os/
Dpoll_posix.c36 ret = fcntl(pipefd[1], F_GETFL); in usbi_pipe()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnetutil.cc50 int flags = fcntl(fd, F_GETFL); in setBlocking()

1234567