Home
last modified time | relevance | path

Searched defs:ScopedResource (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Dfile_utils.h22 struct ScopedResource { struct
23 explicit ScopedResource(RESOURCE_TYPE r) : r_(r) { CHECK(r); } in ScopedResource() argument
24 ~ScopedResource() { CLOSE_FN(r_); } in ~ScopedResource() argument
28 using ScopedFD = ScopedResource<int, close>; argument
/external/perfetto/include/perfetto/base/
Dscoped_file.h51 ScopedResource(ScopedResource&& other) noexcept { in ScopedResource() function