Home
last modified time | relevance | path

Searched refs:RunOnDestruction (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerUtilFuchsia.cpp400 class RunOnDestruction { class
402 explicit RunOnDestruction(Fn fn) : fn_(fn) {} in RunOnDestruction() function in fuzzer::RunOnDestruction
403 ~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()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerUtilFuchsia.cpp400 class RunOnDestruction { class
402 explicit RunOnDestruction(Fn fn) : fn_(fn) {} in RunOnDestruction() function in fuzzer::RunOnDestruction
403 ~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()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.h804 class RunOnDestruction {
806 explicit RunOnDestruction(Fn fn) : fn_(fn) {} in RunOnDestruction() function
807 ~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()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.h958 class RunOnDestruction {
960 explicit RunOnDestruction(Fn fn) : fn_(fn) {} in RunOnDestruction() function
961 ~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()