Home | History | Annotate | Download | only in base

Lines Matching full:auto_close

18 // over IPC. Even if |auto_close| is true, base::FileDescriptor does NOT close()
20 // must invoke close() on |fd| if |auto_close| is true.
23 // a message that contains a base::FileDescriptor if auto_close == true. On the
29 FileDescriptor() : fd(-1), auto_close(false) {}
31 FileDescriptor(int ifd, bool iauto_close) : fd(ifd), auto_close(iauto_close) {
34 FileDescriptor(File file) : fd(file.TakePlatformFile()), auto_close(true) {}
35 explicit FileDescriptor(ScopedFD fd) : fd(fd.release()), auto_close(true) {}
38 return (fd == other.fd && auto_close == other.auto_close);
54 bool auto_close;