Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Dfile_utils.cc62 base::ScopedFD scoped_fd(HANDLE_EINTR(openat( in RegularFileOrDelete() local
64 bool path_not_empty = (errno == ELOOP || scoped_fd != -1); in RegularFileOrDelete()
67 if (scoped_fd != -1) { in RegularFileOrDelete()
69 if (fstat(scoped_fd.get(), &file_stat) != -1 && in RegularFileOrDelete()
115 base::ScopedFD scoped_fd( in TouchFileInternal() local
120 if (scoped_fd == -1) { in TouchFileInternal()
126 fd_out->swap(scoped_fd); in TouchFileInternal()
143 base::ScopedFD scoped_fd; in TouchFile() local
144 if (!TouchFileInternal(path, uid, gid, &scoped_fd)) { in TouchFile()
149 if (scoped_fd != -1 && in TouchFile()
[all …]
/external/boringssl/src/tool/
Ddigest.cc90 std::unique_ptr<int, close_delete> scoped_fd(&fd); in OpenFile() local
107 scoped_fd.release(); in OpenFile()
118 std::unique_ptr<int, close_delete> scoped_fd; in SumFile() local
127 scoped_fd.reset(&fd); in SumFile()
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_process_unittest.cc632 base::ScopedFD scoped_fd(fd); in TEST() local
647 base::ScopedFD scoped_fd(fd_check); in TEST() local