Home
last modified time | relevance | path

Searched defs:handler (Results 1 – 10 of 10) sorted by relevance

/commonlibrary/c_utils/base/test/benchmarktest/event_benchmark_test/
Devent_benchmark_test.cpp102 void SetFdAndCallback(std::shared_ptr<IOEventHandler>& handler, benchmark::State& state) in SetFdAndCallback()
126 std::shared_ptr<IOEventHandler> handler = std::make_shared<IOEventHandler>(INVALID_FD); in BENCHMARK_F() local
170 std::shared_ptr<IOEventHandler> handler = std::make_shared<IOEventHandler>(INVALID_FD); in BENCHMARK_F() local
428 … std::shared_ptr<TimerFdHandler> handler = std::make_shared<TimerFdHandler>(fd, &TimerCallback1); in BENCHMARK_F() local
459 std::unique_ptr<IOEventReactor> EventLoop(std::shared_ptr<TimerFdHandler>& handler, benchmark::Stat… in EventLoop()
496 std::shared_ptr<TimerFdHandler> handler; in BENCHMARK_F() local
529 std::shared_ptr<TimerFdHandler> handler; in BENCHMARK_F() local
558 std::shared_ptr<TimerFdHandler> handler; in BENCHMARK_F() local
593 … std::shared_ptr<TimerFdHandler> handler = std::make_shared<TimerFdHandler>(fd, &TimerCallback1); in BENCHMARK_F() local
641 … std::shared_ptr<TimerFdHandler> handler = std::make_shared<TimerFdHandler>(fd, &TimerCallback1); in BENCHMARK_F() local
[all …]
/commonlibrary/c_utils/base/test/unittest/common/
Dutils_event_test.cpp85 std::shared_ptr<IOEventHandler> handler = std::make_shared<IOEventHandler>(-1); variable
128 std::shared_ptr<IOEventHandler> handler = std::make_shared<IOEventHandler>(-1); variable
312 static void InitAndRun(std::shared_ptr<TimerFdHandler>& handler, const uint32_t interval, in InitAndRun()
337 std::shared_ptr<TimerFdHandler> handler = std::make_shared<TimerFdHandler>(fd, &TimerCallback1); variable
371 std::shared_ptr<TimerFdHandler> handler = std::make_shared<TimerFdHandler>(fd, &TimerCallback1); variable
410 std::shared_ptr<TimerFdHandler> handler = std::make_shared<TimerFdHandler>(fd, &TimerCallback1); variable
444 std::shared_ptr<TimerFdHandler> handler = std::make_shared<TimerFdHandler>(fd, &TimerCallback1); variable
481 std::shared_ptr<TimerFdHandler> handler = std::make_shared<TimerFdHandler>(fd, &TimerCallback1); variable
518 std::shared_ptr<TimerFdHandler> handler = std::make_shared<TimerFdHandler>(fd, &TimerCallback1); variable
680 …std::shared_ptr<TimerEventHandler> handler = std::make_shared<TimerEventHandler>(timerFd, interval… in ScheduleTimer() local
[all …]
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/
Dylong_tokio_signal.rs62 let handler = runtime.spawn(async move { localVariable
111 let handler = runtime.spawn(async move { localVariable
/commonlibrary/c_utils/base/src/
Devent_reactor.cpp34 void EventReactor::UpdateEventHandler(EventHandler* handler) in UpdateEventHandler()
98 …std::shared_ptr<TimerEventHandler> handler = std::make_shared<TimerEventHandler>(this, interval, o… in ScheduleTimer() local
Devent_demultiplexer.cpp63 uint32_t EventDemultiplexer::UpdateEventHandler(EventHandler* handler) in UpdateEventHandler()
87 uint32_t EventDemultiplexer::Update(int operation, EventHandler* handler) in Update()
/commonlibrary/rust/ylong_runtime/ylong_signal/src/
Dunix.rs40 let mut handler: libc::sigaction = unsafe { mem::zeroed() }; in replace_sigaction() localVariable
88 let handler = act.sa_sigaction; in execute_act() localVariable
Dcommon.rs147 let handler = |_info: &libc::siginfo_t| { in ut_signal_new() localVariable
151 let handler = Arc::new(handler); in ut_signal_new() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/bin/
Dylong_tokio_mem.rs41 let handler = ylong_runtime::spawn(async move {}); in ylong_memory() localVariable
/commonlibrary/ets_utils/js_util_module/stream/src/
Dstream_js.ts83 const handler:Function[] = this.handlers[event]; constant
/commonlibrary/ets_utils/js_concurrent_module/worker/
Dworker.cpp1688 auto handler = OHOS::AppExecFwk::EventHandler::Current(); in HostOnMessageInner() local