Lines Matching refs:protocol_end
1291 * `--------------------------------------------- protocol_end
1293 uint32_t protocol_end{0};
1308 * protocol_end < username_end < ... < hash_start,
4791 * `--------------------------------------------- protocol_end
5323 * `--------------------------------------------- protocol_end
5537 out.protocol_end = uint32_t(get_protocol().size());
5540 size_t running_index = out.protocol_end;
5544 out.host_start = out.protocol_end + 2;
5567 out.host_start = out.protocol_end;
5574 running_index = out.protocol_end + 2;
5576 running_index = out.protocol_end;
5779 base.protocol_end, base.host_start - base.protocol_end);
5783 uint32_t diff = components.host_start - components.protocol_end;
5785 buffer.erase(components.protocol_end,
5786 components.host_start - components.protocol_end);
5787 components.username_end = components.protocol_end;
5792 buffer.insert(components.protocol_end, "//");
5805 buffer.insert(components.protocol_end + diff, username);
5807 buffer.insert(components.protocol_end + diff, ":");
5808 components.username_end = components.protocol_end + diff;
5809 buffer.insert(components.protocol_end + diff + 1, password);
5813 buffer.insert(components.protocol_end + diff, input);
5815 components.protocol_end + diff + uint32_t(input.size());
5888 bool has_credentials = components.protocol_end + 2 < components.host_start;
6096 uint32_t diff = replace_and_resize(components.protocol_end + 2,
6491 return components.protocol_end + 2 <= components.host_start &&
6492 helpers::substring(buffer, components.protocol_end,
6493 components.protocol_end + 2) == "//";
6505 // Performance: the common case is components.protocol_end == buffer.size()
6508 buffer.insert(components.protocol_end, "//");
6528 return components.protocol_end + 2 < components.username_end;
6645 uint32_t new_difference = 5 - components.protocol_end;
6650 buffer.erase(0, components.protocol_end);
6653 components.protocol_end = 5;