Searched refs:ParseNetAddress (Results 1 – 10 of 10) sorted by relevance
/system/libbase/ |
D | parsenetaddress_test.cpp | 21 using android::base::ParseNetAddress; 28 ParseNetAddress("www.google.com", &host, &port, &canonical, &error)); in TEST() 34 ParseNetAddress("www.google.com:666", &host, &port, &canonical, &error)); in TEST() 44 EXPECT_TRUE(ParseNetAddress("1.2.3.4", &host, &port, &canonical, &error)); in TEST() 49 EXPECT_TRUE(ParseNetAddress("1.2.3.4:666", &host, &port, &canonical, &error)); in TEST() 59 EXPECT_TRUE(ParseNetAddress("::1", &host, &port, &canonical, &error)); in TEST() 64 EXPECT_TRUE(ParseNetAddress("fe80::200:5aee:feaa:20a2", &host, &port, in TEST() 70 EXPECT_TRUE(ParseNetAddress("[::1]:666", &host, &port, &canonical, &error)); in TEST() 75 EXPECT_TRUE(ParseNetAddress("[fe80::200:5aee:feaa:20a2]:666", &host, &port, in TEST() 114 EXPECT_FALSE(ParseNetAddress(address, &host, &port, &canonical, &error)); in TEST() [all …]
|
D | parsenetaddress.cpp | 27 bool ParseNetAddress(const std::string& address, std::string* host, int* port, in ParseNetAddress() function
|
/system/libbase/include/android-base/ |
D | parsenetaddress.h | 31 bool ParseNetAddress(const std::string& address, std::string* host, int* port,
|
/system/core/adb/client/pairing/ |
D | pairing_client.cpp | 115 CHECK(android::base::ParseNetAddress(std::string(ip_addr), &host_, &port_, nullptr, &err)); in Start()
|
/system/core/adb/pairing_connection/tests/ |
D | pairing_client.cpp | 123 CHECK(android::base::ParseNetAddress(std::string(ip_addr), &host_, &port_, nullptr, &err)); in Start()
|
/system/core/adb/client/ |
D | adb_wifi.cpp | 189 if (!android::base::ParseNetAddress(host, &parsed_host, &port, nullptr, &err)) { in adb_wifi_pair_device()
|
/system/core/adb/ |
D | socket_spec.cpp | 104 if (!android::base::ParseNetAddress(addr, &hostname_value, &port_value, serial, error)) { in parse_tcp_socket_spec()
|
D | transport.cpp | 1267 … if (android::base::ParseNetAddress(serial, &serial_host, &serial_port, nullptr, &error)) { in MatchesTarget() 1271 if (android::base::ParseNetAddress(local_target_ptr, &target_host, &target_port, in MatchesTarget()
|
D | adb.cpp | 1244 } else if (!android::base::ParseNetAddress(address, &host, &port, &serial, &error)) { in handle_host_request()
|
/system/core/fastboot/ |
D | fastboot.cpp | 320 if (!android::base::ParseNetAddress(net_address, &host, &port, nullptr, &error)) { in open_device()
|