Searched refs:RunOnDestruction (Results 1 – 4 of 4) sorted by relevance
400 class RunOnDestruction { class402 explicit RunOnDestruction(Fn fn) : fn_(fn) {} in RunOnDestruction() function in fuzzer::RunOnDestruction403 ~RunOnDestruction() { fn_(); } in ~RunOnDestruction()410 RunOnDestruction<Fn> at_scope_exit(Fn fn) { in at_scope_exit()411 return RunOnDestruction<Fn>(fn); in at_scope_exit()
804 class RunOnDestruction {806 explicit RunOnDestruction(Fn fn) : fn_(fn) {} in RunOnDestruction() function807 ~RunOnDestruction() { fn_(); } in ~RunOnDestruction()816 RunOnDestruction<Fn> at_scope_exit(Fn fn) { in at_scope_exit()817 return RunOnDestruction<Fn>(fn); in at_scope_exit()
958 class RunOnDestruction {960 explicit RunOnDestruction(Fn fn) : fn_(fn) {} in RunOnDestruction() function961 ~RunOnDestruction() { fn_(); } in ~RunOnDestruction()970 RunOnDestruction<Fn> at_scope_exit(Fn fn) { in at_scope_exit()971 return RunOnDestruction<Fn>(fn); in at_scope_exit()