Searched refs:FileCloser (Results 1 – 5 of 5) sorted by relevance
42 class FileCloser { class44 explicit FileCloser(int fd) : fd_(fd) {} in FileCloser() function in libtextclassifier3::mobile::__anonafe7550d0111::FileCloser45 ~FileCloser() { in ~FileCloser()55 SAFTM_DISALLOW_COPY_AND_ASSIGN(FileCloser);71 FileCloser file_closer(fd); in MmapFile()
37 class FileCloser { class39 explicit FileCloser(int fd) : fd_(fd) {} in FileCloser() function in libtextclassifier3::__anon0249f3110111::FileCloser40 ~FileCloser() { in ~FileCloser()51 TC3_DISALLOW_COPY_AND_ASSIGN(FileCloser);68 FileCloser file_closer(fd); in MmapFile()
47 struct FileCloser { struct53 using ScopedFILE = std::unique_ptr<FILE, FileCloser>; argument
242 struct FileCloser { struct243 explicit FileCloser(fd_t fd) : fd(fd) {} in FileCloser() argument244 ~FileCloser() { CloseFile(fd); } in ~FileCloser() argument
417 FileCloser closer(fd); in GetPreferredBase()