/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl01.c | 97 flags = fcntl(fd[2], F_GETFL, 0); in main() 106 flags = fcntl(fd[2], F_GETFL, 0); in main() 115 flags = fcntl(fd[2], F_GETFL, 0); in main() 124 flags = fcntl(fd[2], F_GETFL, 0); in main() 134 flags = fcntl(fd[2], F_GETFL, 0); in main()
|
/third_party/ltp/testcases/kernel/syscalls/eventfd2/ |
H A D | eventfd2_02.c | 25 flags = SAFE_FCNTL(fd, F_GETFL); in run() 30 flags = SAFE_FCNTL(fd, F_GETFL); in run()
|
/third_party/ltp/testcases/kernel/syscalls/inotify_init/ |
H A D | inotify_init1_02.c | 28 flags = SAFE_FCNTL(fd, F_GETFL); in run() 34 flags = SAFE_FCNTL(fd, F_GETFL); in run()
|
/third_party/python/Python/ |
H A D | dup2.c | 25 if (fcntl(fd1, F_GETFL) < 0) in dup2() 27 if (fcntl(fd2, F_GETFL) >= 0) in dup2()
|
/third_party/ltp/testcases/kernel/syscalls/pipe2/ |
H A D | pipe2_01.c | 39 {O_DIRECT, F_GETFL, 0, "Test pipe2 using O_DIRECT flag"}, 40 {O_NONBLOCK, F_GETFL, 1, "Test pipe2 using O_NONBLOCK flag"},
|
H A D | pipe2_02_child.c | 22 if (fcntl(fd, F_GETFL) < 0 && errno == EBADF) in main()
|
/third_party/ltp/testcases/kernel/syscalls/signalfd4/ |
H A D | signalfd4_02.c | 141 fl = fcntl(fd, F_GETFL); in main() 159 fl = fcntl(fd, F_GETFL); in main()
|
/third_party/ltp/testcases/kernel/syscalls/socketpair/ |
H A D | socketpair02.c | 35 {SOCK_STREAM, 0, F_GETFL, "no non-blocking"}, 36 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
|
/third_party/ltp/testcases/kernel/syscalls/socket/ |
H A D | socket02.c | 32 {SOCK_STREAM, 0, F_GETFL, "no non-blocking"}, 33 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
|
/third_party/ltp/testcases/kernel/syscalls/timerfd/ |
H A D | timerfd03.c | 137 fl = fcntl(fd, F_GETFL); in main() 155 fl = fcntl(fd, F_GETFL); in main()
|
/third_party/mbedtls/library/ |
H A D | net_sockets.c | 326 if ((lwip_fcntl(ctx->fd, F_GETFL, 0) & O_NONBLOCK) != O_NONBLOCK) { 328 if ((fcntl(ctx->fd, F_GETFL) & O_NONBLOCK) != O_NONBLOCK) { 468 return lwip_fcntl(ctx->fd, F_SETFL, lwip_fcntl(ctx->fd, F_GETFL, 0) & ~O_NONBLOCK); 470 return fcntl(ctx->fd, F_SETFL, fcntl(ctx->fd, F_GETFL) & ~O_NONBLOCK); 483 return lwip_fcntl(ctx->fd, F_SETFL, lwip_fcntl(ctx->fd, F_GETFL, 0) | O_NONBLOCK); 485 return fcntl(ctx->fd, F_SETFL, fcntl(ctx->fd, F_GETFL) | O_NONBLOCK);
|
/third_party/musl/libc-test/src/functionalext/supplement/fcntl/fcntl_gtest/ |
H A D | fcntl_fcntl_test.cpp | 94 * @tc.desc: Verify that the fcntl interface, when used with the F_GETFL parameter, retrieves the flag information of 103 int fdFlags = fcntl(fd, F_GETFL); in HWTEST_F() 154 * @tc.desc: Verify that the fcntl interface, when used with the F_GETFL and F_SETFL parameters, can retrieve and set 163 int fdFlags = fcntl(fd, F_GETFL); in HWTEST_F() 169 int updatedFlags = fcntl(fd, F_GETFL); in HWTEST_F()
|
/third_party/musl/porting/linux/user/src/stdio/ |
H A D | __fdopen.c | 73 int flags = syscall(SYS_fcntl, fd, F_GETFL, 0); in __fdopen() 89 flags = __syscall(SYS_fcntl, fd, F_GETFL); in __fdopen()
|
/third_party/musl/src/stdio/ |
H A D | __fdopen.c | 73 int flags = syscall(SYS_fcntl, fd, F_GETFL, 0); in __fdopen() 89 flags = __syscall(SYS_fcntl, fd, F_GETFL); in __fdopen()
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares_event_wake_pipe.c | 83 val = fcntl(p->filedes[0], F_GETFL, 0); in ares_pipeevent_init() 89 val = fcntl(p->filedes[1], F_GETFL, 0); in ares_pipeevent_init()
|
/third_party/ltp/testcases/kernel/security/tomoyo/ |
H A D | tomoyo_rewrite_test.c | 110 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()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_hilog.cpp | 75 if (g_socketFd == INVALID_SOCKET || fcntl(g_socketFd, F_GETFL) == -1) { in GetSocketFdInstance() 78 if (g_socketFd == INVALID_SOCKET || fcntl(g_socketFd, F_GETFL) == -1) { in GetSocketFdInstance()
|
/third_party/musl/porting/liteos_m/kernel/include/bits/ |
H A D | fcntl.h | 25 #define F_GETFL 3 macro
|
/third_party/musl/porting/liteos_a/kernel/include/bits/ |
H A D | fcntl.h | 30 #define F_GETFL 3 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/ |
H A D | fcntl.h | 25 #define F_GETFL 3 macro
|
/third_party/musl/porting/liteos_m/user/include/bits/ |
H A D | fcntl.h | 25 #define F_GETFL 3 macro
|
/third_party/musl/porting/uniproton/kernel/include/bits/ |
H A D | fcntl.h | 25 #define F_GETFL 3 macro
|
/third_party/musl/arch/aarch64/bits/ |
H A D | fcntl.h | 25 #define F_GETFL 3 macro
|
/third_party/musl/arch/generic/bits/ |
H A D | fcntl.h | 25 #define F_GETFL 3 macro
|
/third_party/musl/arch/m68k/bits/ |
H A D | fcntl.h | 25 #define F_GETFL 3 macro
|