Home
last modified time | relevance | path

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

/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/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()