Home
last modified time | relevance | path

Searched refs:SocketHandle (Results 1 – 17 of 17) sorted by relevance

/external/openscreen/platform/impl/
Dsocket_handle_waiter_posix_unittest.cc51 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 …]
Dsocket_handle.h14 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) {
Dsocket_handle_posix.cc12 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 ()()
Dudp_socket_posix.h28 SocketHandle handle,
48 const SocketHandle& GetHandle() const;
74 SocketHandle handle_;
Dsocket_handle_posix.h12 struct SocketHandle { struct
13 explicit SocketHandle(int descriptor);
Dstream_socket_posix.h49 const SocketHandle& socket_handle() const override { return handle_; } in socket_handle()
69 SocketHandle handle_{kUnsetHandleFd};
Dtls_data_router_posix_unittest.cc38 const SocketHandle& socket_handle() const override { return handle; } in socket_handle()
40 SocketHandle handle;
Dstream_socket.h55 virtual const SocketHandle& socket_handle() const = 0;
Dtls_connection_posix.h44 const SocketHandle& socket_handle() const { return socket_->socket_handle(); } in socket_handle()
Dsocket_handle_waiter.h27 using SocketHandleRef = std::reference_wrapper<const SocketHandle>;
Dsocket_handle_waiter_posix.cc36 for (const SocketHandle& handle : socket_handles) { in AwaitSocketsReadable()
Dudp_socket_posix.cc66 SocketHandle handle, in UdpSocketPosix()
88 const SocketHandle& UdpSocketPosix::GetHandle() const { in GetHandle()
123 task_runner, client, SocketHandle(fd.value()), endpoint); in Create()
Dudp_socket_reader_posix_unittest.cc29 : UdpSocketPosix(task_runner, client, SocketHandle(fd), IPEndpoint()), in MockUdpSocketPosix()
/external/perfetto/include/perfetto/ext/base/
Dunix_socket.h49 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/
Dfake_producer.h86 base::SocketHandle unix_socket_fd();
Dfake_producer.cc165 base::SocketHandle FakeProducer::unix_socket_fd() { in unix_socket_fd()
/external/perfetto/src/base/
Dunix_socket.cc213 int CloseSocket(SocketHandle s) { in CloseSocket()