Home
last modified time | relevance | path

Searched defs:FileCloser (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_file.h70 struct FileCloser { struct
71 explicit FileCloser(fd_t fd) : fd(fd) {} in FileCloser() argument
72 ~FileCloser() { CloseFile(fd); } in ~FileCloser() argument
73 fd_t fd;
/external/rust/crates/quiche/deps/boringssl/src/tool/
Dinternal.h32 struct FileCloser { struct
38 using ScopedFILE = std::unique_ptr<FILE, FileCloser>; argument
/external/boringssl/src/tool/
Dinternal.h32 struct FileCloser { struct
38 using ScopedFILE = std::unique_ptr<FILE, FileCloser>; argument
/external/libtextclassifier/native/utils/memory/
Dmmap.cc37 class FileCloser { class
39 explicit FileCloser(int fd) : fd_(fd) {} in FileCloser() function in libtextclassifier3::__anon58547c450111::FileCloser
/external/libtextclassifier/native/lang_id/common/file/
Dmmap.cc153 class FileCloser { class
155 explicit FileCloser(int fd) : fd_(fd) {} in FileCloser() function in libtextclassifier3::mobile::__anoncefcfbc10311::FileCloser
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.h242 struct FileCloser { struct
243 explicit FileCloser(fd_t fd) : fd(fd) {} in FileCloser() function
244 ~FileCloser() { CloseFile(fd); } in ~FileCloser() argument
245 fd_t fd;