Home
last modified time | relevance | path

Searched refs:FileCloser (Results 1 – 8 of 8) sorted by relevance

/external/libtextclassifier/native/utils/memory/
Dmmap.cc37 class FileCloser { class
39 explicit FileCloser(int fd) : fd_(fd) {} in FileCloser() function in libtextclassifier3::__anon58547c450111::FileCloser
40 ~FileCloser() { in ~FileCloser()
51 TC3_DISALLOW_COPY_AND_ASSIGN(FileCloser);
68 FileCloser file_closer(fd); in MmapFile()
/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
156 ~FileCloser() { in ~FileCloser()
167 SAFTM_DISALLOW_COPY_AND_ASSIGN(FileCloser);
183 FileCloser file_closer(fd); in MmapFile()
/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
Dsanitizer_win.cpp571 FileCloser closer(fd); in GetPreferredBase()
/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/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
Dsanitizer_win.cc417 FileCloser closer(fd); in GetPreferredBase()