/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
H A D | select.h | 50 #ifdef FD_ISSET(d, s) 51 #undef FD_ISSET(d, s) macro 52 #define FD_ISSET(d, s) !!((s)->fds_bits[(d)/(8*sizeof(long))] & (1UL<<((d)%(8*sizeof(long))))) macro
|
/kernel/liteos_a/testsuites/unittest/extended/signal/full/ |
H A D | It_ipc_fdclr_001.cpp | 60 ret = FD_ISSET(pipeFd[0][0], &reads); in Testcase() 69 ret = FD_ISSET(pipeFd[1][0], &reads); in Testcase() 71 ret = FD_ISSET(pipeFd[0][0], &reads); in Testcase() 73 ret = FD_ISSET(pipeFd[2][0], &reads); // 2, pipe return on the 2nd loop in Testcase() 75 ret = FD_ISSET(pipeFd[3][0], &reads); // 3, pipe return on the 3rd loop in Testcase()
|
H A D | It_ipc_fdset_001.cpp | 63 ret = FD_ISSET(pipeFd[0][0], &reads); in Testcase() 73 ret = FD_ISSET(pipeFd[i][0], &reads); in Testcase()
|
H A D | It_ipc_fdzero_001.cpp | 62 ret = FD_ISSET(pipeFd[0][0], &reads); in Testcase() 73 ret = FD_ISSET(pipeFd[i][0], &reads); in Testcase()
|
/kernel/liteos_a/fs/vfs/operation/ |
H A D | vfs_cloexec.c | 50 if (FD_ISSET(i, files->fdt->proc_fds) && in CloseOnExec() 51 FD_ISSET(i, files->fdt->cloexec_fds)) { in CloseOnExec() 84 isCloexec = FD_ISSET(procFd, fdt->cloexec_fds); in CheckCloexecFlag()
|
H A D | vfs_procfd.c | 69 if (!FD_ISSET(i, fdt->proc_fds)) { in AssignProcessFd() 173 if (FD_ISSET(procFd, fdt->proc_fds)) { in AllocSpecifiedProcessFd()
|
/kernel/linux/linux-5.10/tools/power/acpi/tools/acpidbg/ |
H A D | acpidbg.c | 312 if (FD_ISSET(STDIN_FILENO, &rfds)) in acpi_aml_loop() 314 if (FD_ISSET(fd, &wfds)) { in acpi_aml_loop() 320 if (FD_ISSET(fd, &rfds)) { in acpi_aml_loop() 326 if (FD_ISSET(STDOUT_FILENO, &wfds)) { in acpi_aml_loop() 350 if (ret > 0 && FD_ISSET(fd, &rfds)) in acpi_aml_readable()
|
/kernel/linux/linux-6.6/tools/power/acpi/tools/acpidbg/ |
H A D | acpidbg.c | 312 if (FD_ISSET(STDIN_FILENO, &rfds)) in acpi_aml_loop() 314 if (FD_ISSET(fd, &wfds)) { in acpi_aml_loop() 320 if (FD_ISSET(fd, &rfds)) { in acpi_aml_loop() 326 if (FD_ISSET(STDOUT_FILENO, &wfds)) { in acpi_aml_loop() 350 if (ret > 0 && FD_ISSET(fd, &rfds)) in acpi_aml_readable()
|
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/ |
H A D | It_ipc_fdisset_001.cpp | 49 ret = FD_ISSET(pipeFd[0], &reads); in Testcase() 53 printf("-------------------FD_ISSET ok------------\n"); in Testcase()
|
/kernel/linux/linux-5.10/tools/testing/selftests/android/ion/ |
H A D | ipcsocket.c | 134 if (FD_ISSET(sockfd, &selFDs)) { in sendtosocket() 188 if (FD_ISSET(sockfd, &recvFDs)) { in receivefromsocket()
|
/kernel/liteos_a/fs/vfs/epoll/ |
H A D | fs_epoll.c | 74 if (fdset && !(FD_ISSET(i, fdset))) { in EpollAllocSysFd() 103 if (fdset && FD_ISSET(efd, fdset)) { in EpollFreeSysFd()
|
/kernel/liteos_a/fs/proc/os_adapt/ |
H A D | fd_proc.c | 62 if (FD_ISSET(fd, fdt->proc_fds)) { in FillFdInfo()
|
/kernel/liteos_a/testsuites/unittest/libc/io/full/ |
H A D | IO_test_pselect_001.cpp | 52 ret = FD_ISSET(pipeFd[0], &reads); in Testcase1()
|
/kernel/linux/linux-5.10/tools/usb/ffs-aio-example/multibuff/device_app/ |
H A D | aio_multibuff.c | 316 if (FD_ISSET(ep0, &rfds)) in main() 349 if (!FD_ISSET(evfd, &rfds)) in main()
|
/kernel/linux/linux-5.10/tools/usb/ffs-aio-example/simple/device_app/ |
H A D | aio_simple.c | 293 if (FD_ISSET(ep0, &rfds)) in main() 301 if (FD_ISSET(evfd, &rfds)) { in main()
|
/kernel/linux/linux-6.6/tools/usb/ffs-aio-example/multibuff/device_app/ |
H A D | aio_multibuff.c | 316 if (FD_ISSET(ep0, &rfds)) in main() 349 if (!FD_ISSET(evfd, &rfds)) in main()
|
/kernel/linux/linux-6.6/tools/usb/ffs-aio-example/simple/device_app/ |
H A D | aio_simple.c | 311 if (FD_ISSET(ep0, &rfds)) in main() 319 if (FD_ISSET(evfd, &rfds)) { in main()
|
/kernel/linux/common_modules/newip/examples/ |
H A D | nip_udp_client_demo.c | 64 if (FD_ISSET(cfd, &readfds)) { in _recvfrom()
|
H A D | nip_tcp_client_demo.c | 63 if (FD_ISSET(cfd, &readfds)) { in _recv()
|
/kernel/linux/linux-6.6/tools/include/nolibc/ |
H A D | types.h | 142 #define FD_ISSET(fd, set) ({ \ macro
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | timestamping.c | 493 if (FD_ISSET(sock, &readfs)) in main() 495 if (FD_ISSET(sock, &errorfs)) in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | timestamping.c | 529 if (FD_ISSET(sock, &readfs)) in main() 531 if (FD_ISSET(sock, &errorfs)) in main()
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
H A D | net_socket_test_008.cpp | 143 if (gFds[i] == INVALID_SOCKET || !FD_ISSET(gFds[i], fds)) { in HandleReadfds()
|
H A D | net_socket_test_011.cpp | 122 if (gFds[i] == INVALID_SOCKET || !FD_ISSET(gFds[i], fds)) { in HandleReadfds()
|
H A D | net_socket_test_013.cpp | 124 if (gFds[i] == INVALID_SOCKET || !FD_ISSET(gFds[i], fds)) { in HandleReadfds()
|