Home
last modified time | relevance | path

Searched refs:ONCE (Results 1 - 6 of 6) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dmod.rs99 static ONCE: Once = Once::new(); consts
102 ONCE.call_once(|| {
131 static ONCE: Once = Once::new(); consts
134 ONCE.call_once(|| {
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/
H A Ddriver.rs297 static ONCE: std::sync::Once = std::sync::Once::new(); in initialize() consts
298 ONCE.call_once(|| unsafe { in initialize()
/commonlibrary/rust/ylong_http/ylong_http_client/src/
H A Derror.rs200 static ONCE: Once = Once::new(); consts
202 ONCE.call_once(|| {
/commonlibrary/ets_utils/js_concurrent_module/worker/
H A Dworker.h42 enum ListenerMode { ONCE, PERMANENT }; enumerator
60 return mode_ != ONCE; in NextIsAvailable()
H A Dworker.cpp494 return AddListener(env, cbinfo, ONCE); in Once()
615 if (mode == ONCE && argc > NUM_WORKER_ARGS) { in AddListener()
1053 listener->SetMode(ONCE); in ParentPortAddEventListener()
/commonlibrary/ets_utils/js_concurrent_module/worker/test/
H A Dtest_worker.cpp694 auto listener2 = new Worker::WorkerListener(env, callback2, Worker::ListenerMode::ONCE); in HandleEventListeners()
831 auto listener2 = new Worker::WorkerListener(env, ref, Worker::ListenerMode::ONCE); in ParentPortAddListenerInnerTest()
883 auto listener = new Worker::WorkerListener(env, callback, Worker::ListenerMode::ONCE); in ParentPortHandleEventListeners()

Completed in 14 milliseconds