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

1 2

  /external/chromium/googleurl/src/
url_canon_ip.h 35 #include "googleurl/src/url_parse.h"
58 const url_parse::Component& host,
59 url_parse::Component components[4]);
61 const url_parse::Component& host,
62 url_parse::Component components[4]);
76 const url_parse::Component& host,
80 const url_parse::Component& host,
90 const url_parse::Component& host,
93 const url_parse::Component& host,
url_canon.h 36 #include "googleurl/src/url_parse.h"
296 const url_parse::Component& scheme,
298 url_parse::Component* out_scheme);
300 const url_parse::Component& scheme,
302 url_parse::Component* out_scheme);
315 const url_parse::Component& username,
317 const url_parse::Component& password,
319 url_parse::Component* out_username,
320 url_parse::Component* out_password);
322 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_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))));
284 {"http", "http:", url_parse::Component(0, 4), true},
285 {"HTTP", "http:", url_parse::Component(0, 4), true},
286 {" HTTP ", "%20http%20:", url_parse::Component(0, 10), false},
287 {"htt: ", "htt%3A%20:", url_parse::Component(0, 9), false}
    [all...]
url_util.h 36 #include "googleurl/src/url_parse.h"
54 url_parse::Component* found_scheme);
58 url_parse::Component* found_scheme);
61 url_parse::Component* found_scheme) {
67 url_parse::Component* found_scheme) {
76 const url_parse::Component& scheme);
78 const url_parse::Component& scheme);
96 url_parse::Parsed* output_parsed);
101 url_parse::Parsed* output_parsed);
115 const url_parse::Parsed& base_parsed
    [all...]
url_util_unittest.cc 32 #include "googleurl/src/url_parse.h"
37 url_parse::Component found_scheme;
45 EXPECT_TRUE(found_scheme == url_parse::Component(0, 4));
50 EXPECT_TRUE(found_scheme == url_parse::Component(0, 4));
56 EXPECT_TRUE(found_scheme == url_parse::Component());
62 EXPECT_TRUE(found_scheme == url_parse::Component(0, 0));
66 EXPECT_TRUE(found_scheme == url_parse::Component());
70 url_parse::Parsed parsed;
72 url_parse::Parsed new_parsed;
76 replacements.SetRef("test", url_parse::Component(0, 4))
    [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);
169 const url_parse::Component& username,
171 const url_parse::Component& password,
173 url_parse::Component* out_username,
174 url_parse::Component* out_password) {
177 *out_username = url_parse::Component();
178 *out_password = url_parse::Component();
200 *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_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) {
174 const url_parse::Parsed& base_parsed,
178 url_parse::Parsed* new_parsed)
    [all...]
url_util.cc 89 const url_parse::Component& component,
102 bool IsStandardScheme(const CHAR* spec, const url_parse::Component& scheme) {
120 const url_parse::Component& scheme) {
131 const url_parse::Component& scheme) {
140 url_parse::Component* found_scheme) {
141 url_parse::Component our_scheme;
142 if (!url_parse::ExtractScheme(str, str_len, &our_scheme)) {
145 *found_scheme = url_parse::Component();
157 url_parse::Parsed* output_parsed) {
165 url_parse::Parsed parsed_input
    [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]) {
69 url_parse::Component(cur_component_begin, component_len);
101 components[cur_component++] = url_parse::Component();
118 const url_parse::Component& component,
186 url_parse::Component* out_host) {
204 const url_parse::Component& host,
208 url_parse::Component components[4];
261 const url_parse::Component& host,
328 url_parse::Component hex_components[8]
    [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...]
gurl.h 39 #include "googleurl/src/url_parse.h"
67 const url_parse::Parsed& parsed, bool is_valid);
119 const url_parse::Parsed& parsed_for_possibly_invalid_spec() const {
347 std::string ComponentString(const url_parse::Component& comp) const {
362 url_parse::Parsed parsed_;
url_file.h 38 namespace url_parse { namespace
106 } // namespace url_parse
gurl_unittest.cc 23 const url_parse::Component&),
27 url_parse::Component comp;
98 EXPECT_EQ(url_parse::PORT_UNSPECIFIED, url.IntPort());
131 EXPECT_EQ(url_parse::PORT_UNSPECIFIED, invalid2.IntPort());
148 EXPECT_EQ(url_parse::PORT_INVALID, url.IntPort());
316 {"file://www.google.com/", url_parse::PORT_UNSPECIFIED},
317 {"file://www.google.com:443/", url_parse::PORT_UNSPECIFIED},
320 {"data:www.google.com:90", url_parse::PORT_UNSPECIFIED},
321 {"data:www.google.com", url_parse::PORT_UNSPECIFIED},
url_canon_internal.cc 88 const url_parse::Component& override_component,
90 url_parse::Component* dest_component) {
111 const url_parse::Component& override_component,
113 url_parse::Component* dest_component) {
118 *dest_component = url_parse::Component();
307 url_parse::Parsed* parsed) {
310 const url_parse::Parsed& repl_parsed = repl.components();
339 url_parse::Parsed* parsed) {
344 const url_parse::Parsed& repl_parsed = repl.components();
  /external/webkit/WebCore/platform/
KURLGooglePrivate.h 36 #include <googleurl/src/url_parse.h>
50 KURLGooglePrivate(const url_parse::Parsed&, bool isValid);
71 String componentString(const url_parse::Component&) const;
75 typedef url_canon::Replacements<url_parse::UTF16Char> Replacements;
96 url_parse::Parsed m_parsed; // Indexes into the UTF-8 version of the string.
KURLGoogle.cpp 71 virtual void ConvertFromUTF16(const url_parse::UTF16Char* input, int inputLength,
99 static inline const url_parse::UTF16Char* CharactersOrEmpty(const String& str)
101 static const url_parse::UTF16Char zero = 0;
103 reinterpret_cast<const url_parse::UTF16Char*>(str.characters()) :
146 KURLGooglePrivate::KURLGooglePrivate(const url_parse::Parsed& parsed, bool isValid)
293 String KURLGooglePrivate::componentString(const url_parse::Component& comp) const
316 url_parse::Parsed newParsed;
398 const url_parse::Parsed& parsed, bool isValid)
469 url_parse::Component path = m_url.m_parsed.path;
473 url_parse::Component file
    [all...]
  /external/webkit/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;

Completed in 322 milliseconds

1 2