Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/client_channel/
Dparse_address_test.cc65 grpc_sockaddr_in* addr_in = reinterpret_cast<grpc_sockaddr_in*>(addr.addr); in test_grpc_parse_ipv4() local
66 GPR_ASSERT(GRPC_AF_INET == addr_in->sin_family); in test_grpc_parse_ipv4()
67 GPR_ASSERT(nullptr != grpc_inet_ntop(GRPC_AF_INET, &addr_in->sin_addr, in test_grpc_parse_ipv4()
70 GPR_ASSERT(grpc_ntohs(addr_in->sin_port) == port); in test_grpc_parse_ipv4()
/external/openssh/
Dentropy.c85 struct sockaddr_in *addr_in = (struct sockaddr_in *)&addr; in get_random_bytes_prngd() local
101 addr_in->sin_family = AF_INET; in get_random_bytes_prngd()
102 addr_in->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in get_random_bytes_prngd()
103 addr_in->sin_port = htons(tcp_port); in get_random_bytes_prngd()
104 addr_len = sizeof(*addr_in); in get_random_bytes_prngd()
/external/google-breakpad/src/client/windows/unittests/
Ddump_analysis.h80 bool HasMemory(const void* addr_in, StructureType** structure = NULL) const {
81 return HasMemoryImpl(addr_in, sizeof(StructureType),
98 bool HasMemoryImpl(const void* addr_in, size_t pointersize,
Ddump_analysis.cc130 bool DumpAnalysis::HasMemoryImpl(const void *addr_in, size_t structuresize, in HasMemoryImpl() argument
132 uintptr_t address = reinterpret_cast<uintptr_t>(addr_in); in HasMemoryImpl()
/external/llvm-project/lldb/tools/debugserver/source/
DRNBSocket.cpp169 lldb_private::SocketAddress &addr_in = socket_pair->second; in Listen() local
179 if (addr_in.IsAnyAddr()) in Listen()
182 if (accept_addr == addr_in) in Listen()
191 addr_in.GetIPAddress().c_str()); in Listen()
194 addr_in.GetIPAddress().c_str()); in Listen()
/external/openscreen/platform/impl/
Dnetwork_interface_mac.cc150 auto* const addr_in = reinterpret_cast<const sockaddr_in*>(cur->ifa_addr); in ProcessInterfacesList() local
151 uint8_t tmp[sizeof(addr_in->sin_addr.s_addr)]; in ProcessInterfacesList()
152 memcpy(tmp, &(addr_in->sin_addr.s_addr), sizeof(tmp)); in ProcessInterfacesList()
/external/webrtc/rtc_base/
Dsocket_address_unittest.cc182 sockaddr_in addr_in; in TEST() local
183 from.ToSockAddr(&addr_in); in TEST()
184 EXPECT_TRUE(addr.FromSockAddr(addr_in)); in TEST()
/external/libiio/src/
Dusb.c43 unsigned char addr_in, addr_out; member
551 ep = io_ctx->ep->addr_in; in usb_sync_transfer()
898 ep->addr_in = iface->endpoint[i * 2 + 0].bEndpointAddress; in usb_create_context()
903 ep->addr_in, ep->addr_out); in usb_create_context()
/external/crosvm/net_util/src/
Dlib.rs66 let addr_in = net_sys::sockaddr_in { in create_sockaddr() localVariable
73 unsafe { mem::transmute(addr_in) } in create_sockaddr()