Searched refs:select_helper (Results 1 – 4 of 4) sorted by relevance
265 SelectHelper select_helper; in ReadWithTimeout() local266 select_helper.SetTimeout(timeout); in ReadWithTimeout()267 select_helper.FDSetRead(fd); in ReadWithTimeout()271 error = select_helper.Select(); in ReadWithTimeout()296 SelectHelper select_helper; in Write() local297 select_helper.SetTimeout(std::chrono::seconds(0)); in Write()298 select_helper.FDSetWrite(fd); in Write()302 error = select_helper.Select(); in Write()
565 SelectHelper select_helper; in BytesAvailable() local567 select_helper.SetTimeout(*timeout); in BytesAvailable()569 select_helper.FDSetRead(handle); in BytesAvailable()580 select_helper.FDSetRead(pipe_fd); in BytesAvailable()584 Status error = select_helper.Select(); in BytesAvailable()611 if (select_helper.FDIsSetRead(handle)) in BytesAvailable()614 if (select_helper.FDIsSetRead(pipe_fd)) { in BytesAvailable()
184 SelectHelper select_helper; in IsInputPending() local185 select_helper.SetTimeout(std::chrono::microseconds(0)); in IsInputPending()186 select_helper.FDSetRead(fd); in IsInputPending()187 return select_helper.Select().Success(); in IsInputPending()
4470 SelectHelper select_helper; in Run() local4471 select_helper.FDSetRead(read_fd); in Run()4472 select_helper.FDSetRead(pipe_read_fd); in Run()4473 Status error = select_helper.Select(); in Run()4480 if (select_helper.FDIsSetRead(read_fd)) { in Run()4488 if (select_helper.FDIsSetRead(pipe_read_fd)) { in Run()