Searched refs:addr_in (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
D | host_resolver.cc | 275 struct sockaddr_in addr_in; in getaddrinfo() local 276 memset(&addr_in, 0, sizeof(addr_in)); in getaddrinfo() 277 addr_in.sin_family = AF_INET; in getaddrinfo() 278 addr_in.sin_port = port; in getaddrinfo() 290 addr_in.sin_addr = in; in getaddrinfo() 291 CreateAddrInfo(hints, (sockaddr*)&addr_in, node, result, &end); in getaddrinfo() 315 addr_in.sin_addr.s_addr = INADDR_ANY; in getaddrinfo() 316 CreateAddrInfo(hints, (sockaddr*)&addr_in, NULL, result, &end); in getaddrinfo() 401 memcpy(&addr_in.sin_addr.s_addr, pp_addr.addr, sizeof(in_addr_t)); in getaddrinfo() 402 sockaddr = (struct sockaddr*)&addr_in; in getaddrinfo()
|
/external/chromium_org/ppapi/cpp/private/ |
D | net_address_private.cc | 103 bool NetAddressPrivate::ReplacePort(const PP_NetAddress_Private& addr_in, in ReplacePort() argument 107 return !!get_interface<PPB_NetAddress_Private_1_1>()->ReplacePort(&addr_in, in ReplacePort() 112 return !!get_interface<PPB_NetAddress_Private_1_0>()->ReplacePort(&addr_in, in ReplacePort() 117 return !!get_interface<PPB_NetAddress_Private_0_1>()->ReplacePort(&addr_in, in ReplacePort()
|
D | net_address_private.h | 26 static bool ReplacePort(const PP_NetAddress_Private& addr_in,
|
/external/chromium_org/net/base/ |
D | net_util_posix.cc | 201 struct sockaddr_in* addr_in = in GetNetworkList() 203 addr_size = sizeof(*addr_in); in GetNetworkList() 204 if (addr_in->sin_addr.s_addr == INADDR_LOOPBACK || in GetNetworkList() 205 addr_in->sin_addr.s_addr == 0) { in GetNetworkList()
|
/external/chromium_org/net/dns/ |
D | host_resolver_proc.cc | 30 const struct sockaddr_in* addr_in = in IsAllLocalhostOfOneFamily() local 32 if ((base::NetToHost32(addr_in->sin_addr.s_addr) & 0xff000000) == in IsAllLocalhostOfOneFamily()
|
/external/chromium_org/third_party/webrtc/base/ |
D | socketaddress_unittest.cc | 181 sockaddr_in addr_in; in TEST() local 182 from.ToSockAddr(&addr_in); in TEST() 183 EXPECT_TRUE(addr.FromSockAddr(addr_in)); in TEST()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_test.c | 1164 struct sockaddr_in addr_in; in test_driver_init() local 1216 os_memset(&addr_in, 0, sizeof(addr_in)); in test_driver_init() 1217 addr_in.sin_family = AF_INET; in test_driver_init() 1218 addr_in.sin_port = htons(drv->udp_port); in test_driver_init() 1219 addr = (struct sockaddr *) &addr_in; in test_driver_init() 1220 alen = sizeof(addr_in); in test_driver_init()
|