Searched refs:address_length (Results 1 – 5 of 5) sorted by relevance
46 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
191 socklen_t address_length, in CreateAddressListFromSockaddr() argument200 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()
39 bool ToSockAddr(struct sockaddr* address, size_t* address_length) const;45 bool FromSockAddr(const struct sockaddr* address, size_t address_length);
83 socklen_t address_length,
56 size_t address_length = (path - val); in do_set_url() local57 do_set_address(val, address_length); in do_set_url()58 do_set_full_path(path, len - address_length); in do_set_url()