Lines Matching refs:diff
5783 uint32_t diff = components.host_start - components.protocol_end;
5791 diff += 2; // add "//"
5805 buffer.insert(components.protocol_end + diff, username);
5806 diff += uint32_t(username.size());
5807 buffer.insert(components.protocol_end + diff, ":");
5808 components.username_end = components.protocol_end + diff;
5809 buffer.insert(components.protocol_end + diff + 1, password);
5810 diff += uint32_t(password.size()) + 1;
5813 buffer.insert(components.protocol_end + diff, input);
5815 components.protocol_end + diff + uint32_t(input.size());
5816 diff += uint32_t(input.size());
5819 components.host_start += diff;
5823 diff++;
5825 components.host_end += diff;
5826 components.pathname_start += diff;
5828 components.search_start += diff;
5831 components.hash_start += diff;
6096 uint32_t diff = replace_and_resize(components.protocol_end + 2,
6099 components.username_end += diff;
6100 components.host_start += diff;
6104 diff++;
6109 diff--;
6112 components.host_end += diff;
6113 components.pathname_start += diff;
6115 components.search_start += diff;
6118 components.hash_start += diff;
6174 uint32_t diff = components.host_start - components.username_end;
6175 buffer.erase(components.username_end, diff);
6176 components.host_start -= diff;
6177 components.host_end -= diff;
6178 components.pathname_start -= diff;
6180 components.search_start -= diff;
6183 components.hash_start -= diff;