Home
last modified time | relevance | path

Searched refs:ScopeGuard (Results 1 – 17 of 17) sorted by relevance

/third_party/boost/libs/optional/test/
Dtestable_classes.hpp17 struct ScopeGuard // no copy/move ctor/assign struct
20 explicit ScopeGuard(int v) : val_(v) {} in ScopeGuard() argument
25 ScopeGuard(ScopeGuard const&); argument
26 void operator=(ScopeGuard const&);
88 int& val(ScopeGuard& g) { return g.val(); } in val()
94 const int& val(const ScopeGuard& g) { return g.val(); } in val()
98 bool operator==(const ScopeGuard& l, const ScopeGuard& r) { return l.val() == r.val(); } in operator ==()
101 bool operator<(const ScopeGuard& l, const ScopeGuard& r) { return l.val() < r.val(); } in operator <()
Doptional_test_ref_convert_assign_non_int.cpp35 test_all_const_cases<ScopeGuard>(); in main()
Doptional_test_ref_assign_portable_minimum.cpp40 test_optional_ref_assignment<ScopeGuard>(); in main()
Doptional_test_ref_converting_ctor.cpp105 test_all_const_cases<ScopeGuard>(); in main()
Doptional_test_ref_portable_minimum.cpp483 test_optional_ref<ScopeGuard>(); in main()
488 test_optional_const_ref<ScopeGuard>(); in main()
/third_party/mindspore/mindspore/core/ir/
Dscope.h60 class ScopeGuard {
62 explicit ScopeGuard(const ScopePtr &scope) { in ScopeGuard() function
66 ~ScopeGuard() { ScopeManager::GetInstance().LeaveScope(scope_); } in ~ScopeGuard()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dgradient_eliminate.cc25 ScopeGuard scope_guard(vnode->scope()); in ExpandJPrimitive()
88 ScopeGuard scope_guard(vnode->scope()); in ExpandJ()
Dbranch_culling.h136 ScopeGuard scope_guard(scope); in operator()
Denv_item_eliminate.h291 ScopeGuard scope_guard(scope); in operator()
Dspecial_op_eliminate.h707 ScopeGuard scope_guard(scope); in operator()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Ddfunctor.cc257 ScopeGuard scope_guard(morph->scope()); in MapMorphism()
520 ScopeGuard scope_guard(primal->scope()); in MapPrimitiveToK()
546 ScopeGuard scope_guard(primal->scope()); in MapFuncGraphToK()
573 ScopeGuard scope_guard(primal->scope()); in MapParameterToK()
584 ScopeGuard scope_guard(node->scope()); in MapFvObject()
611 ScopeGuard scope_guard(p->scope()); in MapParamObject()
Dkprim.cc263 ScopeGuard scope_guard(scope); in GetBprop()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dprogram_specialize.cc305 ScopeGuard scope_guard(node->scope()); in ProcessNode()
434 ScopeGuard scope_guard(node->scope()); in BuildSpecializedNode()
550 ScopeGuard scope_guard(new_node->scope()); in BuildSpecializedParameterNode()
Dprim.cc94 ScopeGuard scope_guard(scope); in Run()
196 ScopeGuard scope_guard(scope); in Run()
277 ScopeGuard scope_guard(scope); in Run()
1007 ScopeGuard scope_guard(scope); in StaticGetter()
1418 ScopeGuard scope_guard(scope); in HandleDoSignature()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dresolve.cc293 ScopeGuard scope_guard(node->scope()); in ResolveObjectAndAddToManager()
Dparse.cc264 ScopeGuard scope_guard(scope); in ParseFunction()
/third_party/boost/libs/scope_exit/doc/
Dscope_exit.qbk42 [def __ScopeGuard__ [@http://www.ddj.com/dept/cpp/184403758 ScopeGuard]]