Home
last modified time | relevance | path

Searched refs:Once (Results 1 - 13 of 13) sorted by relevance

/base/request/request/services/src/manage/
H A Ddatabase.rs18 use std::sync::{Arc, Mutex, Once};
52 static ONCE: Once = Once::new();
74 static ONCE: Once = Once::new();
H A Dapp_state.rs15 use std::sync::Once;
28 static ONCE: Once = Once::new();
H A Daccount.rs15 use std::sync::{Mutex, Once};
131 static ONCE: Once = Once::new();
/base/notification/eventhandler/frameworks/cj/src/
H A Demitter.h45 static int32_t Once(uint32_t eventId, CallbackImpl *callback);
47 static int32_t Once(char* eventId, CallbackImpl *callback);
H A Demitter_ffi.cpp62 return Emitter::Once(eventId, callback); in CJ_OnceWithId()
71 return Emitter::Once(eventId, callback); in CJ_OnceWithStringId()
H A Demitter.cpp113 LOGD("Once already once"); in UpdateOnceFlag()
115 LOGD("Once change on to once"); in UpdateOnceFlag()
167 int32_t Emitter::Once(uint32_t eventId, CallbackImpl *callback) in Once() function in OHOS::EventsEmitter::Emitter
173 int32_t Emitter::Once(char* eventId, CallbackImpl *callback) in Once() function in OHOS::EventsEmitter::Emitter
/base/request/request/services/src/
H A Dlib.rs74 static ONCE: std::sync::Once = std::sync::Once::new();
/base/request/request/pre_download/native/src/cache/
H A Dmanage.rs19 use std::sync::{Arc, LazyLock, Mutex, Once, RwLock};
/base/msdp/device_status/rust/services/sys/src/
H A Dservice.rs23 use std::sync::{ Mutex, Once };
70 static INIT_ONCE: Once = Once::new();
/base/msdp/device_status/rust/frameworks/client/src/
H A Dframeworks.rs21 use std::sync::{ Mutex, Once };
206 static INIT_ONCE: Once = Once::new(); in get_instance()
/base/request/request/test/rustest/src/
H A Dlib.rs36 use std::sync::{Arc, Mutex, Once};
66 static ONCE: Once = Once::new(); in new()
/base/msdp/device_status/rust/subsystem/dsoftbus/sys/src/
H A Ddsoftbus.rs22 use std::sync::{Once, Mutex, Arc, Condvar};
819 static INIT_ONCE: Once = Once::new();
/base/sensors/sensor/frameworks/js/napi/src/
H A Dsensor_js.cpp249 static napi_value Once(napi_env env, napi_callback_info info) in Once() function
1369 DECLARE_NAPI_FUNCTION("once", Once), in Init()

Completed in 9 milliseconds