Searched refs:FileCloser (Results 1 – 5 of 5) sorted by relevance
37 class FileCloser { class39 explicit FileCloser(int fd) : fd_(fd) {} in FileCloser() function in libtextclassifier3::__anond68572e90111::FileCloser40 ~FileCloser() { in ~FileCloser()51 TC3_DISALLOW_COPY_AND_ASSIGN(FileCloser);68 FileCloser file_closer(fd); in MmapFile()
153 class FileCloser { class155 explicit FileCloser(int fd) : fd_(fd) {} in FileCloser() function in libtextclassifier3::mobile::__anon13e991e50311::FileCloser156 ~FileCloser() { in ~FileCloser()166 SAFTM_DISALLOW_COPY_AND_ASSIGN(FileCloser);182 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() function244 ~FileCloser() { CloseFile(fd); } in ~FileCloser() argument
417 FileCloser closer(fd); in GetPreferredBase()