Home
last modified time | relevance | path

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

/base/update/updater/utils/include/
H A Dscope_guard.h26 template<typename ExitAction> class ScopeGuard { class
28 ScopeGuard(ExitAction &&action) : action_(action), enable_(true) {} in ScopeGuard() function in Updater::Detail::ScopeGuard
29 ~ScopeGuard() in ~ScopeGuard()
48 static inline ScopeGuard<ExitAction> operator + (ScopeExitGuardHelper, ExitAction &&action) in operator +()
50 return ScopeGuard<ExitAction>(std::forward<ExitAction>(action)); in operator +()
/base/inputmethod/imf/frameworks/js/napi/common/
H A Djs_callback_handler.h43 JsUtil::ScopeGuard scopeGuard(object->env_);
54 JsUtil::ScopeGuard scopeGuard(object->env_); in Traverse()
H A Djs_util.h112 class ScopeGuard { class in OHOS::MiscServices::JsUtil
114 explicit ScopeGuard(napi_env env) : env_(env), scope_(nullptr) in ScopeGuard() function in OHOS::MiscServices::JsUtil::ScopeGuard
118 ~ScopeGuard() in ~ScopeGuard()
/base/update/sys_installer/frameworks/actions/verify_action/src/
H A Dpkg_verify.cpp69 Detail::ScopeGuard guard([&] { in PerformAction()
/base/update/sys_installer/services/ab_update/src/
H A Dab_update.cpp82 Detail::ScopeGuard guard([&] { in PerformAction()
/base/update/updater/services/updater_binary/
H A Dupdate_processor.cpp482 Detail::ScopeGuard guard([&] { in ProcessUpdater()

Completed in 4 milliseconds