Home
last modified time | relevance | path

Searched refs:read_set (Results 1 – 4 of 4) sorted by relevance

/system/core/fastboot/
Dsocket.cpp91 fd_set read_set; in WaitForRecv() local
92 FD_ZERO(&read_set); in WaitForRecv()
93 FD_SET(sock_, &read_set); in WaitForRecv()
99 int result = TEMP_FAILURE_RETRY(select(sock_ + 1, &read_set, nullptr, nullptr, &timeout)); in WaitForRecv()
/system/bt/udrv/ulinux/
Duipc.cc189 memset(&uipc.read_set, 0, sizeof(uipc.read_set)); in uipc_main_init()
245 if (SAFE_FD_ISSET(uipc.ch[ch_id].srvfd, &uipc.read_set)) { in uipc_check_fd_locked()
278 if (SAFE_FD_ISSET(uipc.ch[ch_id].fd, &uipc.read_set)) { in uipc_check_fd_locked()
288 if (SAFE_FD_ISSET(uipc.signal_fds[0], &uipc.read_set)) { in uipc_check_interrupt_locked()
439 uipc.read_set = uipc.active_set; in uipc_read_task()
441 result = select(uipc.max_fd + 1, &uipc.read_set, NULL, NULL, NULL); in uipc_read_task()
/system/core/adb/daemon/
Dshell_service.cpp583 fd_set read_set, write_set; in SelectLoop() local
589 memcpy(&read_set, master_read_set_ptr, sizeof(read_set)); in SelectLoop()
591 if (select(select_n, &read_set, &write_set, nullptr, nullptr) < 0) { in SelectLoop()
603 if (ValidAndInSet(stdinout_sfd_, &read_set)) { in SelectLoop()
608 if (!dead_sfd && ValidAndInSet(stderr_sfd_, &read_set)) { in SelectLoop()
613 if (!dead_sfd && ValidAndInSet(protocol_sfd_, &read_set)) { in SelectLoop()
/system/bt/udrv/include/
Duipc.h74 fd_set read_set; member