Lines Matching refs:port
1287 * | | | | `--------------------- port
1301 uint32_t port{omitted};
1368 * following table. The default port for a special scheme is listed in the
1369 * second column on the same row. The default port for any other ASCII string is
1380 * following table. The default port for a special scheme is listed in the
1381 * second column on the same row. The default port for any other ASCII string is
1386 * @return The special port
1391 * Returns the port number of a special scheme.
1485 * Return the 'special port' if the URL is special and not 'file'.
1493 * Get the default port if the url's scheme has one, returns 0 otherwise.
1500 * Parse a port (16-bit decimal digit) from the provided input.
4712 * Return this's URL's port, serialized.
4715 * @see https://url.spec.whatwg.org/#dom-url-port
4726 * Return url's host, serialized, followed by U+003A (:) and url's port,
4787 * | | | | `--------------------- port
4826 /** @return true if the URL has a (non default) port */
4893 * A URL cannot have a username/password/port if its host is null or the empty
5117 * A URL's port is either null or a 16-bit unsigned integer that identifies a
5118 * networking port. It is initially null.
5120 std::optional<uint16_t> port{};
5145 /** @return true if the URL has a (non default) port */
5179 * Return url's host, serialized, followed by U+003A (:) and url's port,
5239 * @see https://url.spec.whatwg.org/#dom-url-port
5292 * Return this's URL's port, serialized.
5293 * @return a newly constructed string representing the port.
5294 * @see https://url.spec.whatwg.org/#dom-url-port
5319 * | | | | `--------------------- port
5396 * A URL cannot have a username/password/port if its host is null or the empty
5509 return port.has_value();
5580 if (port.has_value()) {
5581 out.port = *port;
5582 running_index += helpers::fast_digit_count(*port) + 1; // Port omits ':'
5634 port = input;
5682 if (port.has_value()) {
5721 // scheme_default_port can return 0, and we should allow 0 as a base port.
5725 port = (r.ec == std::errc() && is_port_valid)
6300 // calling std::to_string(input.value()) is unfortunate given that the port
6305 if (components.port != url_components::omitted) {
6319 components.port = input;
6326 if (components.port == url_components::omitted) {
6338 components.port = url_components::omitted;
6344 return components.port;
6562 // A URL cannot have a username/password/port if its host is null or the empty
6574 // either have a one-digit port such as http://test.com:5?param=1 or else we
6626 // scheme_default_port can return 0, and we should allow 0 as a base port.