/external/chromium_org/ppapi/shared_impl/private/ |
net_address_private_impl.cc | 104 size_t GetAddressSize(const NetAddress* net_addr) { 105 return net_addr->is_ipv6 ? kIPv6AddressSize : kIPv4AddressSize; 120 // Zeroes the memory, so net_addr->is_valid == false. 123 NetAddress* net_addr = ToNetAddress(addr); local 124 DCHECK(net_addr); 125 memset(net_addr, 0, sizeof(NetAddress)); 126 return net_addr; 129 bool IsValid(const NetAddress* net_addr) { 130 return net_addr && net_addr->is_valid 134 const NetAddress* net_addr = ToNetAddress(addr); local 142 const NetAddress* net_addr = ToNetAddress(addr); local 151 const NetAddress* net_addr = ToNetAddress(addr); local 163 const NetAddress* net_addr = ToNetAddress(addr); local 318 NetAddress* net_addr = InitNetAddress(addr); local 328 NetAddress* net_addr = InitNetAddress(addr); local 341 NetAddress* net_addr = InitNetAddress(addr); local 491 const NetAddress* net_addr = ToNetAddress(&addr); local 507 const NetAddress* net_addr = ToNetAddress(&addr); local 539 const NetAddress* net_addr = ToNetAddress(&addr); local 553 const NetAddress* net_addr = ToNetAddress(&addr); local 573 const NetAddress* net_addr = ToNetAddress(&addr); local [all...] |
net_address_private_impl.h | 27 PP_NetAddress_Private* net_addr); 31 PP_NetAddress_Private* net_addr); 33 static bool NetAddressToIPEndPoint(const PP_NetAddress_Private& net_addr,
|
/external/chromium_org/ppapi/tests/ |
test_net_address.cc | 62 NetAddress net_addr(instance_, ipv4_addr); 63 ASSERT_NE(0, net_addr.pp_resource()); 65 ASSERT_EQ(PP_NETADDRESS_FAMILY_IPV4, net_addr.GetFamily()); 68 ASSERT_TRUE(net_addr.DescribeAsIPv4Address(&out_ipv4_addr)); 72 ASSERT_FALSE(net_addr.DescribeAsIPv6Address(&out_ipv6_addr)); 83 NetAddress net_addr(instance_, ipv6_addr); 84 ASSERT_NE(0, net_addr.pp_resource()); 86 ASSERT_EQ(PP_NETADDRESS_FAMILY_IPV6, net_addr.GetFamily()); 89 ASSERT_TRUE(net_addr.DescribeAsIPv6Address(&out_ipv6_addr)); 93 ASSERT_FALSE(net_addr.DescribeAsIPv4Address(&out_ipv4_addr)) [all...] |
/external/chromium_org/content/browser/renderer_host/pepper/ |
pepper_socket_utils.h | 29 const PP_NetAddress_Private& net_addr);
|
pepper_socket_utils.cc | 27 const PP_NetAddress_Private& net_addr) { 28 std::string host = ppapi::NetAddressPrivateImpl::DescribeNetAddress(net_addr, 32 ppapi::NetAddressPrivateImpl::NetAddressToIPEndPoint(net_addr,
|
pepper_tcp_socket_message_filter.h | 78 const PP_NetAddress_Private& net_addr); 84 const PP_NetAddress_Private& net_addr); 104 const PP_NetAddress_Private& net_addr); 111 const PP_NetAddress_Private& net_addr);
|
pepper_tcp_socket_message_filter.cc | 173 const PP_NetAddress_Private& net_addr) { 188 bind_input_addr_ = net_addr; 193 context->MakeReplyMessageContext(), net_addr)); 236 const PP_NetAddress_Private& net_addr) { 241 content::SocketPermissionRequest::TCP_CONNECT, net_addr); 251 context->MakeReplyMessageContext(), net_addr)); 479 const PP_NetAddress_Private& net_addr) { 495 if (!NetAddressPrivateImpl::NetAddressToIPEndPoint(net_addr, &address, 572 const PP_NetAddress_Private& net_addr) { 584 if (!NetAddressPrivateImpl::NetAddressToIPEndPoint(net_addr, &address [all...] |
pepper_tcp_socket.cc | 103 const PP_NetAddress_Private& net_addr) { 113 if (!NetAddressPrivateImpl::NetAddressToIPEndPoint(net_addr, &address,
|