Home
last modified time | relevance | path

Searched refs:addr_info (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/lldb/source/Host/common/
DSocketAddress.cpp91 SocketAddress::SocketAddress(const struct addrinfo *addr_info) { in SocketAddress() argument
92 *this = addr_info; in SocketAddress()
178 operator=(const struct addrinfo *addr_info) { in operator =() argument
180 if (addr_info && addr_info->ai_addr && addr_info->ai_addrlen > 0 && in operator =()
181 size_t(addr_info->ai_addrlen) <= sizeof m_socket_addr) { in operator =()
182 ::memcpy(&m_socket_addr, addr_info->ai_addr, addr_info->ai_addrlen); in operator =()
/external/perfetto/src/base/
Dunix_socket.cc165 struct addrinfo* addr_info = nullptr; in MakeSockAddr() local
169 &addr_info) == 0); in MakeSockAddr()
170 PERFETTO_CHECK(addr_info->ai_family == AF_INET); in MakeSockAddr()
171 SockaddrAny res(addr_info->ai_addr, in MakeSockAddr()
172 static_cast<socklen_t>(addr_info->ai_addrlen)); in MakeSockAddr()
173 freeaddrinfo(addr_info); in MakeSockAddr()
183 struct addrinfo* addr_info = nullptr; in MakeSockAddr() local
187 &addr_info) == 0); in MakeSockAddr()
188 PERFETTO_CHECK(addr_info->ai_family == AF_INET6); in MakeSockAddr()
189 SockaddrAny res(addr_info->ai_addr, in MakeSockAddr()
[all …]
/external/ltp/testcases/network/stress/ns-tools/
Dns-udpsender.c63 struct addrinfo addr_info; member
362 memcpy(&(udp_p->addr_info), res, sizeof(struct addrinfo)); in create_udp_datagram()
398 udp_p->addr_info.ai_addr, in send_udp_datagram()
399 udp_p->addr_info.ai_addrlen); in send_udp_datagram()
/external/llvm-project/lldb/include/lldb/Host/
DSocketAddress.h43 SocketAddress(const struct addrinfo *addr_info);
51 const SocketAddress &operator=(const struct addrinfo *addr_info);
/external/libnl/tests/
Dcheck-addr.c184 START_TEST(addr_info) in START_TEST() argument
210 tcase_add_test(tc_addr, addr_info); in make_nl_addr_suite()
/external/kernel-headers/original/uapi/linux/
Diommu.h269 struct iommu_inv_addr_info addr_info; member
/external/ltp/testcases/network/netstress/
Dnetstress.c446 struct addrinfo **addr_info) in setup_addrinfo() argument
448 int err = getaddrinfo(src_addr, port, hints, addr_info); in setup_addrinfo()
453 if (!*addr_info) in setup_addrinfo()
/external/python/cpython3/Lib/asyncio/
Dbase_events.py931 async def _connect_sock(self, exceptions, addr_info, local_addr_infos=None): argument
935 family, type_, proto, _, address = addr_info
/external/mesa3d/src/intel/vulkan/
Danv_device.c3521 const VkMemoryOpaqueCaptureAddressAllocateInfoKHR *addr_info = in anv_AllocateMemory() local
3523 client_address = addr_info->opaqueCaptureAddress; in anv_AllocateMemory()