Home
last modified time | relevance | path

Searched defs:once (Results 1 - 18 of 18) sorted by relevance

/foundation/filemanagement/dfs_service/utils/system/include/
H A Ddfsu_singleton.h68 static std::once_flag once; in GetInstance() local
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dcamera_timer.cpp65 uint32_t CameraTimer::Register(const TimerCallback& callback, uint32_t interval, bool once) in Register() argument
/foundation/communication/wifi/wifi/utils/src/
H A Dwifi_timer.cpp39 ErrCode WifiTimer::Register(const TimerCallback &callback, uint32_t &outTimerId, uint32_t interval, bool once) in Register() argument
85 ErrCode WifiTimer::Register(const TimerCallback &callback, uint32_t &outTimerId, uint32_t interval, bool once) in Register() argument
/foundation/filemanagement/app_file_service/tests/mock/timer/
H A Dtimer_mock.cpp38 uint32_t Timer::Register(const TimerCallback &callback, uint32_t interval, bool once) in Register() argument
/foundation/multimedia/camera_framework/test/fuzztest/cameratimer_fuzzer/
H A Dcamera_timer_fuzzer.cpp80 bool once = data.ReadBool(); in Test() local
/foundation/multimedia/player_framework/services/services/factory/
H A Dengine_factory_repo.cpp43 static std::once_flag once; in Instance() local
/foundation/resourceschedule/ffrt/src/core/
H A Dtask_io.cpp59 static pthread_once_t once = PTHREAD_ONCE_INIT; member
/foundation/communication/netmanager_base/utils/napi_utils/src/
H A Devent_listener.cpp24 EventListener::EventListener(napi_env env, std::string type, napi_value callback, bool once, bool asyncCallback) in EventListener() argument
H A Devent_manager.cpp40 void EventManager::AddListener(napi_env env, const std::string &type, napi_value callback, bool once, in AddListener() argument
/foundation/communication/netstack/utils/napi_utils/src/
H A Devent_listener.cpp30 EventListener::EventListener(long tid, napi_env env, std::string type, napi_value callback, bool once, in EventListener() argument
H A Devent_manager.cpp37 void EventManager::AddListener(napi_env env, const std::string &type, napi_value callback, bool once, in AddListener() argument
47 listeners_.emplace_back(GetCurrentThreadId(), env, type, callback, once, asyncCallback); in AddListener() local
/foundation/graphic/graphic_3d/3d_widget_adapter/src/
H A Dgraphics_manager_common.cpp265 static bool once = false; in AttachContext() local
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_ffi.cpp104 void CJ_OnHeadersReceive(int64_t id, bool once, void (*callback)(CArrString)) in CJ_OnHeadersReceive() argument
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_thread.cpp262 EnumErrCode DhcpTimer::Register(const TimerCallback &callback, uint32_t &outTimerId, uint32_t interval, bool once) in Register() argument
308 EnumErrCode DhcpTimer::Register(const TimerCallback &callback, uint32_t &outTimerId, uint32_t interval, bool once) in Register() argument
H A Ddhcp_client_state_machine.cpp1966 void DhcpClientStateMachine::StartTimer(TimerType type, uint32_t &timerId, int64_t interval, bool once) in StartTimer() argument
/foundation/communication/netmanager_ext/frameworks/js/napi/vpnext/src/
H A Dvpn_module_ext.cpp84 auto once = std::make_shared<std::once_flag>(); in CreateObserveDataSharePromise() local
/foundation/graphic/graphic_3d/lume/LumeEngine/src/
H A Dplugin_registry.cpp620 static bool once = false; in CreatePluginRegistry() local
/foundation/communication/dhcp/test/fuzztest/dhcpclientfun_fuzzer/
H A Ddhcpclientfun_fuzzer.cpp908 bool once = (static_cast<int>(data[0]) % TWO) ? true : false; in StartTimerFuzzerTest() local

Completed in 12 milliseconds