HomeSort by relevance Sort by last modified time
    Searched refs:ParsePort (Results 1 - 7 of 7) sorted by null

  /system/connectivity/shill/
connection_info_reader_unittest.cc 224 TEST_F(ConnectionInfoReaderTest, ParsePort) {
228 EXPECT_FALSE(reader_.ParsePort("", &port, &is_source));
229 EXPECT_FALSE(reader_.ParsePort("a", &port, &is_source));
230 EXPECT_FALSE(reader_.ParsePort("0", &port, &is_source));
231 EXPECT_FALSE(reader_.ParsePort("sport=", &port, &is_source));
232 EXPECT_FALSE(reader_.ParsePort("sport=a", &port, &is_source));
233 EXPECT_FALSE(reader_.ParsePort("sport=-1", &port, &is_source));
234 EXPECT_FALSE(reader_.ParsePort("sport=65536", &port, &is_source));
235 EXPECT_FALSE(reader_.ParsePort("dport=", &port, &is_source));
236 EXPECT_FALSE(reader_.ParsePort("dport=a", &port, &is_source))
    [all...]
connection_info_reader.h 50 FRIEND_TEST(ConnectionInfoReaderTest, ParsePort);
61 bool ParsePort(const std::string& input, uint16_t* port, bool* is_source);
socket_info_reader.h 56 FRIEND_TEST(SocketInfoReaderTest, ParsePort);
67 bool ParsePort(const std::string& input, uint16_t* port);
connection_info_reader.cc 122 if (!ParsePort(tokens[++index], &port, &is_source) || !is_source) {
126 if (!ParsePort(tokens[++index], &port, &is_source) || is_source) {
147 if (!ParsePort(tokens[++index], &port, &is_source) || !is_source) {
151 if (!ParsePort(tokens[++index], &port, &is_source) || is_source) {
207 bool ConnectionInfoReader::ParsePort(
socket_info_reader_unittest.cc 324 TEST_F(SocketInfoReaderTest, ParsePort) {
327 EXPECT_FALSE(reader_.ParsePort("", &port));
328 EXPECT_FALSE(reader_.ParsePort("0", &port));
329 EXPECT_FALSE(reader_.ParsePort("00", &port));
330 EXPECT_FALSE(reader_.ParsePort("000", &port));
331 EXPECT_FALSE(reader_.ParsePort("000Y", &port));
333 EXPECT_TRUE(reader_.ParsePort("0000", &port));
336 EXPECT_TRUE(reader_.ParsePort("0050", &port));
339 EXPECT_TRUE(reader_.ParsePort("abCD", &port));
342 EXPECT_TRUE(reader_.ParsePort("ffff", &port))
    [all...]
socket_info_reader.cc 140 !ParsePort(tokens[1], port)) {
172 bool SocketInfoReader::ParsePort(const string& input, uint16_t* port) {
  /external/webrtc/talk/app/webrtc/
peerconnection.cc 171 bool ParsePort(const std::string& in_str, int* port) {
195 if (!ParsePort(in_str.substr(closebracket + 2, std::string::npos),
207 if (!ParsePort(in_str.substr(colonpos + 1, std::string::npos), port)) {
    [all...]

Completed in 464 milliseconds