Home
last modified time | relevance | path

Searched refs:timeout_in_us (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/net/tools/epoll_server/
Depoll_server.cc631 void EpollServer::WaitForEventsAndCallHandleEvents(int64 timeout_in_us, in WaitForEventsAndCallHandleEvents() argument
634 if (timeout_in_us == 0 || ready_list_.lh_first != NULL) { in WaitForEventsAndCallHandleEvents()
636 timeout_in_us = 0; in WaitForEventsAndCallHandleEvents()
637 } else if (timeout_in_us < 0) { in WaitForEventsAndCallHandleEvents()
638 LOG(INFO) << "Negative epoll timeout: " << timeout_in_us in WaitForEventsAndCallHandleEvents()
643 timeout_in_us = -1000; in WaitForEventsAndCallHandleEvents()
646 if (timeout_in_us < 1000) { in WaitForEventsAndCallHandleEvents()
647 timeout_in_us = 1000; in WaitForEventsAndCallHandleEvents()
650 const int timeout_in_ms = timeout_in_us / 1000; in WaitForEventsAndCallHandleEvents()
Depoll_server.h464 void set_timeout_in_us(int64 timeout_in_us) { in set_timeout_in_us() argument
465 timeout_in_us_ = timeout_in_us; in set_timeout_in_us()
472 int timeout_in_us() const { return timeout_in_us_; } in timeout_in_us() function
636 virtual void WaitForEventsAndCallHandleEvents(int64 timeout_in_us,
/external/chromium_org/net/tools/quic/test_tools/
Dquic_test_client.cc417 int64 old_timeout_us = epoll_server()->timeout_in_us(); in WaitForResponseForMs()
438 int64 old_timeout_us = epoll_server()->timeout_in_us(); in WaitForInitialResponseForMs()
/external/chromium_org/net/tools/quic/
Dquic_time_wait_list_manager_test.cc85 MOCK_METHOD2(RegisterAlarm, void(int64 timeout_in_us,