HomeSort by relevance Sort by last modified time
    Searched refs:url_parse (Results 1 - 25 of 71) sorted by null

1 2 3

  /external/chromium/chrome/browser/net/
url_fixer_upper_unittest.cc 14 #include "googleurl/src/url_parse.h"
24 namespace url_parse { namespace
30 } // namespace url_parse
35 const url_parse::Component scheme;
36 const url_parse::Component username;
37 const url_parse::Component password;
38 const url_parse::Component host;
39 const url_parse::Component port;
40 const url_parse::Component path;
41 const url_parse::Component query
    [all...]
url_fixer_upper.h 14 namespace url_parse { namespace
32 std::string SegmentURL(const std::string& text, url_parse::Parsed* parts);
33 string16 SegmentURL(const string16& text, url_parse::Parsed* parts);
69 void OffsetComponent(int offset, url_parse::Component* part);
url_fixer_upper.cc 18 #include "googleurl/src/url_parse.h"
29 // SegmentURL. A url_parse::Parsed object keeps track of a bunch of indices into
33 url_parse::Component UTF8ComponentToUTF16Component(
35 const url_parse::Component& component_utf8) {
37 return url_parse::Component();
45 url_parse::Component component_16(before_component_string_16.length(),
51 const url_parse::Parsed& parts_utf8,
52 url_parse::Parsed* parts) {
222 const url_parse::Component& part,
234 const url_parse::Component& part
    [all...]
  /external/chromium/googleurl/src/
url_canon_ip.h 36 #include "googleurl/src/url_parse.h"
59 const url_parse::Component& host,
60 url_parse::Component components[4]);
62 const url_parse::Component& host,
63 url_parse::Component components[4]);
78 const url_parse::Component& host,
83 const url_parse::Component& host,
93 const url_parse::Component& host,
96 const url_parse::Component& host,
url_canon.h 37 #include "googleurl/src/url_parse.h"
297 const url_parse::Component& scheme,
299 url_parse::Component* out_scheme);
301 const url_parse::Component& scheme,
303 url_parse::Component* out_scheme);
316 const url_parse::Component& username,
318 const url_parse::Component& password,
320 url_parse::Component* out_username,
321 url_parse::Component* out_password);
323 const url_parse::Component& username
    [all...]
url_canon_mailtourl.cc 44 const url_parse::Parsed& parsed,
46 url_parse::Parsed* new_parsed) {
49 new_parsed->username = url_parse::Component();
50 new_parsed->password = url_parse::Component();
51 new_parsed->host = url_parse::Component();
52 new_parsed->port = url_parse::Component();
53 new_parsed->ref = url_parse::Component();
96 const url_parse::Parsed& parsed,
98 url_parse::Parsed* new_parsed) {
105 const url_parse::Parsed& parsed
    [all...]
url_util.h 37 #include "googleurl/src/url_parse.h"
94 url_parse::Component* found_scheme);
98 url_parse::Component* found_scheme);
101 url_parse::Component* found_scheme) {
107 url_parse::Component* found_scheme) {
115 const url_parse::Component& scheme);
117 const url_parse::Component& scheme);
122 const url_parse::Component& scheme) {
142 url_parse::Parsed* output_parsed);
147 url_parse::Parsed* output_parsed)
    [all...]
url_canon_unittest.cc 37 #include "googleurl/src/url_parse.h"
58 url_parse::Component expected_component;
69 url_parse::Component expected_component;
79 url_parse::Component expected_component;
134 const url_parse::Component&),
141 (rep->*set)(str, url_parse::Component(0, static_cast<int>(strlen(str))));
322 {"http", "http:", url_parse::Component(0, 4), true},
323 {"HTTP", "http:", url_parse::Component(0, 4), true},
324 {" HTTP ", "%20http%20:", url_parse::Component(0, 10), false},
325 {"htt: ", "htt%3A%20:", url_parse::Component(0, 9), false}
    [all...]
