Home
last modified time | relevance | path

Searched refs:TimeOut (Results 1 - 8 of 8) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
H A Ddriver.rs22 use crate::time::wheel::{TimeOut, Wheel};
108 TimeOut::ClockEntry(clock_entry) => {
112 TimeOut::Duration(duration) => {
116 TimeOut::None => break,
H A Dwheel.rs135 pub(crate) enum TimeOut {
273 pub(crate) fn poll(&mut self, now: u64) -> TimeOut {
276 return TimeOut::ClockEntry(handle);
283 return TimeOut::Duration(Duration::from_millis(expiration.deadline - now))
297 None => TimeOut::None,
298 Some(handle) => TimeOut::ClockEntry(handle),
/commonlibrary/c_utils/base/src/
H A Dtimer_event_handler.cpp83 SetReadCallback([this] { this->TimeOut(); }); in Initialize()
93 void TimerEventHandler::TimeOut() in TimeOut() function in OHOS::Utils::TimerEventHandler
H A Dtimer_event_handler.h49 void TimeOut();
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
H A Derror.rs91 TimeOut(T),
98 SendTimeoutError::TimeOut(_) => write!(f, "channel sending timeout"), in fmt()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/bounded/
H A Dmod.rs196 /// * `Err(SendError::TimeOut(T))` if time limit has been passed.
227 Err(_) => Err(SendTimeoutError::TimeOut(value)),
452 /// * `Err(RecvTimeoutError::TimeOut)` if time limit has been passed.
/commonlibrary/c_utils/base/test/benchmarktest/event_benchmark_test/
H A Devent_benchmark_test.cpp92 void TimeOut();
386 SetCallback(std::bind(&TimerFdHandler::TimeOut, this)); in Initialize()
397 void TimerFdHandler::TimeOut() in TimeOut() function in OHOS::__anon12::TimerFdHandler
399 BENCHMARK_LOGD("EventTest void TimerFdHandler::TimeOut is called."); in TimeOut()
704 void TimeOut();
1010 handler_->SetCallback(std::bind(&TimerEventHandler::TimeOut, this)); in Initialize()
1042 void TimerEventHandler::TimeOut() in TimeOut() function in OHOS::__anon12::TimerEventHandler
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_event_test.cpp67 void TimeOut();
285 SetCallback(std::bind(&TimerFdHandler::TimeOut, this)); in Initialize()
295 void TimerFdHandler::TimeOut() in TimeOut() function in OHOS::__anon33::TimerFdHandler
572 void TimeOut();
865 handler_->SetCallback(std::bind(&TimerEventHandler::TimeOut, this)); in Initialize()
894 void TimerEventHandler::TimeOut() in TimeOut() function in OHOS::__anon33::TimerEventHandler

Completed in 7 milliseconds