/external/chromium_org/components/url_fixer/ |
D | url_fixer_unittest.cc | 22 std::ostream& operator<<(std::ostream& os, const Component& part) { in operator <<() 31 const url::Component scheme; 32 const url::Component username; 33 const url::Component password; 34 const url::Component host; 35 const url::Component port; 36 const url::Component path; 37 const url::Component query; 38 const url::Component ref; 43 url::Component(0, 4), // scheme [all …]
|
/external/chromium_org/url/ |
D | url_canon_unittest.cc | 33 Component expected_component; 44 Component expected_component; 54 Component expected_component; 100 void (Replacements<CHAR>::*set)(const CHAR*, const Component&), in SetupReplComp() argument 107 (rep->*set)(str, Component(0, static_cast<int>(strlen(str)))); in SetupReplComp() 241 {"http", "http:", Component(0, 4), true}, in TEST() 242 {"HTTP", "http:", Component(0, 4), true}, in TEST() 243 {" HTTP ", "%20http%20:", Component(0, 10), false}, in TEST() 244 {"htt: ", "htt%3A%20:", Component(0, 9), false}, in TEST() 245 {"\xe4\xbd\xa0\xe5\xa5\xbdhttp", "%E4%BD%A0%E5%A5%BDhttp:", Component(0, 22), false}, in TEST() [all …]
|
D | url_canon_etc.cc | 85 const Component& scheme, in DoScheme() 87 Component* out_scheme) { in DoScheme() 90 *out_scheme = Component(output->length(), 0); in DoScheme() 149 const Component& username, in DoUserInfo() 151 const Component& password, in DoUserInfo() 153 Component* out_username, in DoUserInfo() 154 Component* out_password) { in DoUserInfo() 157 *out_username = Component(); in DoUserInfo() 158 *out_password = Component(); in DoUserInfo() 180 *out_password = Component(); in DoUserInfo() [all …]
|
D | url_canon.h | 277 const Component& scheme, 279 Component* out_scheme); 281 const Component& scheme, 283 Component* out_scheme); 296 const Component& username, 298 const Component& password, 300 Component* out_username, 301 Component* out_password); 303 const Component& username, 305 const Component& password, [all …]
|
D | url_canon_ip.cc | 34 const Component& host, in DoFindIPv4Components() 35 Component components[4]) { in DoFindIPv4Components() 46 components[cur_component] = Component(cur_component_begin, component_len); in DoFindIPv4Components() 78 components[cur_component++] = Component(); in DoFindIPv4Components() 94 const Component& component, in IPv4ComponentToNumber() 160 const Component& host, in DoIPv4AddressToNumber() 164 Component components[4]; in DoIPv4AddressToNumber() 228 const Component& host, in DoCanonicalizeIPv4Address() 296 Component hex_components[8]; 306 Component ipv4_component; [all …]
|
D | url_canon_ip.h | 42 const Component& host, 43 Component components[4]); 45 const Component& host, 46 Component components[4]); 60 const Component& host, 64 const Component& host, 74 const Component& host, 77 const Component& host,
|
D | url_canon_query.cc | 45 bool IsAllASCII(const CHAR* spec, const Component& query) { in IsAllASCII() 72 const Component& query, in RunConverter() 86 const Component& query, in RunConverter() 94 const Component& query, in DoConvertToQueryEncoding() 119 const Component& query, in DoCanonicalizeQuery() 122 Component* out_query) { in DoCanonicalizeQuery() 124 *out_query = Component(); in DoCanonicalizeQuery() 139 const Component& query, in CanonicalizeQuery() 142 Component* out_query) { in CanonicalizeQuery() 148 const Component& query, in CanonicalizeQuery() [all …]
|
D | url_parse_internal.h | 66 const Component& path, 67 Component* filepath, 68 Component* query, 69 Component* ref); 71 const Component& path, 72 Component* filepath, 73 Component* query, 74 Component* ref);
|
D | url_canon_stdstring.h | 59 this->SetScheme(s.data(), Component(0, static_cast<int>(s.length()))); in SetSchemeStr() 62 this->SetUsername(s.data(), Component(0, static_cast<int>(s.length()))); in SetUsernameStr() 65 this->SetPassword(s.data(), Component(0, static_cast<int>(s.length()))); in SetPasswordStr() 68 this->SetHost(s.data(), Component(0, static_cast<int>(s.length()))); in SetHostStr() 71 this->SetPort(s.data(), Component(0, static_cast<int>(s.length()))); in SetPortStr() 74 this->SetPath(s.data(), Component(0, static_cast<int>(s.length()))); in SetPathStr() 77 this->SetQuery(s.data(), Component(0, static_cast<int>(s.length()))); in SetQueryStr() 80 this->SetRef(s.data(), Component(0, static_cast<int>(s.length()))); in SetRefStr()
|
D | url_canon_fileurl.cc | 56 const Component& path, in DoFileCanonicalizePath() 58 Component* out_path) { in DoFileCanonicalizePath() 75 Component sub_path = MakeRange(after_drive, path.end()); in DoFileCanonicalizePath() 76 Component fake_output_path; in DoFileCanonicalizePath() 94 new_parsed->username = Component(); in DoCanonicalizeFileURL() 95 new_parsed->password = Component(); in DoCanonicalizeFileURL() 96 new_parsed->port = Component(); in DoCanonicalizeFileURL() 147 const Component& path, in FileCanonicalizePath() 149 Component* out_path) { in FileCanonicalizePath() 155 const Component& path, in FileCanonicalizePath() [all …]
|
D | url_canon_relative.cc | 30 const Component& base_scheme, in AreSchemesEqual() 32 const Component& cmp_scheme) { in AreSchemesEqual() 70 Component* relative_component) { in DoIsRelativeURL() 78 *relative_component = Component(begin, 0); in DoIsRelativeURL() 104 Component scheme; in DoIsRelativeURL() 200 const Component& source_component, in CopyOneComponent() 202 Component* output_component) { in CopyOneComponent() 205 *output_component = Component(); in CopyOneComponent() 269 const Component& relative_component, in DoResolveRelativePath() 277 Component path, query, ref; in DoResolveRelativePath() [all …]
|
D | url_util_unittest.cc | 15 Component found_scheme; in TEST() 23 EXPECT_TRUE(found_scheme == Component(0, 4)); in TEST() 28 EXPECT_TRUE(found_scheme == Component(0, 4)); in TEST() 34 EXPECT_TRUE(found_scheme == Component()); in TEST() 40 EXPECT_TRUE(found_scheme == Component(0, 0)); in TEST() 44 EXPECT_TRUE(found_scheme == Component()); in TEST() 52 EXPECT_TRUE(found_scheme == Component(1, 10)); in TEST() 60 EXPECT_TRUE(found_scheme == Component(1, 11)); in TEST() 70 replacements.SetRef("test", Component(0, 4)); in TEST() 74 replacements.SetHost("test", Component(0, 4)); in TEST() [all …]
|
D | url_util.h | 70 Component* found_scheme); 74 Component* found_scheme); 77 Component* found_scheme) { in FindAndCompareScheme() 83 Component* found_scheme) { in FindAndCompareScheme() 90 URL_EXPORT bool IsStandard(const char* spec, const Component& scheme); 91 URL_EXPORT bool IsStandard(const base::char16* spec, const Component& scheme); 97 const Component& scheme) { in IsStandard()
|
D | url_util.cc | 70 const Component& component, in DoCompareSchemeComponent() 82 bool DoIsStandard(const CHAR* spec, const Component& scheme) { in DoIsStandard() 99 Component* found_scheme) { in DoFindAndCompareScheme() 107 Component our_scheme; in DoFindAndCompareScheme() 111 *found_scheme = Component(); in DoFindAndCompareScheme() 153 Component scheme; in DoCanonicalize() 225 Component relative_component; in DoResolveRelative() 290 Component scheme_replaced_parsed; in DoReplaceComponents() 326 replacements_no_scheme.SetScheme(NULL, Component()); in DoReplaceComponents() 396 bool IsStandard(const char* spec, const Component& scheme) { in IsStandard() [all …]
|
D | url_canon_host.cc | 79 const Component& host, in ScanHostname() 292 const Component& host, in DoHost() 298 host_info->out_host = Component(); in DoHost() 345 const Component& host, in CanonicalizeHost() 347 Component* out_host) { in CanonicalizeHost() 355 const Component& host, in CanonicalizeHost() 357 Component* out_host) { in CanonicalizeHost() 365 const Component& host, in CanonicalizeHostVerbose() 372 const Component& host, in CanonicalizeHostVerbose()
|
/external/chromium_org/url/third_party/mozilla/ |
D | url_parse.h | 23 struct Component { struct 24 Component() : begin(0), len(-1) {} in Component() function 27 Component(int b, int l) : begin(b), len(l) {} in Component() argument 50 bool operator==(const Component& other) const { argument 60 inline Component MakeRange(int begin, int end) { in MakeRange() argument 61 return Component(begin, end - begin); in MakeRange() 145 Component scheme; 148 Component username; 154 Component password; 157 Component host; [all …]
|
D | url_parse.cc | 71 const Component& user, in ParseUserInfo() 72 Component* username, in ParseUserInfo() 73 Component* password) { in ParseUserInfo() 82 *username = Component(user.begin, colon_offset); in ParseUserInfo() 88 *password = Component(); in ParseUserInfo() 94 const Component& serverinfo, in ParseServerInfo() 95 Component* hostname, in ParseServerInfo() 96 Component* port_num) { in ParseServerInfo() 144 const Component& auth, in DoParseAuthority() 145 Component* username, in DoParseAuthority() [all …]
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | composite_bitmap_glyph.cc | 36 CompositeBitmapGlyph::Component CompositeBitmapGlyph::GetComponent( in GetComponent() 40 return CompositeBitmapGlyph::Component( in GetComponent() 64 CompositeBitmapGlyph::Component::Component(const Component& rhs) in Component() function in sfntly::CompositeBitmapGlyph::Component 70 bool CompositeBitmapGlyph::Component::operator==( in operator ==() 71 const CompositeBitmapGlyph::Component& rhs) { in operator ==() 75 CompositeBitmapGlyph::Component& CompositeBitmapGlyph::Component::operator=( in operator =() 76 const CompositeBitmapGlyph::Component& rhs) { in operator =() 83 CompositeBitmapGlyph::Component::Component(int32_t glyph_code, in Component() function in sfntly::CompositeBitmapGlyph::Component
|
D | composite_bitmap_glyph.h | 27 class Component { 29 Component(const Component& rhs); 36 bool operator==(const Component& rhs); 37 Component& operator=(const Component& rhs); 40 Component(int32_t glyph_code, int32_t x_offset, int32_t y_offset); 64 Component GetComponent(int32_t component_num) const;
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/ |
D | composite_bitmap_glyph.cc | 36 CompositeBitmapGlyph::Component CompositeBitmapGlyph::GetComponent( in GetComponent() 40 return CompositeBitmapGlyph::Component( in GetComponent() 64 CompositeBitmapGlyph::Component::Component(const Component& rhs) in Component() function in sfntly::CompositeBitmapGlyph::Component 70 bool CompositeBitmapGlyph::Component::operator==( in operator ==() 71 const CompositeBitmapGlyph::Component& rhs) { in operator ==() 75 CompositeBitmapGlyph::Component& CompositeBitmapGlyph::Component::operator=( in operator =() 76 const CompositeBitmapGlyph::Component& rhs) { in operator =() 83 CompositeBitmapGlyph::Component::Component(int32_t glyph_code, in Component() function in sfntly::CompositeBitmapGlyph::Component
|
D | composite_bitmap_glyph.h | 27 class Component { 29 Component(const Component& rhs); 36 bool operator==(const Component& rhs); 37 Component& operator=(const Component& rhs); 40 Component(int32_t glyph_code, int32_t x_offset, int32_t y_offset); 64 Component GetComponent(int32_t component_num) const;
|
/external/chromium_org/chrome/common/ |
D | content_settings_pattern_parser.cc | 19 class Component { class 21 Component() : start(0), len(0) {} in Component() function in __anond94a79fc0111::Component 22 Component(size_t s, size_t l) : start(s), len(l) {} in Component() function in __anond94a79fc0111::Component 60 Component scheme_component; in Parse() 61 Component host_component; in Parse() 62 Component port_component; in Parse() 63 Component path_component; in Parse() 75 scheme_component = Component(start, current_pos); in Parse() 100 host_component = Component(start, current_pos - start); in Parse() 103 host_component = Component(start, current_pos - start); in Parse() [all …]
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | autocomplete_input_unittest.cc | 193 using url::Component; in TEST() 194 Component kInvalidComponent(0, -1); in TEST() 197 const Component scheme; in TEST() 198 const Component host; in TEST() 204 { ASCIIToUTF16("foo/bar baz"), kInvalidComponent, Component(0, 3) }, in TEST() 205 { ASCIIToUTF16("http://foo/bar baz"), Component(0, 4), Component(7, 3) }, in TEST() 206 { ASCIIToUTF16("link:foo.com"), Component(0, 4), kInvalidComponent }, in TEST() 207 { ASCIIToUTF16("www.foo.com:81"), kInvalidComponent, Component(0, 11) }, in TEST() 208 { base::WideToUTF16(L"\u6d4b\u8bd5"), kInvalidComponent, Component(0, 2) }, in TEST() 209 { ASCIIToUTF16("view-source:http://www.foo.com/"), Component(12, 4), in TEST() [all …]
|
/external/chromium_org/chrome/browser/resources/print_preview/search/ |
D | search_box.js | 14 print_preview.Component.call(this); 57 __proto__: print_preview.Component.prototype, 72 print_preview.Component.prototype.enterDocument.call(this); class in print_preview 78 print_preview.Component.prototype.exitDocument.call(this);
|
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/ |
D | KURL.cpp | 344 url::Component path = m_parsed.path; in lastPathComponent() 348 url::Component file; in lastPathComponent() 457 url::Component protocolComponent; in setProtocol() 458 …if (!url::CanonicalizeScheme(newProtocolUTF8.data(), url::Component(0, newProtocolUTF8.length()), … in setProtocol() 463 …replacements.SetScheme(charactersOrEmpty(newProtocolUTF8), url::Component(0, newProtocolUTF8.lengt… in setProtocol() 479 replacements.SetHost(charactersOrEmpty(hostUTF8), url::Component(0, hostUTF8.length())); in setHost() 510 replacements.SetHost(charactersOrEmpty(hostUTF8), url::Component(0, hostUTF8.length())); in setHostAndPort() 522 replacements.SetHost(charactersOrEmpty(hostUTF8), url::Component(0, hostUTF8.length())); in setHostAndPort() 523 replacements.SetPort(charactersOrEmpty(portUTF8), url::Component(0, portUTF8.length())); in setHostAndPort() 553 …replacements.SetPort(reinterpret_cast<const char*>(portString.characters8()), url::Component(0, po… in setPort() [all …]
|