Searched refs:select_helper (Results 1 – 4 of 4) sorted by relevance
255 SelectHelper select_helper; in ReadWithTimeout() local256 select_helper.SetTimeout(timeout); in ReadWithTimeout()257 select_helper.FDSetRead(fd); in ReadWithTimeout()261 error = select_helper.Select(); in ReadWithTimeout()286 SelectHelper select_helper; in Write() local287 select_helper.SetTimeout(std::chrono::seconds(0)); in Write()288 select_helper.FDSetWrite(fd); in Write()292 error = select_helper.Select(); in Write()
458 SelectHelper select_helper; in BytesAvailable() local460 select_helper.SetTimeout(*timeout); in BytesAvailable()462 select_helper.FDSetRead(handle); in BytesAvailable()473 select_helper.FDSetRead(pipe_fd); in BytesAvailable()477 Status error = select_helper.Select(); in BytesAvailable()504 if (select_helper.FDIsSetRead(handle)) in BytesAvailable()507 if (select_helper.FDIsSetRead(pipe_fd)) { in BytesAvailable()
190 SelectHelper select_helper; in IsInputPending() local191 select_helper.SetTimeout(std::chrono::microseconds(0)); in IsInputPending()192 select_helper.FDSetRead(fd); in IsInputPending()193 return select_helper.Select().Success(); in IsInputPending()
4370 SelectHelper select_helper; in Run() local4371 select_helper.FDSetRead(read_fd); in Run()4372 select_helper.FDSetRead(pipe_read_fd); in Run()4373 Status error = select_helper.Select(); in Run()4380 if (select_helper.FDIsSetRead(read_fd)) { in Run()4389 if (select_helper.FDIsSetRead(pipe_read_fd)) { in Run()