Home | History | Annotate | Download | only in src

Lines Matching refs:string

13 #include <string>
28 virtual bool MyIpAddress(std::string* first_ip_address) {
33 virtual bool MyIpAddressEx(std::string* ip_address_list) {
38 virtual bool DnsResolve(const std::string& host,
39 std::string* first_ip_address) {
44 virtual bool DnsResolveEx(const std::string& host,
45 std::string* ip_address_list) {
50 bool MyIpAddressImpl(std::string* first_ip_address) {
51 std::string my_hostname = GetHostName();
57 bool MyIpAddressExImpl(std::string* ip_address_list) {
58 std::string my_hostname = GetHostName();
64 bool DnsResolveImpl(const std::string& host,
65 std::string* first_ip_address) {
77 *first_ip_address = std::string(tmp);
81 bool DnsResolveExImpl(const std::string& host,
82 std::string* ip_address_list) {
88 std::string address_list_str;
92 const std::string address_string = std::string(*addr);
97 *ip_address_list = std::string(he->h_addr);
101 std::string GetHostName() {
106 return std::string(buffer);