Home
last modified time | relevance | path

Searched refs:scoped_fd (Results 1 – 4 of 4) sorted by relevance

/external/libbrillo/brillo/
Dfile_utils.cc68 base::ScopedFD scoped_fd(HANDLE_EINTR(openat( in RegularFileOrDelete() local
70 bool path_not_empty = (errno == ELOOP || scoped_fd != -1); in RegularFileOrDelete()
73 if (scoped_fd != -1) { in RegularFileOrDelete()
75 if (fstat(scoped_fd.get(), &file_stat) != -1 && in RegularFileOrDelete()
121 base::ScopedFD scoped_fd(HANDLE_EINTR(openat( in TouchFileInternal() local
124 if (scoped_fd == -1) { in TouchFileInternal()
130 fd_out->swap(scoped_fd); in TouchFileInternal()
165 base::ScopedFD scoped_fd; in TouchFile() local
166 if (!TouchFileInternal(path, uid, gid, &scoped_fd)) { in TouchFile()
171 if (scoped_fd != -1 && in TouchFile()
[all …]
/external/boringssl/src/tool/
Ddigest.cc94 std::unique_ptr<int, close_delete> scoped_fd(&fd); in OpenFile() local
111 scoped_fd.release(); in OpenFile()
122 std::unique_ptr<int, close_delete> scoped_fd; in SumFile() local
131 scoped_fd.reset(&fd); in SumFile()
/external/libchrome/ipc/
Dipc_message_utils.cc631 base::ScopedFD scoped_fd(descriptor.fd); in Read() local
632 if (!scoped_fd.is_valid()) in Read()
636 std::move(scoped_fd)) in Read()
/external/v4l2_codec2/accel/
Dv4l2_device.cc477 for (const base::ScopedFD& scoped_fd : scoped_fds) in QueueDMABuf() local
478 fds.push_back(scoped_fd.get()); in QueueDMABuf()