Lines Matching full:scoped_fd
62 base::ScopedFD scoped_fd(HANDLE_EINTR(openat(
64 bool path_not_empty = (errno == ELOOP || scoped_fd != -1);
67 if (scoped_fd != -1) {
69 if (fstat(scoped_fd.get(), &file_stat) != -1 &&
115 base::ScopedFD scoped_fd(
120 if (scoped_fd == -1) {
126 fd_out->swap(scoped_fd);
143 base::ScopedFD scoped_fd;
144 if (!TouchFileInternal(path, uid, gid, &scoped_fd)) {
148 // scoped_fd is valid only if a new file was created.
149 if (scoped_fd != -1 &&
150 HANDLE_EINTR(fchmod(scoped_fd.get(), new_file_permissions)) == -1) {