Searched refs:SocketHandle (Results 1 – 17 of 17) sorted by relevance
/external/openscreen/platform/impl/ |
D | socket_handle_waiter_posix_unittest.cc | 51 SocketHandle handle0{0}; in TEST() 52 SocketHandle handle1{1}; in TEST() 53 SocketHandle handle2{2}; in TEST() 54 const SocketHandle& handle0_ref = handle0; in TEST() 55 const SocketHandle& handle1_ref = handle1; in TEST() 56 const SocketHandle& handle2_ref = handle2; in TEST() 72 SocketHandle handle0{0}; in TEST() 73 SocketHandle handle1{1}; in TEST() 74 SocketHandle handle2{2}; in TEST() 75 SocketHandle handle3{3}; in TEST() [all …]
|
D | socket_handle.h | 14 struct SocketHandle; 17 size_t operator()(const SocketHandle& handle) const; 20 bool operator==(const SocketHandle& lhs, const SocketHandle& rhs); 21 inline bool operator!=(const SocketHandle& lhs, const SocketHandle& rhs) {
|
D | socket_handle_posix.cc | 12 SocketHandle::SocketHandle(int descriptor) : fd(descriptor) {} in SocketHandle() function in openscreen::SocketHandle 14 bool operator==(const SocketHandle& lhs, const SocketHandle& rhs) { in operator ==() 18 size_t SocketHandleHash::operator()(const SocketHandle& handle) const { in operator ()()
|
D | udp_socket_posix.h | 28 SocketHandle handle, 48 const SocketHandle& GetHandle() const; 74 SocketHandle handle_;
|
D | socket_handle_posix.h | 12 struct SocketHandle { struct 13 explicit SocketHandle(int descriptor);
|
D | stream_socket_posix.h | 49 const SocketHandle& socket_handle() const override { return handle_; } in socket_handle() 69 SocketHandle handle_{kUnsetHandleFd};
|
D | tls_data_router_posix_unittest.cc | 38 const SocketHandle& socket_handle() const override { return handle; } in socket_handle() 40 SocketHandle handle;
|
D | stream_socket.h | 55 virtual const SocketHandle& socket_handle() const = 0;
|
D | tls_connection_posix.h | 44 const SocketHandle& socket_handle() const { return socket_->socket_handle(); } in socket_handle()
|
D | socket_handle_waiter.h | 27 using SocketHandleRef = std::reference_wrapper<const SocketHandle>;
|
D | socket_handle_waiter_posix.cc | 36 for (const SocketHandle& handle : socket_handles) { in AwaitSocketsReadable()
|
D | udp_socket_posix.cc | 66 SocketHandle handle, in UdpSocketPosix() 88 const SocketHandle& UdpSocketPosix::GetHandle() const { in GetHandle() 123 task_runner, client, SocketHandle(fd.value()), endpoint); in Create()
|
D | udp_socket_reader_posix_unittest.cc | 29 : UdpSocketPosix(task_runner, client, SocketHandle(fd), IPEndpoint()), in MockUdpSocketPosix()
|
/external/perfetto/include/perfetto/ext/base/ |
D | unix_socket.h | 49 using SocketHandle = uintptr_t; // SOCKET variable 50 int CloseSocket(SocketHandle); // A wrapper around ::closesocket(). 52 ScopedResource<SocketHandle, CloseSocket, static_cast<SocketHandle>(-1)>; 54 using SocketHandle = int; 121 SocketHandle fd() const { return *fd_; } in fd() 348 SocketHandle fd() const { return sock_raw_.fd(); } in fd()
|
/external/perfetto/test/ |
D | fake_producer.h | 86 base::SocketHandle unix_socket_fd();
|
D | fake_producer.cc | 165 base::SocketHandle FakeProducer::unix_socket_fd() { in unix_socket_fd()
|
/external/perfetto/src/base/ |
D | unix_socket.cc | 213 int CloseSocket(SocketHandle s) { in CloseSocket()
|