Lines Matching refs:path
117 pos = data_.find("//"); // userInfo path host port ipv4 or ipv6
126 uriData_.path = data_;
158 uriData_.path = data_;
193 uriData_.SchemeSpecificPart.reserve(uriData_.path.length() + uriData_.query.length() + 1);
194 uriData_.SchemeSpecificPart.append(uriData_.path);
248 // find path
282 std::string path = data_.substr(pos);
283 if (!CheckCharacter(path, g_rulePath, true)) {
284 errStr_ = "path does not conform to the rule";
287 uriData_.path = path;
385 if (uriData_.path != other.uriData_.path) {
448 if (!uriData_.path.empty()) {
449 result += uriData_.path ;
479 if (uriData_.path.empty()) {
484 for (current = uriData_.path.find('/', previous); current != std::string::npos;
485 current = uriData_.path.find('/', previous)) {
487 std::string segment = uriData_.path.substr(previous, current - previous);
492 if (previous < uriData_.path.length()) {
493 segments.push_back(uriData_.path.substr(previous));
506 size_t pathLen = uriData_.path.size();
512 while ((pos = uriData_.path.find('/', left)) != std::string::npos) {
513 temp.push_back(uriData_.path.substr(left, pos - left));
517 temp.push_back(uriData_.path.substr(left));
546 std::string Uri::Split(const std::string &path) const
552 if (uriData_.path.empty()) {
567 normalizeUri += path;
610 return uriData_.path;