Lines Matching refs:std
37 typedef std::basic_string<Ch> String;
208 std::memcpy(&resuri.path_[pos], baseuri.path_, lastslashpos * sizeof(Ch));
234 std::size_t Allocate(std::size_t len) { in Allocate()
277 void Parse(const Ch* uri, std::size_t len) { in Parse()
278 std::size_t start = 0, pos1 = 0, pos2 = 0; in Parse()
296 std::memcpy(scheme_, &uri[start], pos1 * sizeof(Ch)); in Parse()
315 std::memcpy(auth_, &uri[start], (pos2 - start) * sizeof(Ch)); in Parse()
332 std::memcpy(path_, &uri[start], (pos2 - start) * sizeof(Ch)); in Parse()
351 std::memcpy(query_, &uri[start], (pos2 - start) * sizeof(Ch)); in Parse()
362 std::memcpy(frag_, &uri[start], (len - start) * sizeof(Ch)); in Parse()
376 std::memcpy(next, scheme_, GetSchemeStringLength() * sizeof(Ch)); in SetBase()
378 std::memcpy(next, auth_, GetAuthStringLength() * sizeof(Ch)); in SetBase()
380 std::memcpy(next, path_, GetPathStringLength() * sizeof(Ch)); in SetBase()
382 std::memcpy(next, query_, GetQueryStringLength() * sizeof(Ch)); in SetBase()
390 std::memcpy(next, base_, GetBaseStringLength() * sizeof(Ch)); in SetUri()
392 std::memcpy(next, frag_, GetFragStringLength() * sizeof(Ch)); in SetUri()
399 Ch* CopyPart(Ch* to, Ch* from, std::size_t len) { in CopyPart()
402 std::memcpy(to, from, len * sizeof(Ch)); in CopyPart()
412 std::size_t pathlen = GetPathStringLength(); in RemoveDotSegments()
413 std::size_t pathpos = 0; // Position in path_ in RemoveDotSegments()
414 std::size_t newpos = 0; // Position in new path_ in RemoveDotSegments()
446 std::memmove(&path_[newpos], &path_[pathpos], slashpos * sizeof(Ch)); in RemoveDotSegments()