url_canon_etc.cc 110 const url_parse::Component& scheme,
112 url_parse::Component* out_scheme) {
115 *out_scheme = url_parse::Component(output->length(), 0);
174 const url_parse::Component& username,
176 const url_parse::Component& password,
178 url_parse::Component* out_username,
179 url_parse::Component* out_password) {
182 *out_username = url_parse::Component();
183 *out_password = url_parse::Component();
205 *out_password = url_parse::Component()
    [all...]
url_canon_relative.cc 53 const url_parse::Component& base_scheme,
55 const url_parse::Component& cmp_scheme) {
79 return url_parse::IsURLSlash(spec[start_offset]) &&
80 url_parse::DoesBeginWindowsDriveSpec(spec, start_offset + 1, spec_len);
88 const url_parse::Parsed& base_parsed,
93 url_parse::Component* relative_component) {
98 url_parse::TrimURL(url, &begin, &url_len);
101 *relative_component = url_parse::Component(begin, 0);
118 if (url_parse::DoesBeginWindowsDriveSpec(url, begin, url_len) ||
119 url_parse::DoesBeginUNCPath(url, begin, url_len, true)
    [all...]
url_canon_pathurl.cc 43 const url_parse::Parsed& parsed,
45 url_parse::Parsed* new_parsed) {
87 const url_parse::Parsed& parsed,
89 url_parse::Parsed* new_parsed) {
96 const url_parse::Parsed& parsed,
98 url_parse::Parsed* new_parsed) {
104 const url_parse::Parsed& base_parsed,
107 url_parse::Parsed* new_parsed) {
109 url_parse::Parsed parsed(base_parsed);
116 const url_parse::Parsed& base_parsed
    [all...]
url_canon_fileurl.cc 53 int num_slashes = url_parse::CountConsecutiveSlashes(spec, begin, end);
56 if (!url_parse::DoesBeginWindowsDriveSpec(spec, after_slashes, end))
81 const url_parse::Component& path,
83 url_parse::Component* out_path) {
100 url_parse::Component sub_path =
101 url_parse::MakeRange(after_drive, path.end());
102 url_parse::Component fake_output_path;
115 const url_parse::Parsed& parsed,
118 url_parse::Parsed* new_parsed) {
120 new_parsed->username = url_parse::Component()
    [all...]
url_canon_stdstring.h 99 url_parse::Component(0, static_cast<int>(s.length())));
103 url_parse::Component(0, static_cast<int>(s.length())));
107 url_parse::Component(0, static_cast<int>(s.length())));
111 url_parse::Component(0, static_cast<int>(s.length())));
115 url_parse::Component(0, static_cast<int>(s.length())));
119 url_parse::Component(0, static_cast<int>(s.length())));
123 url_parse::Component(0, static_cast<int>(s.length())));
127 url_parse::Component(0, static_cast<int>(s.length())));
url_util.cc 95 const url_parse::Component& component,
107 bool DoIsStandard(const CHAR* spec, const url_parse::Component& scheme) {
124 url_parse::Component* found_scheme) {
132 url_parse::Component our_scheme;
133 if (!url_parse::ExtractScheme(spec, spec_len, &our_scheme)) {
136 *found_scheme = url_parse::Component();
148 url_parse::Parsed* output_parsed) {
156 url_parse::Parsed parsed_input;
168 if (url_parse::DoesBeginUNCPath(spec, 0, spec_len, false) ||
169 url_parse::DoesBeginWindowsDriveSpec(spec, 0, spec_len))
    [all...]
url_canon_stdurl.cc 42 const url_parse::Parsed& parsed,
45 url_parse::Parsed* new_parsed) {
100 new_parsed->path = url_parse::Component(output->length(), 1);
123 int default_port = url_parse::PORT_UNSPECIFIED;
153 const url_parse::Parsed& parsed,
156 url_parse::Parsed* new_parsed) {
164 const url_parse::Parsed& parsed,
167 url_parse::Parsed* new_parsed) {
183 const url_parse::Parsed& base_parsed,
187 url_parse::Parsed* new_parsed)
    [all...]
url_canon_query.cc 70 bool IsAllASCII(const CHAR* spec, const url_parse::Component& query) {
97 const url_parse::Component& query,
111 const url_parse::Component& query,
119 const url_parse::Component& query,
144 const url_parse::Component& query,
147 url_parse::Component* out_query) {
149 *out_query = url_parse::Component();
164 const url_parse::Component& query,
167 url_parse::Component* out_query) {
173 const url_parse::Component& query
    [all...]
url_canon_ip.cc 59 const url_parse::Component& host,
60 url_parse::Component components[4]) {
72 url_parse::Component(cur_component_begin, component_len);
104 components[cur_component++] = url_parse::Component();
121 const url_parse::Component& component,
189 url_parse::Component* out_host) {
207 const url_parse::Component& host,
211 url_parse::Component components[4];
264 const url_parse::Component& host,
331 url_parse::Component hex_components[8]
    [all...]
url_util_unittest.cc 32 #include "googleurl/src/url_parse.h"
38 url_parse::Component found_scheme;
46 EXPECT_TRUE(found_scheme == url_parse::Component(0, 4));
51 EXPECT_TRUE(found_scheme == url_parse::Component(0, 4));
57 EXPECT_TRUE(found_scheme == url_parse::Component());
63 EXPECT_TRUE(found_scheme == url_parse::Component(0, 0));
67 EXPECT_TRUE(found_scheme == url_parse::Component());
75 EXPECT_TRUE(found_scheme == url_parse::Component(1, 10));
83 EXPECT_TRUE(found_scheme == url_parse::Component(1, 11));
87 url_parse::Parsed parsed
    [all...]
url_parse_unittest.cc 31 #include "googleurl/src/url_parse.h"
107 const url_parse::Component& component) {
127 void ExpectInvalidComponent(const url_parse::Component& component) {
158 url_parse::Parsed parsed;
159 url_parse::ParseStandardURL(length_cases[i], true_length, &parsed);
166 using namespace url_parse;
219 url_parse::Parsed parsed;
221 url_parse::ParseFileURL(count_cases[i].url, length, &parsed);
223 url_parse::ParseStandardURL(count_cases[i].url, length, &parsed);
332 url_parse::Parsed parsed
    [all...]
url_canon_host.cc 103 void ScanHostname(const CHAR* spec, const url_parse::Component& host,
315 const url_parse::Component& host,
321 host_info->out_host = url_parse::Component();
350 url_parse::MakeRange(output_begin, output->length()),
362 host_info->out_host = url_parse::MakeRange(output_begin, output->length());
368 const url_parse::Component& host,
370 url_parse::Component* out_host) {
378 const url_parse::Component& host,
380 url_parse::Component* out_host) {
388 const url_parse::Component& host
    [all...]
url_canon_path.cc 134 if (url_parse::IsURLSlash(spec[after_dot])) {
148 if (url_parse::IsURLSlash(spec[after_second_dot])) {
206 const url_parse::Component& path,
324 const url_parse::Component& path,
326 url_parse::Component* out_path) {
335 if (!url_parse::IsURLSlash(spec[path.begin]))
343 *out_path = url_parse::Component();
351 const url_parse::Component& path,
353 url_parse::Component* out_path) {
358 const url_parse::Component& path
    [all...]
  /external/webkit/Source/WebCore/platform/
KURLGooglePrivate.h 36 #include <googleurl/src/url_parse.h>
50 KURLGooglePrivate(const url_parse::Parsed&, bool isValid);
70 String componentString(const url_parse::Component&) const;
74 typedef url_canon::Replacements<url_parse::UTF16Char> Replacements;
95 url_parse::Parsed m_parsed; // Indexes into the UTF-8 version of the string.
KURLGoogle.cpp 72 virtual void ConvertFromUTF16(const url_parse::UTF16Char* input, int inputLength,
100 static inline const url_parse::UTF16Char* CharactersOrEmpty(const String& str)
102 static const url_parse::UTF16Char zero = 0;
104 reinterpret_cast<const url_parse::UTF16Char*>(str.characters()) :
163 KURLGooglePrivate::KURLGooglePrivate(const url_parse::Parsed& parsed, bool isValid)
289 String KURLGooglePrivate::componentString(const url_parse::Component& comp) const
312 url_parse::Parsed newParsed;
394 const url_parse::Parsed& parsed, bool isValid)
465 url_parse::Component path = m_url.m_parsed.path;
469 url_parse::Component file
    [all...]
  /external/webkit/Source/WebKit/chromium/public/
WebURL.h 35 #include <googleurl/src/url_parse.h>
55 WebURL(const WebCString& spec, const url_parse::Parsed& parsed, bool isValid)
77 void assign(const WebCString& spec, const url_parse::Parsed& parsed, bool isValid)
89 const url_parse::Parsed& parsed() const
137 url_parse::Parsed m_parsed;
  /external/chromium/chrome/common/
content_settings_helper.cc 15 std::string port_component(origin.IntPort() != url_parse::PORT_UNSPECIFIED ?

Completed in 512 milliseconds

1 2 3