Searched refs:ScopeExit (Results 1 - 3 of 3) sorted by path

/haiku/headers/private/shared/
H A DScopeExit.h18 class ScopeExit class
21 explicit ScopeExit(F&& fn) : fFn(fn) function in class:ScopeExit
25 ~ScopeExit()
30 ScopeExit(ScopeExit&& other) : fFn(std::move(other.fFn)) function in class:ScopeExit
35 ScopeExit(const ScopeExit&);
36 ScopeExit& operator=(const ScopeExit&);
/haiku/src/add-ons/kernel/bus_managers/fdt/
H A Dfdt_module.cpp199 struct ScopeExit { struct
200 ScopeExit() {TRACE("-fdt_bus_register_device\n");} function in struct:ScopeExit
/haiku/src/system/kernel/arch/riscv64/
H A Darch_int.cpp24 #include <ScopeExit.h>
392 const auto& kernelExit = ScopeExit([&]() {

Completed in 65 milliseconds