Searched refs:addr_in (Results 1 – 10 of 10) sorted by relevance
/external/grpc-grpc/test/core/client_channel/ |
D | parse_address_test.cc | 65 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/cronet/net/base/ |
D | network_interfaces_posix.cc | 42 const struct sockaddr_in* addr_in = in IsLoopbackOrUnspecifiedAddress() local 44 if (addr_in->sin_addr.s_addr == INADDR_LOOPBACK || in IsLoopbackOrUnspecifiedAddress() 45 addr_in->sin_addr.s_addr == 0) { in IsLoopbackOrUnspecifiedAddress()
|
/external/google-breakpad/src/client/windows/unittests/ |
D | dump_analysis.h | 80 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,
|
D | dump_analysis.cc | 130 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/linux-kselftest/tools/testing/selftests/bpf/ |
D | network_helpers.c | 177 struct sockaddr_in *addr_in; in fastopen_connect() local 185 addr_in = (struct sockaddr_in *)&addr; in fastopen_connect() 186 fd = socket(addr_in->sin_family, SOCK_STREAM, 0); in fastopen_connect() 241 struct sockaddr_in *addr_in; in connect_to_fd_opts() local 260 addr_in = (struct sockaddr_in *)&addr; in connect_to_fd_opts() 261 fd = socket(addr_in->sin_family, type, 0); in connect_to_fd_opts()
|
/external/openscreen/platform/impl/ |
D | network_interface_mac.cc | 160 auto* const addr_in = reinterpret_cast<const sockaddr_in*>(cur->ifa_addr); in ProcessInterfacesList() local 161 uint8_t tmp[sizeof(addr_in->sin_addr.s_addr)]; in ProcessInterfacesList() 162 memcpy(tmp, &(addr_in->sin_addr.s_addr), sizeof(tmp)); in ProcessInterfacesList()
|
/external/cronet/net/dns/ |
D | address_info.cc | 122 const struct sockaddr_in* addr_in = in IsAllLocalhostOfOneFamily() local 124 if ((base::NetToHost32(addr_in->sin_addr.s_addr) & 0xff000000) == in IsAllLocalhostOfOneFamily()
|
/external/webrtc/rtc_base/ |
D | socket_address_unittest.cc | 182 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/ |
D | usb.c | 43 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/sys/unix/ |
D | tap.rs | 460 let addr_in = libc::sockaddr_in { in create_sockaddr() localVariable 467 unsafe { mem::transmute(addr_in) } in create_sockaddr()
|