Home
last modified time | relevance | path

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

/external/libtextclassifier/lang_id/common/file/
Dmmap.cc42 class FileCloser { class
44 explicit FileCloser(int fd) : fd_(fd) {} in FileCloser() function in libtextclassifier3::mobile::__anonafe7550d0111::FileCloser
45 ~FileCloser() { in ~FileCloser()
55 SAFTM_DISALLOW_COPY_AND_ASSIGN(FileCloser);
71 FileCloser file_closer(fd); in MmapFile()
/external/libtextclassifier/utils/memory/
Dmmap.cc37 class FileCloser { class
39 explicit FileCloser(int fd) : fd_(fd) {} in FileCloser() function in libtextclassifier3::__anon0249f3110111::FileCloser
40 ~FileCloser() { in ~FileCloser()
51 TC3_DISALLOW_COPY_AND_ASSIGN(FileCloser);
68 FileCloser file_closer(fd); in MmapFile()
/external/boringssl/src/tool/
Dinternal.h47 struct FileCloser { struct
53 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() argument
244 ~FileCloser() { CloseFile(fd); } in ~FileCloser() argument
Dsanitizer_win.cc417 FileCloser closer(fd); in GetPreferredBase()