Lines Matching refs:start
278 std::size_t start = 0, pos1 = 0, pos2 = 0; in Parse() local
282 if (start < len) { in Parse()
296 std::memcpy(scheme_, &uri[start], pos1 * sizeof(Ch)); in Parse()
298 start = pos1; in Parse()
307 if (start < len - 1 && uri[start] == '/' && uri[start + 1] == '/') { in Parse()
308 pos2 = start + 2; 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()
324 if (start < len) { in Parse()
325 pos2 = start; 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()
344 if (start < len && uri[start] == '?') { in Parse()
345 pos2 = start + 1; 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()
361 if (start < len && uri[start] == '#') { in Parse()
362 std::memcpy(frag_, &uri[start], (len - start) * sizeof(Ch)); in Parse()
363 frag_[len - start] = '\0'; in Parse()