Home
last modified time | relevance | path

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

12345

/external/chromium/chrome/browser/net/
Durl_fixer_upper_unittest.cc26 std::ostream& operator<<(std::ostream& os, const Component& part) { in operator <<()
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;
42 const url_parse::Component ref;
47 url_parse::Component(0, 4), // scheme
[all …]
Durl_fixer_upper.cc33 url_parse::Component UTF8ComponentToUTF16Component( in UTF8ComponentToUTF16Component()
35 const url_parse::Component& component_utf8) { in UTF8ComponentToUTF16Component()
37 return url_parse::Component(); in UTF8ComponentToUTF16Component()
45 url_parse::Component component_16(before_component_string_16.length(), in UTF8ComponentToUTF16Component()
222 const url_parse::Component& part, in FixupUsername()
234 const url_parse::Component& part, in FixupPassword()
245 const url_parse::Component& part, in FixupHost()
274 const url_parse::Component& part, in FixupPort()
285 const url_parse::Component& part, in FixupPath()
298 const url_parse::Component& part, in FixupQuery()
[all …]
/external/chromium/googleurl/src/
Durl_parse.h48 struct Component { struct
49 Component() : begin(0), len(-1) {} in Component() function
52 Component(int b, int l) : begin(b), len(l) {} in Component() argument
75 bool operator==(const Component& other) const { argument
85 inline Component MakeRange(int begin, int end) { in MakeRange() argument
86 return Component(begin, end - begin); in MakeRange()
167 Component scheme;
170 Component username;
176 Component password;
179 Component host;
[all …]
Durl_canon_unittest.cc58 url_parse::Component expected_component;
69 url_parse::Component expected_component;
79 url_parse::Component expected_component;
134 const url_parse::Component&), in SetupReplComp() argument
141 (rep->*set)(str, url_parse::Component(0, static_cast<int>(strlen(str)))); in SetupReplComp()
322 {"http", "http:", url_parse::Component(0, 4), true}, in TEST()
323 {"HTTP", "http:", url_parse::Component(0, 4), true}, in TEST()
324 {" HTTP ", "%20http%20:", url_parse::Component(0, 10), false}, in TEST()
325 {"htt: ", "htt%3A%20:", url_parse::Component(0, 9), false}, in TEST()
326 {"\xe4\xbd\xa0\xe5\xa5\xbdhttp", "%E4%BD%A0%E5%A5%BDhttp:", url_parse::Component(0, 22), false}, in TEST()
[all …]
Durl_canon.h297 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,
325 const url_parse::Component& password,
[all …]
Durl_parse.cc69 const Component& user, in ParseUserInfo()
70 Component* username, in ParseUserInfo()
71 Component* password) { in ParseUserInfo()
80 *username = Component(user.begin, colon_offset); in ParseUserInfo()
86 *password = Component(); in ParseUserInfo()
92 const Component& serverinfo, in ParseServerInfo()
93 Component* hostname, in ParseServerInfo()
94 Component* port_num) { in ParseServerInfo()
142 const Component& auth, in DoParseAuthority()
143 Component* username, in DoParseAuthority()
[all …]
Durl_canon_etc.cc110 const url_parse::Component& scheme, in DoScheme()
112 url_parse::Component* out_scheme) { in DoScheme()
115 *out_scheme = url_parse::Component(output->length(), 0); in DoScheme()
174 const url_parse::Component& username, in DoUserInfo()
176 const url_parse::Component& password, in DoUserInfo()
178 url_parse::Component* out_username, in DoUserInfo()
179 url_parse::Component* out_password) { in DoUserInfo()
182 *out_username = url_parse::Component(); in DoUserInfo()
183 *out_password = url_parse::Component(); in DoUserInfo()
205 *out_password = url_parse::Component(); in DoUserInfo()
[all …]
Durl_canon_ip.cc59 const url_parse::Component& host, in DoFindIPv4Components()
60 url_parse::Component components[4]) { in DoFindIPv4Components()
72 url_parse::Component(cur_component_begin, component_len); in DoFindIPv4Components()
104 components[cur_component++] = url_parse::Component(); in DoFindIPv4Components()
121 const url_parse::Component& component, in IPv4ComponentToNumber()
189 url_parse::Component* out_host) { in AppendIPv4Address()
207 const url_parse::Component& host, in DoIPv4AddressToNumber()
211 url_parse::Component components[4]; in DoIPv4AddressToNumber()
264 const url_parse::Component& host, in DoCanonicalizeIPv4Address()
331 url_parse::Component hex_components[8];
[all …]
Durl_canon_ip.h59 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,
Durl_canon_query.cc70 bool IsAllASCII(const CHAR* spec, const url_parse::Component& query) { in IsAllASCII()
97 const url_parse::Component& query, in RunConverter()
111 const url_parse::Component& query, in RunConverter()
119 const url_parse::Component& query, in DoConvertToQueryEncoding()
144 const url_parse::Component& query, in DoCanonicalizeQuery()
147 url_parse::Component* out_query) { in DoCanonicalizeQuery()
149 *out_query = url_parse::Component(); in DoCanonicalizeQuery()
164 const url_parse::Component& query, in CanonicalizeQuery()
167 url_parse::Component* out_query) { in CanonicalizeQuery()
173 const url_parse::Component& query, in CanonicalizeQuery()
[all …]
Durl_parse_internal.h87 const Component& path,
88 Component* filepath,
89 Component* query,
90 Component* ref);
92 const Component& path,
93 Component* filepath,
94 Component* query,
95 Component* ref);
Durl_canon_stdstring.h99 url_parse::Component(0, static_cast<int>(s.length()))); in SetSchemeStr()
103 url_parse::Component(0, static_cast<int>(s.length()))); in SetUsernameStr()
107 url_parse::Component(0, static_cast<int>(s.length()))); in SetPasswordStr()
111 url_parse::Component(0, static_cast<int>(s.length()))); in SetHostStr()
115 url_parse::Component(0, static_cast<int>(s.length()))); in SetPortStr()
119 url_parse::Component(0, static_cast<int>(s.length()))); in SetPathStr()
123 url_parse::Component(0, static_cast<int>(s.length()))); in SetQueryStr()
127 url_parse::Component(0, static_cast<int>(s.length()))); in SetRefStr()
Durl_canon_fileurl.cc81 const url_parse::Component& path, in DoFileCanonicalizePath()
83 url_parse::Component* out_path) { in DoFileCanonicalizePath()
100 url_parse::Component sub_path = in DoFileCanonicalizePath()
102 url_parse::Component fake_output_path; in DoFileCanonicalizePath()
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()
173 const url_parse::Component& path, in FileCanonicalizePath()
175 url_parse::Component* out_path) { in FileCanonicalizePath()
181 const url_parse::Component& path, in FileCanonicalizePath()
[all …]
Durl_util_unittest.cc38 url_parse::Component found_scheme; in TEST()
46 EXPECT_TRUE(found_scheme == url_parse::Component(0, 4)); in TEST()
51 EXPECT_TRUE(found_scheme == url_parse::Component(0, 4)); in TEST()
57 EXPECT_TRUE(found_scheme == url_parse::Component()); in TEST()
63 EXPECT_TRUE(found_scheme == url_parse::Component(0, 0)); in TEST()
67 EXPECT_TRUE(found_scheme == url_parse::Component()); in TEST()
75 EXPECT_TRUE(found_scheme == url_parse::Component(1, 10)); in TEST()
83 EXPECT_TRUE(found_scheme == url_parse::Component(1, 11)); in TEST()
93 replacements.SetRef("test", url_parse::Component(0, 4)); in TEST()
99 replacements.SetHost("test", url_parse::Component(0, 4)); in TEST()
[all …]
Durl_canon_relative.cc53 const url_parse::Component& base_scheme, in AreSchemesEqual()
55 const url_parse::Component& cmp_scheme) { in AreSchemesEqual()
93 url_parse::Component* relative_component) { in DoIsRelativeURL()
101 *relative_component = url_parse::Component(begin, 0); in DoIsRelativeURL()
127 url_parse::Component scheme; in DoIsRelativeURL()
208 const url_parse::Component& source_component, in CopyOneComponent()
210 url_parse::Component* output_component) { in CopyOneComponent()
213 *output_component = url_parse::Component(); in CopyOneComponent()
278 const url_parse::Component& relative_component, in DoResolveRelativePath()
286 url_parse::Component path, query, ref; in DoResolveRelativePath()
[all …]
Durl_util.h94 url_parse::Component* found_scheme);
98 url_parse::Component* found_scheme);
101 url_parse::Component* found_scheme) { in FindAndCompareScheme()
107 url_parse::Component* found_scheme) { in FindAndCompareScheme()
115 const url_parse::Component& scheme);
117 const url_parse::Component& scheme);
122 const url_parse::Component& scheme) { in IsStandard()
Durl_canon_host.cc103 void ScanHostname(const CHAR* spec, const url_parse::Component& host, in ScanHostname()
315 const url_parse::Component& host, in DoHost()
321 host_info->out_host = url_parse::Component(); in DoHost()
368 const url_parse::Component& host, in CanonicalizeHost()
370 url_parse::Component* out_host) { in CanonicalizeHost()
378 const url_parse::Component& host, in CanonicalizeHost()
380 url_parse::Component* out_host) { in CanonicalizeHost()
388 const url_parse::Component& host, in CanonicalizeHostVerbose()
395 const url_parse::Component& host, in CanonicalizeHostVerbose()
Durl_canon_path.cc206 const url_parse::Component& path, in DoPartialPath()
324 const url_parse::Component& path, in DoPath()
326 url_parse::Component* out_path) { in DoPath()
343 *out_path = url_parse::Component(); in DoPath()
351 const url_parse::Component& path, in CanonicalizePath()
353 url_parse::Component* out_path) { in CanonicalizePath()
358 const url_parse::Component& path, in CanonicalizePath()
360 url_parse::Component* out_path) { in CanonicalizePath()
365 const url_parse::Component& path, in CanonicalizePartialPath()
373 const url_parse::Component& path, in CanonicalizePartialPath()
Durl_util.cc95 const url_parse::Component& component, in CompareSchemeComponent()
107 bool DoIsStandard(const CHAR* spec, const url_parse::Component& scheme) { in DoIsStandard()
124 url_parse::Component* found_scheme) { in DoFindAndCompareScheme()
132 url_parse::Component our_scheme; in DoFindAndCompareScheme()
136 *found_scheme = url_parse::Component(); in DoFindAndCompareScheme()
177 url_parse::Component scheme; in DoCanonicalize()
236 url_parse::Component relative_component; in DoResolveRelative()
286 url_parse::Component scheme_replaced_parsed; in DoReplaceComponents()
323 replacements_no_scheme.SetScheme(NULL, url_parse::Component()); in DoReplaceComponents()
391 bool IsStandard(const char* spec, const url_parse::Component& scheme) { in IsStandard()
[all …]
Durl_canon_mailtourl.cc49 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()
Durl_canon_internal_file.h93 ParsedURL::Component sub_path(after_slashes, end - after_slashes); in FileDoPath()
97 ParsedURL::Component fake_output_path; in FileDoPath()
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()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_unittest.cc420 using url_parse::Component; in TEST()
421 Component kInvalidComponent(0, -1); in TEST()
424 const Component scheme; in TEST()
425 const Component host; in TEST()
431 { ASCIIToUTF16("foo/bar baz"), kInvalidComponent, Component(0, 3) }, in TEST()
432 { ASCIIToUTF16("http://foo/bar baz"), Component(0, 4), Component(7, 3) }, in TEST()
433 { ASCIIToUTF16("link:foo.com"), Component(0, 4), kInvalidComponent }, in TEST()
434 { ASCIIToUTF16("www.foo.com:81"), kInvalidComponent, Component(0, 11) }, in TEST()
435 { WideToUTF16(L"\u6d4b\u8bd5"), kInvalidComponent, Component(0, 2) }, in TEST()
436 { ASCIIToUTF16("view-source:http://www.foo.com/"), Component(12, 4), in TEST()
[all …]
/external/webkit/Source/WebCore/platform/
DKURLGoogle.cpp289 String KURLGooglePrivate::componentString(const url_parse::Component& comp) const in componentString()
465 url_parse::Component path = m_url.m_parsed.path; in lastPathComponent()
469 url_parse::Component file; in lastPathComponent()
609 url_parse::Component protocolComponent; in setProtocol()
611 url_parse::Component(0, newProtocol.length()), in setProtocol()
618 url_parse::Component(0, newProtocol.length())); in setProtocol()
634 url_parse::Component(0, host.length())); in setHost()
651 url_parse::Component(0, host.length())); in setHostAndPort()
656 replacements.SetPort(CharactersOrEmpty(port), url_parse::Component(0, port.length())); in setHostAndPort()
676 url_parse::Component(0, portStr.length())); in setPort()
[all …]
/external/proguard/src/proguard/gui/
DMessageDialogRunnable.java35 private final Component parentComponent;
45 public static void showMessageDialog(Component parentComponent, in showMessageDialog()
68 public MessageDialogRunnable(Component parentComponent, in MessageDialogRunnable()
DTabbedPane.java71 public Component add(final String title, Component component) in add()
150 public Component addImage(final Image image) in addImage()
221 Component card = cardPanel.getComponent(index); in updateButtonSelection()

12345