Lines Matching refs:pos2
278 std::size_t start = 0, pos1 = 0, pos2 = 0; in Parse() local
288 while (pos2 < len) { in Parse()
289 if (uri[pos2] == '/') break; in Parse()
290 if (uri[pos2] == '?') break; in Parse()
291 if (uri[pos2] == '#') break; in Parse()
292 pos2++; in Parse()
294 if (pos1 < pos2) { in Parse()
308 pos2 = start + 2; in Parse()
309 while (pos2 < len) { in Parse()
310 if (uri[pos2] == '/') break; in Parse()
311 if (uri[pos2] == '?') break; in Parse()
312 if (uri[pos2] == '#') break; in Parse()
313 pos2++; in Parse()
315 std::memcpy(auth_, &uri[start], (pos2 - start) * sizeof(Ch)); in Parse()
316 auth_[pos2 - start] = '\0'; in Parse()
317 start = pos2; in Parse()
325 pos2 = start; in Parse()
326 while (pos2 < len) { in Parse()
327 if (uri[pos2] == '?') break; in Parse()
328 if (uri[pos2] == '#') break; in Parse()
329 pos2++; in Parse()
331 if (start != pos2) { in Parse()
332 std::memcpy(path_, &uri[start], (pos2 - start) * sizeof(Ch)); in Parse()
333 path_[pos2 - start] = '\0'; in Parse()
336 start = pos2; in Parse()
345 pos2 = start + 1; in Parse()
346 while (pos2 < len) { in Parse()
347 if (uri[pos2] == '#') break; in Parse()
348 pos2++; in Parse()
350 if (start != pos2) { in Parse()
351 std::memcpy(query_, &uri[start], (pos2 - start) * sizeof(Ch)); in Parse()
352 query_[pos2 - start] = '\0'; in Parse()
353 start = pos2; in Parse()