/external/chromium_org/remoting/client/plugin/ |
D | pepper_util.cc | 23 in_addr ipv4_addr = address.ipaddr().ipv4_address(); in SocketAddressToPpNetAddressWithPort() local 26 memcpy(&ip_addr.addr, &ipv4_addr, sizeof(ip_addr.addr)); in SocketAddressToPpNetAddressWithPort() 58 PP_NetAddress_IPv4 ipv4_addr; in PpNetAddressToSocketAddress() local 59 CHECK(pp_net_address.DescribeAsIPv4Address(&ipv4_addr)); in PpNetAddressToSocketAddress() 61 bit_cast<in_addr>(ipv4_addr.addr))); in PpNetAddressToSocketAddress() 62 address->SetPort(base::NetToHost16(ipv4_addr.port)); in PpNetAddressToSocketAddress()
|
/external/chromium_org/ppapi/tests/ |
D | test_utils.cc | 156 PP_NetAddress_IPv4 ipv4_addr; in ResolveHost() local 157 ipv4_addr.port = ConvertToNetEndian16( in ResolveHost() 159 if (!pp::NetAddressPrivate::GetAddress(addr_private, ipv4_addr.addr, in ResolveHost() 160 sizeof(ipv4_addr.addr))) { in ResolveHost() 163 *addr = pp::NetAddress(instance_handle, ipv4_addr); in ResolveHost() 189 PP_NetAddress_IPv4 ipv4_addr; in ReplacePort() local 190 if (!input_addr.DescribeAsIPv4Address(&ipv4_addr)) in ReplacePort() 192 ipv4_addr.port = ConvertToNetEndian16(port); in ReplacePort() 193 *output_addr = pp::NetAddress(pp::InstanceHandle(instance), ipv4_addr); in ReplacePort() 213 PP_NetAddress_IPv4 ipv4_addr; in GetPort() local [all …]
|
D | test_net_address.cc | 61 PP_NetAddress_IPv4 ipv4_addr = { ConvertToNetEndian16(80), { 127, 0, 0, 1 } }; in TestIPv4Address() local 62 NetAddress net_addr(instance_, ipv4_addr); in TestIPv4Address() 69 ASSERT_TRUE(EqualIPv4Address(ipv4_addr, out_ipv4_addr)); in TestIPv4Address()
|
D | test_udp_socket.cc | 28 PP_NetAddress_IPv4 ipv4_addr; in ReplacePort() local 29 if (!addr.DescribeAsIPv4Address(&ipv4_addr)) in ReplacePort() 31 ipv4_addr.port = ConvertToNetEndian16(port); in ReplacePort() 32 return pp::NetAddress(instance, ipv4_addr); in ReplacePort()
|
D | test_net_address_private.cc | 267 const uint8_t ipv4_addr[4] = { 127, 0, 0, 1 }; in TestGetAddress() local 268 PP_NetAddress_Private localhost_80 = MakeIPv4NetAddress(ipv4_addr, 80); in TestGetAddress() 273 ASSERT_EQ(memcmp(addr_storage, &ipv4_addr, 4), 0); in TestGetAddress()
|
/external/chromium_org/ppapi/proxy/ |
D | net_address_resource.cc | 19 const PP_NetAddress_IPv4& ipv4_addr) in NetAddressResource() argument 21 NetAddressPrivateImpl::CreateNetAddressPrivateFromIPv4Address(ipv4_addr, in NetAddressResource() 63 PP_NetAddress_IPv4* ipv4_addr) { in DescribeAsIPv4Address() argument 66 address_, ipv4_addr)); in DescribeAsIPv4Address()
|
D | net_address_resource.h | 23 const PP_NetAddress_IPv4& ipv4_addr); 40 PP_NetAddress_IPv4* ipv4_addr) OVERRIDE;
|
D | resource_creation_proxy.cc | 291 const PP_NetAddress_IPv4* ipv4_addr) { in CreateNetAddressFromIPv4Address() argument 293 *ipv4_addr))->GetReference(); in CreateNetAddressFromIPv4Address()
|
D | resource_creation_proxy.h | 129 const PP_NetAddress_IPv4* ipv4_addr) OVERRIDE;
|
/external/chromium_org/ppapi/cpp/ |
D | net_address.cc | 29 const PP_NetAddress_IPv4& ipv4_addr) { in NetAddress() argument 33 instance.pp_instance(), &ipv4_addr)); in NetAddress() 79 bool NetAddress::DescribeAsIPv4Address(PP_NetAddress_IPv4* ipv4_addr) const { in DescribeAsIPv4Address() 83 pp_resource(), ipv4_addr)); in DescribeAsIPv4Address()
|
D | net_address.h | 37 const PP_NetAddress_IPv4& ipv4_addr); 97 bool DescribeAsIPv4Address(PP_NetAddress_IPv4* ipv4_addr) const;
|
/external/chromium_org/ppapi/thunk/ |
D | ppb_net_address_thunk.cc | 21 const struct PP_NetAddress_IPv4* ipv4_addr) { in CreateFromIPv4Address() argument 27 ipv4_addr); in CreateFromIPv4Address() 64 struct PP_NetAddress_IPv4* ipv4_addr) { in DescribeAsIPv4Address() argument 69 return enter.object()->DescribeAsIPv4Address(ipv4_addr); in DescribeAsIPv4Address()
|
D | ppb_net_address_api.h | 22 virtual PP_Bool DescribeAsIPv4Address(PP_NetAddress_IPv4* ipv4_addr) = 0;
|
D | resource_creation_api.h | 141 const PP_NetAddress_IPv4* ipv4_addr) = 0;
|
/external/chromium_org/ppapi/shared_impl/private/ |
D | net_address_private_impl.cc | 522 const PP_NetAddress_IPv4& ipv4_addr, in CreateNetAddressPrivateFromIPv4Address() argument 524 CreateFromIPv4Address(ipv4_addr.addr, ConvertFromNetEndian16(ipv4_addr.port), in CreateNetAddressPrivateFromIPv4Address() 549 PP_NetAddress_IPv4* ipv4_addr) { in DescribeNetAddressPrivateAsIPv4Address() argument 550 if (!ipv4_addr) in DescribeNetAddressPrivateAsIPv4Address() 557 ipv4_addr->port = ConvertToNetEndian16(net_addr->port); in DescribeNetAddressPrivateAsIPv4Address() 559 COMPILE_ASSERT(sizeof(ipv4_addr->addr) == kIPv4AddressSize, in DescribeNetAddressPrivateAsIPv4Address() 561 memcpy(ipv4_addr->addr, net_addr->address, kIPv4AddressSize); in DescribeNetAddressPrivateAsIPv4Address()
|
D | net_address_private_impl.h | 45 const PP_NetAddress_IPv4& ipv4_addr, 54 PP_NetAddress_IPv4* ipv4_addr);
|
/external/chromium_org/ppapi/c/ |
D | ppb_net_address.h | 112 const struct PP_NetAddress_IPv4* ipv4_addr); 177 struct PP_NetAddress_IPv4* ipv4_addr);
|
/external/chromium_org/ppapi/api/ |
D | ppb_net_address.idl | 74 * @param[in] ipv4_addr An IPv4 address. 77 * <code>ipv4_addr</code> or 0 on failure. 80 [in] PP_NetAddress_IPv4 ipv4_addr); 143 * @param[out] ipv4_addr A <code>PP_NetAddress_IPv4</code> structure to store 150 [out] PP_NetAddress_IPv4 ipv4_addr);
|
/external/chromium_org/native_client_sdk/src/examples/api/socket/ |
D | echo_server.cc | 53 PP_NetAddress_IPv4 ipv4_addr = { Htons(port), { 0 } }; in Start() local 54 pp::NetAddress addr(instance_, ipv4_addr); in Start()
|
D | socket.cc | 200 PP_NetAddress_IPv4 ipv4_addr = { 0, { 0 } }; in OnResolveCompletion() local 201 udp_socket_.Bind(pp::NetAddress(this, ipv4_addr), callback); in OnResolveCompletion()
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/ |
D | echo_server.cc | 54 PP_NetAddress_IPv4 ipv4_addr = { Htons(port), { 0 } }; in Start() local 55 pp::NetAddress addr(instance_, ipv4_addr); in Start()
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | socket_test.cc | 383 struct in_addr ipv4_addr = generate_ipv4_addr(255,255,255,255); in TEST() local 389 EXPECT_TRUE(NULL == inet_ntop(AF_INET, &ipv4_addr, in TEST()
|
/external/chromium_org/content/renderer/pepper/ |
D | resource_creation_impl.h | 93 const PP_NetAddress_IPv4* ipv4_addr) OVERRIDE;
|
D | resource_creation_impl.cc | 190 const PP_NetAddress_IPv4* ipv4_addr) { in CreateNetAddressFromIPv4Address() argument
|
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_irt_shim/ |
D | pnacl_shim.c | 984 …etAddress_CreateFromIPv4Address(PP_Instance instance, const struct PP_NetAddress_IPv4* ipv4_addr) { in Pnacl_M29_PPB_NetAddress_CreateFromIPv4Address() argument 986 return iface->CreateFromIPv4Address(instance, ipv4_addr); in Pnacl_M29_PPB_NetAddress_CreateFromIPv4Address() 1009 …_M29_PPB_NetAddress_DescribeAsIPv4Address(PP_Resource addr, struct PP_NetAddress_IPv4* ipv4_addr) { in Pnacl_M29_PPB_NetAddress_DescribeAsIPv4Address() argument 1011 return iface->DescribeAsIPv4Address(addr, ipv4_addr); in Pnacl_M29_PPB_NetAddress_DescribeAsIPv4Address() 4281 …(PP_Resource (*)(PP_Instance instance, const struct PP_NetAddress_IPv4* ipv4_addr))&Pnacl_M29_PPB_… 4286 ….DescribeAsIPv4Address = (PP_Bool (*)(PP_Resource addr, struct PP_NetAddress_IPv4* ipv4_addr))&Pna…
|