Searched refs:select_helper (Results 1 – 4 of 4) sorted by relevance
313 SelectHelper select_helper; in ReadWithTimeout() local314 select_helper.SetTimeout(timeout); in ReadWithTimeout()315 select_helper.FDSetRead(fd); in ReadWithTimeout()319 error = select_helper.Select(); in ReadWithTimeout()345 SelectHelper select_helper; in Write() local346 select_helper.SetTimeout(std::chrono::seconds(0)); in Write()347 select_helper.FDSetWrite(fd); in Write()351 error = select_helper.Select(); in Write()
456 SelectHelper select_helper; in BytesAvailable() local458 select_helper.SetTimeout(*timeout); in BytesAvailable()460 select_helper.FDSetRead(handle); in BytesAvailable()471 select_helper.FDSetRead(pipe_fd); in BytesAvailable()475 Status error = select_helper.Select(); in BytesAvailable()502 if (select_helper.FDIsSetRead(handle)) in BytesAvailable()505 if (select_helper.FDIsSetRead(pipe_fd)) { in BytesAvailable()
192 SelectHelper select_helper; in IsInputPending() local193 select_helper.SetTimeout(std::chrono::microseconds(0)); in IsInputPending()194 select_helper.FDSetRead(fd); in IsInputPending()195 return select_helper.Select().Success(); in IsInputPending()
4436 SelectHelper select_helper; in Run() local4437 select_helper.FDSetRead(read_fd); in Run()4438 select_helper.FDSetRead(pipe_read_fd); in Run()4439 Status error = select_helper.Select(); in Run()4446 if (select_helper.FDIsSetRead(read_fd)) { in Run()4455 if (select_helper.FDIsSetRead(pipe_read_fd)) { in Run()