/external/libchrome/base/posix/ |
D | unix_domain_socket_linux_unittest.cc | 33 ScopedFD scoped_fd0(fds[0]); in TEST() 34 ScopedFD scoped_fd1(fds[1]); in TEST() 44 std::vector<ScopedFD> message_fds; in TEST() 69 ScopedFD scoped_fd1(fds[1]); in TEST() 87 ScopedFD recv_sock(fds[0]); in TEST() 88 ScopedFD send_sock(fds[1]); in TEST() 100 std::vector<ScopedFD> fd_vec; in TEST() 114 ScopedFD recv_sock(fds[0]); in TEST() 115 ScopedFD send_sock(fds[1]); in TEST() 129 std::vector<ScopedFD> recv_fds; in TEST() [all …]
|
D | unix_domain_socket_linux.cc | 32 static bool CreateSocketPair(ScopedFD* one, ScopedFD* two) { in CreateSocketPair() 89 std::vector<ScopedFD>* fds) { in RecvMsg() 97 std::vector<ScopedFD>* fds, in RecvMsgWithPid() 107 std::vector<ScopedFD>* fds, in RecvMsgWithFlags() 168 fds->push_back(ScopedFD(wire_fds[i])); // TODO(mdempsky): emplace_back in RecvMsgWithFlags() 206 ScopedFD recv_sock, send_sock; in SendRecvMsgWithFlags() 222 std::vector<ScopedFD> recv_fds; in SendRecvMsgWithFlags()
|
D | unix_domain_socket_linux.h | 46 std::vector<ScopedFD>* fds); 55 std::vector<ScopedFD>* fds, 98 std::vector<ScopedFD>* fds,
|
D | global_descriptors.cc | 50 base::ScopedFD GlobalDescriptors::TakeFD( in TakeFD() 53 base::ScopedFD fd; in TakeFD()
|
D | global_descriptors.h | 74 base::ScopedFD TakeFD(Key key, base::MemoryMappedFile::Region* region);
|
/external/llvm/unittests/Support/ |
D | ReplaceFileTest.cpp | 44 class ScopedFD { class 47 ScopedFD(const ScopedFD &) = delete; 48 ScopedFD &operator=(const ScopedFD &) = delete; 51 explicit ScopedFD(int Descriptor) : FD(Descriptor) {} in ScopedFD() function in __anoned3190330111::ScopedFD 52 ~ScopedFD() { Process::SafelyCloseFileDescriptor(FD); } in ~ScopedFD() 75 ScopedFD EventuallyCloseIt(ReadFD); in TEST() 95 ScopedFD EventuallyCloseIt(ReadFD); in TEST()
|
/external/libbrillo/brillo/ |
D | file_utils.cc | 62 base::ScopedFD scoped_fd(HANDLE_EINTR(openat( in RegularFileOrDelete() 97 base::ScopedFD* fd_out) { in TouchFileInternal() 115 base::ScopedFD scoped_fd( in TouchFileInternal() 143 base::ScopedFD scoped_fd; in TouchFile()
|
/external/libbrillo/brillo/dbus/ |
D | dbus_method_invoker_unittest.cc | 94 base::ScopedFD fd; in CreateResponse() 135 base::ScopedFD EchoFD(const base::ScopedFD& fd_in) { in EchoFD() 141 base::ScopedFD fd_out; in EchoFD() 183 base::ScopedFD fd_stdin(0); in TEST_F() 186 base::ScopedFD fd_stdout(1); in TEST_F() 189 base::ScopedFD fd_stderr(2); in TEST_F()
|
D | data_serialization.h | 417 const base::ScopedFD& value); 419 base::ScopedFD* value); 422 struct DBusType<base::ScopedFD> { 427 const base::ScopedFD& value) { 431 base::ScopedFD* value) {
|
D | data_serialization_unittest.cc | 15 using base::ScopedFD; 37 EXPECT_TRUE(IsTypeSupported<ScopedFD>::value); in TEST() 93 EXPECT_EQ("h", GetDBusSignature<ScopedFD>()); in TEST() 109 EXPECT_EQ("ah", GetDBusSignature<std::vector<ScopedFD>>()); in TEST() 242 ScopedFD temp(1); in TEST() 252 ScopedFD fd_value; in TEST()
|
/external/v4l2_codec2/vda/ |
D | v4l2_device.h | 95 std::vector<base::ScopedFD> GetDmabufsForV4L2Buffer( 154 base::ScopedFD device_fd_; 158 base::ScopedFD device_poll_interrupt_fd_;
|
D | v4l2_video_decode_accelerator.h | 191 std::vector<base::ScopedFD> processor_output_fds; 234 std::vector<base::ScopedFD> dmabuf_fds);
|
D | v4l2_slice_video_decode_accelerator.h | 86 std::vector<base::ScopedFD> dmabuf_fds; 243 std::unique_ptr<std::vector<base::ScopedFD>> passed_dmabuf_fds);
|
D | v4l2_device.cc | 246 std::vector<base::ScopedFD> V4L2Device::GetDmabufsForV4L2Buffer( in GetDmabufsForV4L2Buffer() 253 std::vector<base::ScopedFD> dmabuf_fds; in GetDmabufsForV4L2Buffer() 266 dmabuf_fds.push_back(base::ScopedFD(expbuf.fd)); in GetDmabufsForV4L2Buffer()
|
/external/libchrome/base/memory/ |
D | shared_memory_helper.h | 22 ScopedFD* readonly_fd, 27 bool PrepareMapFile(ScopedFILE fp, ScopedFD readonly_fd, int* mapped_file,
|
D | shared_memory_helper.cc | 27 ScopedFD* readonly_fd, in CreateAnonymousSharedMemory() 62 bool PrepareMapFile(ScopedFILE fp, ScopedFD readonly_fd, int* mapped_file, in PrepareMapFile()
|
D | shared_memory_posix.cc | 135 ScopedFD readonly_fd; in Create() 252 ScopedFD readonly_fd(HANDLE_EINTR(open(path.value().c_str(), O_RDONLY))); in Open()
|
/external/libmojo/ipc/ |
D | ipc_platform_file_attachment_posix.h | 23 explicit PlatformFileAttachment(base::ScopedFD file); 35 base::ScopedFD owning_;
|
D | ipc_platform_file_attachment_posix.cc | 16 PlatformFileAttachment::PlatformFileAttachment(base::ScopedFD file) in PlatformFileAttachment()
|
/external/autotest/client/site_tests/security_Libcontainer/src/ |
D | libcontainer_target_unittest.cc | 52 base::ScopedFD read_fd_; 53 base::ScopedFD original_stdout_fd_;
|
/external/libchrome/base/test/ |
D | test_file_util_linux.cc | 18 ScopedFD fd(open(file.value().c_str(), O_RDONLY)); in EvictFileFromSystemCache()
|
/external/libchrome/base/files/ |
D | scoped_file.h | 54 typedef ScopedGeneric<int, internal::ScopedFDCloseTraits> ScopedFD; typedef
|
/external/libchrome/base/ |
D | file_descriptor_posix.h | 35 explicit FileDescriptor(ScopedFD fd) : fd(fd.release()), auto_close(true) {} in FileDescriptor()
|
/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
D | file_utils.h | 28 using ScopedFD = ScopedResource<int, close>; variable
|
/external/libmojo/base/android/ |
D | apk_assets.cc | 43 base::FileDescriptorStore::GetInstance().Set(key, base::ScopedFD(asset_fd), in RegisterApkAssetWithFileDescriptorStore()
|