Home
last modified time | relevance | path

Searched defs:scope_exit (Results 1 – 4 of 4) sorted by relevance

/external/python/pybind11/tests/test_embed/
Dtest_interpreter.cpp238 struct scope_exit { struct
240 explicit scope_exit(std::function<void()> f) noexcept : f_(std::move(f)) {} in scope_exit() argument
241 ~scope_exit() { if (f_) f_(); } in ~scope_exit() argument
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DScopeExit.h31 explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {} in scope_exit() function
33 scope_exit(scope_exit &&Rhs) in scope_exit() function
/external/cronet/buildtools/third_party/libc++/trunk/src/filesystem/
Doperations.cpp1401 struct scope_exit { struct
1402 explicit scope_exit(Cleanup const& cleanup) in scope_exit() function
1406 ~scope_exit() { cleanup_(); } in ~scope_exit()
1409 Cleanup cleanup_;
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc2413 auto scope_exit = llvm::make_scope_exit([&]() { in Convert() local