Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/console_forwarder/
Dmain.cpp111 cvd::SharedFDSet read_set; in ReadLoop() local
113 read_set.Set(client_fd); in ReadLoop()
115 read_set.Set(socket_); in ReadLoop()
117 read_set.Set(console_out_); in ReadLoop()
118 cvd::Select(&read_set, nullptr, nullptr, nullptr); in ReadLoop()
119 if (read_set.IsSet(console_out_)) { in ReadLoop()
133 if (read_set.IsSet(socket_)) { in ReadLoop()
143 if (read_set.IsSet(client_fd)) { in ReadLoop()
/device/google/cuttlefish/host/commands/run_cvd/
Dprocess_monitor.cc168 SharedFDSet read_set; in MonitorRoutine() local
169 read_set.Set(thread_comm_monitor_); in MonitorRoutine()
179 read_set.Set(control_socket); in MonitorRoutine()
185 int num_fds = cvd::Select(&read_set, nullptr, nullptr, nullptr); in MonitorRoutine()
192 if (read_set.IsSet(thread_comm_monitor_)) { in MonitorRoutine()
205 if (read_set.IsSet(control_socket)) { in MonitorRoutine()
/device/google/cuttlefish/host/commands/cvd_status/
Dcvd_status.cc83 cvd::SharedFDSet read_set; in main() local
84 read_set.Set(monitor_socket); in main()
86 int selected = cvd::Select(&read_set, nullptr, nullptr, in main()
/device/google/cuttlefish/host/commands/stop_cvd/
Dmain.cc162 cvd::SharedFDSet read_set; in CleanStopInstance() local
163 read_set.Set(monitor_socket); in CleanStopInstance()
165 int selected = cvd::Select(&read_set, nullptr, nullptr, in CleanStopInstance()
/device/google/cuttlefish/host/frontend/vnc_server/
Dvirtual_inputs.cpp325 cvd::SharedFDSet read_set; in ClientConnectorLoop() local
326 read_set.Set(touch_server); in ClientConnectorLoop()
327 read_set.Set(keyboard_server); in ClientConnectorLoop()
328 cvd::Select(&read_set, nullptr, nullptr, nullptr); in ClientConnectorLoop()
331 if (read_set.IsSet(touch_server)) { in ClientConnectorLoop()
335 if (read_set.IsSet(keyboard_server)) { in ClientConnectorLoop()
/device/google/cuttlefish/common/libs/fs/
Dshared_select.h76 int Select(SharedFDSet* read_set, SharedFDSet* write_set,
Dshared_fd.cpp151 int Select(SharedFDSet* read_set, SharedFDSet* write_set, in Select() argument
156 if (read_set) { in Select()
157 MarkAll(*read_set, &readfds, &max_index); in Select()
173 CheckMarked(&readfds, read_set); in Select()