Lines Matching refs:port
117 pos = data_.find("//"); // userInfo path host port ipv4 or ipv6
236 uriData_.port = -1;
266 // find port
304 std::string port = data_.substr(pos + 1);
305 if (!CheckCharacter(port, g_rulePort, true)) {
306 errStr_ = "port does not conform to the rule";
308 } else if (CheckCharacter(port, g_ruleDigit, false)) {
309 if (port.size() == 0 || port.size() > 10) { // 10:The maximum number of bits for int value
312 double tempPort = std::strtod(port.c_str(), nullptr);
316 uriData_.port = static_cast<int>(tempPort);
367 if (uriData_.port != other.uriData_.port) {
561 if (uriData_.port != -1) {
562 normalizeUri += ":" + std::to_string(uriData_.port);
605 return std::to_string(uriData_.port);