Home
last modified time | relevance | path

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

/external/chromium_org/url/
Durl_canon_mailtourl.cc21 url_parse::Parsed* new_parsed) { in DoCanonicalizeMailtoURL() argument
24 new_parsed->username = url_parse::Component(); in DoCanonicalizeMailtoURL()
25 new_parsed->password = url_parse::Component(); in DoCanonicalizeMailtoURL()
26 new_parsed->host = url_parse::Component(); in DoCanonicalizeMailtoURL()
27 new_parsed->port = url_parse::Component(); in DoCanonicalizeMailtoURL()
28 new_parsed->ref = url_parse::Component(); in DoCanonicalizeMailtoURL()
32 new_parsed->scheme.begin = output->length(); in DoCanonicalizeMailtoURL()
34 new_parsed->scheme.len = 6; in DoCanonicalizeMailtoURL()
40 new_parsed->path.begin = output->length(); in DoCanonicalizeMailtoURL()
54 new_parsed->path.len = output->length() - new_parsed->path.begin; in DoCanonicalizeMailtoURL()
[all …]
Durl_canon_stdurl.cc20 url_parse::Parsed* new_parsed) { in DoCanonicalizeStandardURL() argument
23 output, &new_parsed->scheme); in DoCanonicalizeStandardURL()
41 &new_parsed->username, in DoCanonicalizeStandardURL()
42 &new_parsed->password); in DoCanonicalizeStandardURL()
45 output, &new_parsed->host); in DoCanonicalizeStandardURL()
53 &output->data()[new_parsed->scheme.begin], new_parsed->scheme.len); in DoCanonicalizeStandardURL()
55 output, &new_parsed->port); in DoCanonicalizeStandardURL()
59 new_parsed->host.reset(); in DoCanonicalizeStandardURL()
60 new_parsed->username.reset(); in DoCanonicalizeStandardURL()
61 new_parsed->password.reset(); in DoCanonicalizeStandardURL()
[all …]
Durl_canon_filesystemurl.cc26 url_parse::Parsed* new_parsed) { in DoCanonicalizeFileSystemURL() argument
28 new_parsed->username = url_parse::Component(); in DoCanonicalizeFileSystemURL()
29 new_parsed->password = url_parse::Component(); in DoCanonicalizeFileSystemURL()
30 new_parsed->host = url_parse::Component(); in DoCanonicalizeFileSystemURL()
31 new_parsed->port = url_parse::Component(); in DoCanonicalizeFileSystemURL()
38 new_parsed->scheme.begin = output->length(); in DoCanonicalizeFileSystemURL()
40 new_parsed->scheme.len = 10; in DoCanonicalizeFileSystemURL()
70 &new_parsed->path); in DoCanonicalizeFileSystemURL()
74 output, &new_parsed->query); in DoCanonicalizeFileSystemURL()
75 CanonicalizeRef(source.ref, parsed.ref, output, &new_parsed->ref); in DoCanonicalizeFileSystemURL()
[all …]
Durl_canon_pathurl.cc53 url_parse::Parsed* new_parsed) { in DoCanonicalizePathURL() argument
56 output, &new_parsed->scheme); in DoCanonicalizePathURL()
60 new_parsed->username.reset(); in DoCanonicalizePathURL()
61 new_parsed->password.reset(); in DoCanonicalizePathURL()
62 new_parsed->host.reset(); in DoCanonicalizePathURL()
63 new_parsed->port.reset(); in DoCanonicalizePathURL()
67 source.path, parsed.path, 0, output, &new_parsed->path); in DoCanonicalizePathURL()
69 source.query, parsed.query, '?', output, &new_parsed->query); in DoCanonicalizePathURL()
71 source.ref, parsed.ref, '#', output, &new_parsed->ref); in DoCanonicalizePathURL()
82 url_parse::Parsed* new_parsed) { in CanonicalizePathURL() argument
[all …]
Durl_canon_fileurl.cc93 url_parse::Parsed* new_parsed) { in DoCanonicalizeFileURL() argument
95 new_parsed->username = url_parse::Component(); in DoCanonicalizeFileURL()
96 new_parsed->password = url_parse::Component(); in DoCanonicalizeFileURL()
97 new_parsed->port = url_parse::Component(); in DoCanonicalizeFileURL()
101 new_parsed->scheme.begin = output->length(); in DoCanonicalizeFileURL()
103 new_parsed->scheme.len = 4; in DoCanonicalizeFileURL()
111 output, &new_parsed->host); in DoCanonicalizeFileURL()
113 output, &new_parsed->path); in DoCanonicalizeFileURL()
115 output, &new_parsed->query); in DoCanonicalizeFileURL()
118 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 = ParsedURL::Component(0, -1); in DoCanonicalizeFileURL()
86 new_parsed->password = ParsedURL::Component(0, -1); in DoCanonicalizeFileURL()
87 new_parsed->port = ParsedURL::Component(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.h510 url_parse::Parsed* new_parsed);
516 url_parse::Parsed* new_parsed);
524 url_parse::Parsed* new_parsed);
530 url_parse::Parsed* new_parsed);
538 url_parse::Parsed* new_parsed);
544 url_parse::Parsed* new_parsed);
552 url_parse::Parsed* new_parsed);
557 url_parse::Parsed* new_parsed);
568 url_parse::Parsed* new_parsed);
573 url_parse::Parsed* new_parsed);
[all …]
Durl_util_unittest.cc64 url_parse::Parsed new_parsed; in TEST() local
70 &new_parsed); in TEST()
72 &new_parsed); in TEST()
76 &new_parsed); in TEST()
78 &new_parsed); in TEST()
82 &new_parsed); in TEST()
84 &new_parsed); in TEST()
86 &new_parsed); in TEST()
88 &new_parsed); in TEST()
Durl_canon_unittest.cc1483 url_parse::Parsed new_parsed; in TEST() local
1484 url_canon::ReplaceStandardURL(src, parsed, r, NULL, &output1, &new_parsed); in TEST()
1492 url_canon::ReplaceStandardURL(src, parsed, r, NULL, &output2, &new_parsed); in TEST()
/external/chromium/googleurl/src/
Durl_canon_mailtourl.cc46 url_parse::Parsed* new_parsed) { in DoCanonicalizeMailtoURL() argument
49 new_parsed->username = url_parse::Component(); in DoCanonicalizeMailtoURL()
50 new_parsed->password = url_parse::Component(); in DoCanonicalizeMailtoURL()
51 new_parsed->host = url_parse::Component(); in DoCanonicalizeMailtoURL()
52 new_parsed->port = url_parse::Component(); in DoCanonicalizeMailtoURL()
53 new_parsed->ref = url_parse::Component(); in DoCanonicalizeMailtoURL()
57 new_parsed->scheme.begin = output->length(); in DoCanonicalizeMailtoURL()
59 new_parsed->scheme.len = 6; in DoCanonicalizeMailtoURL()
65 new_parsed->path.begin = output->length(); in DoCanonicalizeMailtoURL()
79 new_parsed->path.len = output->length() - new_parsed->path.begin; in DoCanonicalizeMailtoURL()
[all …]
Durl_canon_stdurl.cc45 url_parse::Parsed* new_parsed) { in DoCanonicalizeStandardURL() argument
48 output, &new_parsed->scheme); in DoCanonicalizeStandardURL()
66 &new_parsed->username, in DoCanonicalizeStandardURL()
67 &new_parsed->password); in DoCanonicalizeStandardURL()
70 output, &new_parsed->host); in DoCanonicalizeStandardURL()
78 &output->data()[new_parsed->scheme.begin], new_parsed->scheme.len); in DoCanonicalizeStandardURL()
80 output, &new_parsed->port); in DoCanonicalizeStandardURL()
84 new_parsed->host.reset(); in DoCanonicalizeStandardURL()
85 new_parsed->username.reset(); in DoCanonicalizeStandardURL()
86 new_parsed->password.reset(); in DoCanonicalizeStandardURL()
[all …]
Durl_canon_pathurl.cc45 url_parse::Parsed* new_parsed) { in DoCanonicalizePathURL() argument
48 output, &new_parsed->scheme); in DoCanonicalizePathURL()
52 new_parsed->username.reset(); in DoCanonicalizePathURL()
53 new_parsed->password.reset(); in DoCanonicalizePathURL()
54 new_parsed->host.reset(); in DoCanonicalizePathURL()
55 new_parsed->port.reset(); in DoCanonicalizePathURL()
61 new_parsed->path.begin = output->length(); in DoCanonicalizePathURL()
70 new_parsed->path.len = output->length() - new_parsed->path.begin; in DoCanonicalizePathURL()
73 new_parsed->path.reset(); in DoCanonicalizePathURL()
77 new_parsed->query.reset(); in DoCanonicalizePathURL()
[all …]
Durl_canon_fileurl.cc118 url_parse::Parsed* new_parsed) { in DoCanonicalizeFileURL() argument
120 new_parsed->username = url_parse::Component(); in DoCanonicalizeFileURL()
121 new_parsed->password = url_parse::Component(); in DoCanonicalizeFileURL()
122 new_parsed->port = url_parse::Component(); in DoCanonicalizeFileURL()
126 new_parsed->scheme.begin = output->length(); in DoCanonicalizeFileURL()
128 new_parsed->scheme.len = 4; in DoCanonicalizeFileURL()
136 output, &new_parsed->host); in DoCanonicalizeFileURL()
138 output, &new_parsed->path); in DoCanonicalizeFileURL()
140 output, &new_parsed->query); in DoCanonicalizeFileURL()
143 CanonicalizeRef(source.ref, parsed.ref, output, &new_parsed->ref); in DoCanonicalizeFileURL()
[all …]
Durl_canon_internal_file.h107 ParsedURL* new_parsed) { in DoCanonicalizeFileURL() argument
109 new_parsed->username = ParsedURL::Component(0, -1); in DoCanonicalizeFileURL()
110 new_parsed->password = ParsedURL::Component(0, -1); in DoCanonicalizeFileURL()
111 new_parsed->port = ParsedURL::Component(0, -1); in DoCanonicalizeFileURL()
115 new_parsed->scheme.begin = output->length(); in DoCanonicalizeFileURL()
120 new_parsed->scheme.len = output->length() - new_parsed->scheme.begin; in DoCanonicalizeFileURL()
133 source.host, parsed.host, output, &new_parsed->host); in DoCanonicalizeFileURL()
137 new_parsed->path.begin = output->length(); in DoCanonicalizeFileURL()
146 new_parsed->path.len = output->length() - new_parsed->path.begin; in DoCanonicalizeFileURL()
150 source.query, parsed.query, output, &new_parsed->query); in DoCanonicalizeFileURL()
[all …]
Durl_util_unittest.cc89 url_parse::Parsed new_parsed; in TEST() local
95 &new_parsed); in TEST()
97 &new_parsed); in TEST()
101 &new_parsed); in TEST()
103 &new_parsed); in TEST()
107 &new_parsed); in TEST()
109 &new_parsed); in TEST()
111 &new_parsed); in TEST()
113 &new_parsed); in TEST()
Durl_canon.h519 url_parse::Parsed* new_parsed);
525 url_parse::Parsed* new_parsed);
533 url_parse::Parsed* new_parsed);
539 url_parse::Parsed* new_parsed);
547 url_parse::Parsed* new_parsed);
552 url_parse::Parsed* new_parsed);
563 url_parse::Parsed* new_parsed);
568 url_parse::Parsed* new_parsed);
758 url_parse::Parsed* new_parsed);
764 url_parse::Parsed* new_parsed);
[all …]
Durl_canon_unittest.cc1349 url_parse::Parsed new_parsed; in TEST() local
1350 url_canon::ReplaceStandardURL(src, parsed, r, NULL, &output1, &new_parsed); in TEST()
1358 url_canon::ReplaceStandardURL(src, parsed, r, NULL, &output2, &new_parsed); in TEST()
/external/chromium/net/base/
Dnet_util.cc841 url_parse::Parsed* new_parsed,
850 url_parse::Parsed* new_parsed, in FormatViewSourceUrl() argument
853 DCHECK(new_parsed); in FormatViewSourceUrl()
865 unescape_rules, new_parsed, prefix_end, offsets_for_adjustment); in FormatViewSourceUrl()
869 if (new_parsed->scheme.is_nonempty()) { in FormatViewSourceUrl()
871 new_parsed->scheme.len += kViewSourceLengthPlus1; in FormatViewSourceUrl()
873 new_parsed->scheme.begin = 0; in FormatViewSourceUrl()
874 new_parsed->scheme.len = kViewSourceLengthPlus1 - 1; in FormatViewSourceUrl()
876 AdjustComponents(kViewSourceLengthPlus1, new_parsed); in FormatViewSourceUrl()
945 url_parse::Parsed* new_parsed, in FormatUrlInternal() argument
[all …]
Dnet_util.h312 url_parse::Parsed* new_parsed,
318 url_parse::Parsed* new_parsed,
346 url_parse::Parsed* new_parsed,
353 url_parse::Parsed* new_parsed,
/external/chromium_org/net/base/
Dnet_util.cc623 url_parse::Parsed* new_parsed, in FormatViewSourceUrl() argument
626 DCHECK(new_parsed); in FormatViewSourceUrl()
639 format_types, unescape_rules, new_parsed, prefix_end, in FormatViewSourceUrl()
648 if (new_parsed->scheme.is_nonempty()) { in FormatViewSourceUrl()
650 new_parsed->scheme.len += kViewSourceLength; in FormatViewSourceUrl()
652 new_parsed->scheme.begin = 0; in FormatViewSourceUrl()
653 new_parsed->scheme.len = kViewSourceLength - 1; in FormatViewSourceUrl()
655 AdjustAllComponentsButScheme(kViewSourceLength, new_parsed); in FormatViewSourceUrl()
1705 url_parse::Parsed* new_parsed, in FormatUrlWithOffsets() argument
1709 if (!new_parsed) in FormatUrlWithOffsets()
[all …]
Dnet_util.h397 url_parse::Parsed* new_parsed,
405 url_parse::Parsed* new_parsed,
/external/chromium/net/http/
Dhttp_response_headers.cc232 const HeaderList& new_parsed = new_headers.parsed_; in Update() local
234 DCHECK(!new_parsed[i].is_continuation()); in Update()
238 while (++k < new_parsed.size() && new_parsed[k].is_continuation()) {} in Update()
241 const std::string::const_iterator& name_begin = new_parsed[i].name_begin; in Update()
242 const std::string::const_iterator& name_end = new_parsed[i].name_end; in Update()
250 new_raw_headers.append(name_begin, new_parsed[k].value_end); in Update()
Dhttp_response_headers_unittest.cc878 scoped_refptr<net::HttpResponseHeaders> new_parsed( in TEST() local
881 parsed->Update(*new_parsed); in TEST()
/external/chromium_org/net/http/
Dhttp_response_headers.cc244 const HeaderList& new_parsed = new_headers.parsed_; in Update() local
246 DCHECK(!new_parsed[i].is_continuation()); in Update()
250 while (++k < new_parsed.size() && new_parsed[k].is_continuation()) {} in Update()
253 const std::string::const_iterator& name_begin = new_parsed[i].name_begin; in Update()
254 const std::string::const_iterator& name_end = new_parsed[i].name_end; in Update()
262 new_raw_headers.append(name_begin, new_parsed[k].value_end); in Update()
Dhttp_response_headers_unittest.cc969 scoped_refptr<net::HttpResponseHeaders> new_parsed( in TEST() local
972 parsed->Update(*new_parsed.get()); in TEST()