Searched refs:net_addr (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/ppapi/shared_impl/private/ |
D | net_address_private_impl.cc | 104 size_t GetAddressSize(const NetAddress* net_addr) { in GetAddressSize() argument 105 return net_addr->is_ipv6 ? kIPv6AddressSize : kIPv4AddressSize; in GetAddressSize() 123 NetAddress* net_addr = ToNetAddress(addr); in InitNetAddress() local 124 DCHECK(net_addr); in InitNetAddress() 125 memset(net_addr, 0, sizeof(NetAddress)); in InitNetAddress() 126 return net_addr; in InitNetAddress() 129 bool IsValid(const NetAddress* net_addr) { in IsValid() argument 130 return net_addr && net_addr->is_valid; in IsValid() 134 const NetAddress* net_addr = ToNetAddress(addr); in GetFamily() local 135 if (!IsValid(net_addr)) in GetFamily() [all …]
|
D | 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/ |
D | test_net_address.cc | 62 NetAddress net_addr(instance_, ipv4_addr); in TestIPv4Address() local 63 ASSERT_NE(0, net_addr.pp_resource()); in TestIPv4Address() 65 ASSERT_EQ(PP_NETADDRESS_FAMILY_IPV4, net_addr.GetFamily()); in TestIPv4Address() 68 ASSERT_TRUE(net_addr.DescribeAsIPv4Address(&out_ipv4_addr)); in TestIPv4Address() 72 ASSERT_FALSE(net_addr.DescribeAsIPv6Address(&out_ipv6_addr)); in TestIPv4Address() 83 NetAddress net_addr(instance_, ipv6_addr); in TestIPv6Address() local 84 ASSERT_NE(0, net_addr.pp_resource()); in TestIPv6Address() 86 ASSERT_EQ(PP_NETADDRESS_FAMILY_IPV6, net_addr.GetFamily()); in TestIPv6Address() 89 ASSERT_TRUE(net_addr.DescribeAsIPv6Address(&out_ipv6_addr)); in TestIPv6Address() 93 ASSERT_FALSE(net_addr.DescribeAsIPv4Address(&out_ipv4_addr)); in TestIPv6Address()
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
D | pepper_socket_utils.cc | 28 const PP_NetAddress_Private& net_addr) { in CreateSocketPermissionRequest() argument 30 ppapi::NetAddressPrivateImpl::DescribeNetAddress(net_addr, false); in CreateSocketPermissionRequest() 34 net_addr, &address, &port); in CreateSocketPermissionRequest()
|
D | pepper_tcp_socket_message_filter.h | 76 const PP_NetAddress_Private& net_addr); 82 const PP_NetAddress_Private& net_addr); 102 const PP_NetAddress_Private& net_addr); 108 const PP_NetAddress_Private& net_addr);
|
D | pepper_tcp_socket_message_filter.cc | 168 const PP_NetAddress_Private& net_addr) { in OnMsgBind() argument 185 bind_input_addr_ = net_addr; in OnMsgBind() 192 net_addr)); in OnMsgBind() 239 const PP_NetAddress_Private& net_addr) { in OnMsgConnectWithNetAddress() argument 244 content::SocketPermissionRequest::TCP_CONNECT, net_addr); in OnMsgConnectWithNetAddress() 259 net_addr)); in OnMsgConnectWithNetAddress() 498 const PP_NetAddress_Private& net_addr) { in DoBind() argument 515 net_addr, &address, &port)) { in DoBind() 592 const PP_NetAddress_Private& net_addr) { in DoConnectWithNetAddress() argument 605 net_addr, &address, &port)) { in DoConnectWithNetAddress()
|
D | pepper_socket_utils.h | 27 const PP_NetAddress_Private& net_addr);
|
D | pepper_tcp_socket.cc | 101 const PP_NetAddress_Private& net_addr) { in ConnectWithNetAddress() argument 112 net_addr, &address, &port)) { in ConnectWithNetAddress()
|