Lines Matching refs:port
37 bool isDefaultPortForProtocol(unsigned short port, const String& protocol)
50 return defaultPorts.get(protocol) == port;
55 unsigned short port = url.port();
57 // Since most URLs don't have a port, return early for the "no port" case.
58 if (!port)
61 // This blocked port list matches the port blocking that Mozilla implements.
128 0xFFFF, // Used to block all invalid port numbers
133 // The port list must be sorted for binary_search to work.
142 // If the port is not in the blocked port list, allow it.
143 if (!std::binary_search(blockedPortList, blockedPortListEnd, port))
147 if ((port == 21 || port == 22) && url.protocolIs("ftp"))
150 // Allow any port number in a file URL, since the port number is ignored.