Lines Matching refs:timeout_usec
391 uint32_t timeout_usec,
418 status = BytesAvailable (timeout_usec, error_ptr);
640 ConnectionFileDescriptor::BytesAvailable (uint32_t timeout_usec, Error *error_ptr)
647 log->Printf("%p ConnectionFileDescriptor::BytesAvailable (timeout_usec = %u)", this, timeout_usec);
650 if (timeout_usec == UINT32_MAX)
658 time_value.OffsetWithMicroSeconds (timeout_usec);
790 ConnectionFileDescriptor::BytesAvailable (uint32_t timeout_usec, Error *error_ptr)
797 log->Printf("%p ConnectionFileDescriptor::BytesAvailable (timeout_usec = %u)", this, timeout_usec);
800 if (timeout_usec == UINT32_MAX)
808 time_value.OffsetWithMicroSeconds (timeout_usec);
947 ConnectionFileDescriptor::BytesAvailable (uint32_t timeout_usec, Error *error_ptr)
954 log->Printf("%p ConnectionFileDescriptor::BytesAvailable (timeout_usec = %u)", this, timeout_usec);
956 if (timeout_usec == UINT32_MAX)
961 else if (timeout_usec == 0)
969 timeout_msec = (timeout_usec + 999) / 1000;
1457 ConnectionFileDescriptor::SetSocketReceiveTimeout (uint32_t timeout_usec)
1468 if (timeout_usec == m_socket_timeout_usec)
1470 //printf ("ConnectionFileDescriptor::SetSocketReceiveTimeout (timeout_usec = %u)\n", timeout_usec);
1473 if (timeout_usec == UINT32_MAX)
1478 else if (timeout_usec == 0)
1487 timeout.tv_sec = timeout_usec / TimeValue::MicroSecPerSec;
1488 timeout.tv_usec = timeout_usec % TimeValue::MicroSecPerSec;
1492 m_socket_timeout_usec = timeout_usec;