Searched defs:FileCloser (Results 1 – 6 of 6) sorted by relevance
70 struct FileCloser { struct71 explicit FileCloser(fd_t fd) : fd(fd) {} in FileCloser() argument72 ~FileCloser() { CloseFile(fd); } in ~FileCloser() argument73 fd_t fd;
32 struct FileCloser { struct38 using ScopedFILE = std::unique_ptr<FILE, FileCloser>; argument
37 class FileCloser { class39 explicit FileCloser(int fd) : fd_(fd) {} in FileCloser() function in libtextclassifier3::__anon58547c450111::FileCloser
153 class FileCloser { class155 explicit FileCloser(int fd) : fd_(fd) {} in FileCloser() function in libtextclassifier3::mobile::__anoncefcfbc10311::FileCloser
242 struct FileCloser { struct243 explicit FileCloser(fd_t fd) : fd(fd) {} in FileCloser() argument244 ~FileCloser() { CloseFile(fd); } in ~FileCloser() argument245 fd_t fd;