Home
last modified time | relevance | path

Searched refs:new_parsed (Results 1 – 11 of 11) sorted by relevance

/external/cronet/url/
Durl_canon_stdurl.cc22 Parsed* new_parsed) { in DoCanonicalizeStandardURL() argument
25 output, &new_parsed->scheme); in DoCanonicalizeStandardURL()
51 output, &new_parsed->username, &new_parsed->password); in DoCanonicalizeStandardURL()
53 new_parsed->username.reset(); in DoCanonicalizeStandardURL()
54 new_parsed->password.reset(); in DoCanonicalizeStandardURL()
58 output, &new_parsed->host); in DoCanonicalizeStandardURL()
67 &output->data()[new_parsed->scheme.begin], new_parsed->scheme.len); in DoCanonicalizeStandardURL()
69 output, &new_parsed->port); in DoCanonicalizeStandardURL()
71 new_parsed->port.reset(); in DoCanonicalizeStandardURL()
76 new_parsed->host.reset(); in DoCanonicalizeStandardURL()
[all …]
Durl_canon_mailtourl.cc37 Parsed* new_parsed) { in DoCanonicalizeMailtoURL() argument
39 new_parsed->username = Component(); in DoCanonicalizeMailtoURL()
40 new_parsed->password = Component(); in DoCanonicalizeMailtoURL()
41 new_parsed->host = Component(); in DoCanonicalizeMailtoURL()
42 new_parsed->port = Component(); in DoCanonicalizeMailtoURL()
43 new_parsed->ref = Component(); in DoCanonicalizeMailtoURL()
47 new_parsed->scheme.begin = output->length(); in DoCanonicalizeMailtoURL()
49 new_parsed->scheme.len = 6; in DoCanonicalizeMailtoURL()
55 new_parsed->path.begin = output->length(); in DoCanonicalizeMailtoURL()
69 new_parsed->path.len = output->length() - new_parsed->path.begin; in DoCanonicalizeMailtoURL()
[all …]
Durl_canon_filesystemurl.cc26 Parsed* new_parsed) { in DoCanonicalizeFileSystemURL() argument
28 new_parsed->username.reset(); in DoCanonicalizeFileSystemURL()
29 new_parsed->password.reset(); in DoCanonicalizeFileSystemURL()
30 new_parsed->host.reset(); in DoCanonicalizeFileSystemURL()
31 new_parsed->port.reset(); in DoCanonicalizeFileSystemURL()
38 new_parsed->scheme.begin = output->length(); in DoCanonicalizeFileSystemURL()
40 new_parsed->scheme.len = 10; in DoCanonicalizeFileSystemURL()
72 &new_parsed->path); in DoCanonicalizeFileSystemURL()
76 output, &new_parsed->query); in DoCanonicalizeFileSystemURL()
77 CanonicalizeRef(source.ref, parsed.ref, output, &new_parsed->ref); in DoCanonicalizeFileSystemURL()
[all …]
Durl_canon_pathurl.cc54 Parsed* new_parsed) { in DoCanonicalizePathURL() argument
57 output, &new_parsed->scheme); in DoCanonicalizePathURL()
61 new_parsed->username.reset(); in DoCanonicalizePathURL()
62 new_parsed->password.reset(); in DoCanonicalizePathURL()
63 new_parsed->host.reset(); in DoCanonicalizePathURL()
64 new_parsed->port.reset(); in DoCanonicalizePathURL()
71 output, &new_parsed->path); in DoCanonicalizePathURL()
76 &new_parsed->query); in DoCanonicalizePathURL()
78 CanonicalizeRef(source.ref, parsed.ref, output, &new_parsed->ref); in DoCanonicalizePathURL()
89 Parsed* new_parsed) { in CanonicalizePathURL() argument
[all …]
Durl_canon_fileurl.cc128 Parsed* new_parsed) { in DoCanonicalizeFileURL() argument
130 new_parsed->username = Component(); in DoCanonicalizeFileURL()
131 new_parsed->password = Component(); in DoCanonicalizeFileURL()
132 new_parsed->port = Component(); in DoCanonicalizeFileURL()
136 new_parsed->scheme.begin = output->length(); in DoCanonicalizeFileURL()
138 new_parsed->scheme.len = 4; in DoCanonicalizeFileURL()
161 CanonicalizeHost(source.host, host_range, output, &new_parsed->host); in DoCanonicalizeFileURL()
163 output, &new_parsed->path); in DoCanonicalizeFileURL()
166 output, &new_parsed->query); in DoCanonicalizeFileURL()
167 CanonicalizeRef(source.ref, parsed.ref, output, &new_parsed->ref); in DoCanonicalizeFileURL()
[all …]
Durl_canon_internal_file.h83 ParsedURL* new_parsed) { in DoCanonicalizeFileURL() argument
85 new_parsed->username = ParsedComponent(0, -1); in DoCanonicalizeFileURL()
86 new_parsed->password = ParsedComponent(0, -1); in DoCanonicalizeFileURL()
87 new_parsed->port = ParsedComponent(0, -1); in DoCanonicalizeFileURL()
91 new_parsed->scheme.begin = output->length(); in DoCanonicalizeFileURL()
96 new_parsed->scheme.len = output->length() - new_parsed->scheme.begin; in DoCanonicalizeFileURL()
109 source.host, parsed.host, output, &new_parsed->host); in DoCanonicalizeFileURL()
113 new_parsed->path.begin = output->length(); in DoCanonicalizeFileURL()
122 new_parsed->path.len = output->length() - new_parsed->path.begin; in DoCanonicalizeFileURL()
126 source.query, parsed.query, output, &new_parsed->query); in DoCanonicalizeFileURL()
[all …]
Durl_canon.h603 Parsed* new_parsed);
611 Parsed* new_parsed);
620 Parsed* new_parsed);
627 Parsed* new_parsed);
636 Parsed* new_parsed);
643 Parsed* new_parsed);
652 Parsed* new_parsed);
658 Parsed* new_parsed);
683 Parsed* new_parsed);
689 Parsed* new_parsed);
[all …]
Durl_util_unittest.cc157 Parsed new_parsed; in TEST_F() local
162 ReplaceComponents(NULL, 0, parsed, replacements, NULL, &output, &new_parsed); in TEST_F()
163 ReplaceComponents("", 0, parsed, replacements, NULL, &output, &new_parsed); in TEST_F()
166 ReplaceComponents(NULL, 0, parsed, replacements, NULL, &output, &new_parsed); in TEST_F()
167 ReplaceComponents("", 0, parsed, replacements, NULL, &output, &new_parsed); in TEST_F()
170 ReplaceComponents(NULL, 0, parsed, replacements, NULL, &output, &new_parsed); in TEST_F()
171 ReplaceComponents("", 0, parsed, replacements, NULL, &output, &new_parsed); in TEST_F()
172 ReplaceComponents(NULL, 0, parsed, replacements, NULL, &output, &new_parsed); in TEST_F()
173 ReplaceComponents("", 0, parsed, replacements, NULL, &output, &new_parsed); in TEST_F()
Durl_canon_unittest.cc1717 Parsed new_parsed; in TEST() local
1720 &output1, &new_parsed); in TEST()
1730 &output2, &new_parsed); in TEST()
/external/cronet/net/http/
Dhttp_response_headers.cc282 const HeaderList& new_parsed = new_headers.parsed_; in Update() local
284 DCHECK(!new_parsed[i].is_continuation()); in Update()
288 while (++k < new_parsed.size() && new_parsed[k].is_continuation()) {} in Update()
292 base::MakeStringPiece(new_parsed[i].name_begin, new_parsed[i].name_end); in Update()
299 new_raw_headers.append(new_parsed[i].name_begin, new_parsed[k].value_end); in Update()
Dhttp_response_headers_unittest.cc1051 auto new_parsed = base::MakeRefCounted<HttpResponseHeaders>(new_headers); in TEST_P() local
1053 parsed->Update(*new_parsed.get()); in TEST_P()