Searched refs:is_source (Results 1 - 3 of 3) sorted by relevance
/system/connectivity/shill/ |
H A D | connection_info_reader_unittest.cc | 205 bool is_source = false; local 207 EXPECT_FALSE(reader_.ParseIPAddress("", &ip_address, &is_source)); 208 EXPECT_FALSE(reader_.ParseIPAddress("abc", &ip_address, &is_source)); 209 EXPECT_FALSE(reader_.ParseIPAddress("src=", &ip_address, &is_source)); 210 EXPECT_FALSE(reader_.ParseIPAddress("src=abc", &ip_address, &is_source)); 211 EXPECT_FALSE(reader_.ParseIPAddress("dst=", &ip_address, &is_source)); 212 EXPECT_FALSE(reader_.ParseIPAddress("dst=abc", &ip_address, &is_source)); 215 &ip_address, &is_source)); 217 EXPECT_TRUE(is_source); 219 &ip_address, &is_source)); 226 bool is_source = false; local [all...] |
H A D | connection_info_reader.cc | 111 bool is_source = false; local 113 if (!ParseIPAddress(tokens[++index], &ip_address, &is_source) || !is_source) { 117 if (!ParseIPAddress(tokens[++index], &ip_address, &is_source) || is_source) { 122 if (!ParsePort(tokens[++index], &port, &is_source) || !is_source) { 126 if (!ParsePort(tokens[++index], &port, &is_source) || is_source) { 138 if (!ParseIPAddress(tokens[++index], &ip_address, &is_source) || !is_sourc 176 ParseIPAddress( const string& input, IPAddress* ip_address, bool* is_source) argument 207 ParsePort( const string& input, uint16_t* port, bool* is_source) argument [all...] |
H A D | connection_info_reader.h | 60 IPAddress* ip_address, bool* is_source); 61 bool ParsePort(const std::string& input, uint16_t* port, bool* is_source);
|
Completed in 47 milliseconds