Home
last modified time | relevance | path

Searched refs:address_length (Results 1 – 5 of 5) sorted by relevance

/external/chromium/net/base/
Dip_endpoint.cc46 size_t* address_length) const { in ToSockAddr()
48 DCHECK(address_length); in ToSockAddr()
51 if (*address_length < sizeof(struct sockaddr_in)) in ToSockAddr()
53 *address_length = sizeof(struct sockaddr_in); in ToSockAddr()
62 if (*address_length < sizeof(struct sockaddr_in6)) in ToSockAddr()
64 *address_length = sizeof(struct sockaddr_in6); in ToSockAddr()
82 size_t address_length) { in FromSockAddr() argument
Daddress_list.cc191 socklen_t address_length, in CreateAddressListFromSockaddr() argument
200 switch (address_length) { in CreateAddressListFromSockaddr()
223 ai->ai_addrlen = address_length; in CreateAddressListFromSockaddr()
224 ai->ai_addr = reinterpret_cast<struct sockaddr*>(new char[address_length]); in CreateAddressListFromSockaddr()
225 memcpy(ai->ai_addr, address, address_length); in CreateAddressListFromSockaddr()
Dip_endpoint.h39 bool ToSockAddr(struct sockaddr* address, size_t* address_length) const;
45 bool FromSockAddr(const struct sockaddr* address, size_t address_length);
Daddress_list.h83 socklen_t address_length,
/external/chromium/third_party/libjingle/source/talk/base/
Dhttpcommon-inl.h56 size_t address_length = (path - val); in do_set_url() local
57 do_set_address(val, address_length); in do_set_url()
58 do_set_full_path(path, len - address_length); in do_set_url()