Home | History | Annotate | Download | only in src

Lines Matching refs:string

12 #include <string>
27 virtual bool MyIpAddress(std::string* first_ip_address) {
32 virtual bool MyIpAddressEx(std::string* ip_address_list) {
37 virtual bool DnsResolve(const std::string& host,
38 std::string* first_ip_address) {
43 virtual bool DnsResolveEx(const std::string& host,
44 std::string* ip_address_list) {
49 bool MyIpAddressImpl(std::string* first_ip_address) {
50 std::string my_hostname = GetHostName();
56 bool MyIpAddressExImpl(std::string* ip_address_list) {
57 std::string my_hostname = GetHostName();
63 bool DnsResolveImpl(const std::string& host,
64 std::string* first_ip_address) {
70 *first_ip_address = std::string(he->h_addr);
74 bool DnsResolveExImpl(const std::string& host,
75 std::string* ip_address_list) {
81 std::string address_list_str;
85 const std::string address_string = std::string(*addr);
90 *ip_address_list = std::string(he->h_addr);
94 std::string GetHostName() {
99 return std::string(buffer);