Home | History | Annotate | Download | only in io

Lines Matching refs:Close

69     result = close(fd);
86 bool FileInputStream::Close() {
87 return copying_input_.Close();
117 if (!Close()) {
118 GOOGLE_LOG(ERROR) << "close() failed: " << strerror(errno_);
123 bool FileInputStream::CopyingFileInputStream::Close() {
128 // The docs on close() do not specify whether a file descriptor is still
129 // open after close() fails with EIO. However, the glibc source code
184 bool FileOutputStream::Close() {
186 return copying_output_.Close() && flush_succeeded;
215 if (!Close()) {
216 GOOGLE_LOG(ERROR) << "close() failed: " << strerror(errno_);
221 bool FileOutputStream::CopyingFileOutputStream::Close() {
226 // The docs on close() do not specify whether a file descriptor is still
227 // open after close() fails with EIO. However, the glibc source code