/external/chromium_org/chrome/browser/ui/webui/ |
D | chrome_web_ui_controller_factory.cc | 183 return new AboutUI(web_ui, url.host()); in NewWebUI() 242 if (url.host() == chrome::kChromeUICloudPrintResourcesHost) in GetWebUIFactoryFunction() 244 if (url.host() == chrome::kChromeUICloudPrintSetupHost) in GetWebUIFactoryFunction() 248 if (url.host() == chrome::kChromeUICrashesHost) in GetWebUIFactoryFunction() 251 if (url.host() == chrome::kChromeUIDevicesHost && in GetWebUIFactoryFunction() 257 if (url.host() == chrome::kChromeUIFlagsHost) in GetWebUIFactoryFunction() 259 if (url.host() == chrome::kChromeUIHistoryFrameHost) in GetWebUIFactoryFunction() 261 if (url.host() == chrome::kChromeUIInstantHost) in GetWebUIFactoryFunction() 263 if (url.host() == chrome::kChromeUIManagedUserPassphrasePageHost) in GetWebUIFactoryFunction() 265 if (url.host() == chrome::kChromeUIMemoryInternalsHost) in GetWebUIFactoryFunction() [all …]
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/ |
D | run_webkit_tests_integrationtest.py | 48 from webkitpy.common.host import Host 81 def passing_run(extra_args=None, port_obj=None, tests_included=False, host=None, shared_port=True): argument 84 host = host or MockHost() 85 port_obj = host.port_factory.get(port_name=options.platform, options=options) 88 port_obj.host.port_factory.get = lambda *args, **kwargs: port_obj 95 def logging_run(extra_args=None, port_obj=None, tests_included=False, host=None, new_results=False,… argument 99 host = host or MockHost() 101 port_obj = host.port_factory.get(port_name=options.platform, options=options) 104 return (run_details, output, host.user) 109 port_obj.host.port_factory.get = lambda *args, **kwargs: port_obj [all …]
|
D | lint_test_expectations_unittest.py | 38 def __init__(self, host, name, path): argument 39 self.host = host 47 self.host.ports_parsed.append(self.name) 69 def __init__(self, host, ports): argument 70 self.host = host 84 host = MockHost() 85 host.ports_parsed = [] 86 host.port_factory = FakeFactory(host, (FakePort(host, 'a', 'path-to-a'), 87 FakePort(host, 'b', 'path-to-b'), 88 FakePort(host, 'b-win', 'path-to-b'))) [all …]
|
/external/chromium/net/base/ |
D | registry_controlled_domain.cc | 66 const url_parse::Component host = in GetDomainAndRegistry() local 67 gurl.parsed_for_possibly_invalid_spec().host; in GetDomainAndRegistry() 68 if ((host.len <= 0) || gurl.HostIsIPAddress()) in GetDomainAndRegistry() 71 gurl.possibly_invalid_spec().data() + host.begin, host.len)); in GetDomainAndRegistry() 76 const std::string& host) { in GetDomainAndRegistry() argument 78 const std::string canon_host(CanonicalizeHost(host, &host_info)); in GetDomainAndRegistry() 86 const std::wstring& host) { in GetDomainAndRegistry() argument 88 const std::string canon_host(CanonicalizeHost(host, &host_info)); in GetDomainAndRegistry() 106 gurl1.parsed_for_possibly_invalid_spec().host; in SameDomainOrHost() 108 gurl2.parsed_for_possibly_invalid_spec().host; in SameDomainOrHost() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/ |
D | media_galleries_watch_apitest.cc | 88 void ExecuteCmdAndCheckReply(content::RenderViewHost* host, in ExecuteCmdAndCheckReply() argument 92 host->ExecuteJavascriptInWebFrame(base::string16(), in ExecuteCmdAndCheckReply() 138 content::RenderViewHost* host = GetBackgroundHostForTestExtension(); in IN_PROC_BROWSER_TEST_F() local 139 ASSERT_TRUE(host); in IN_PROC_BROWSER_TEST_F() 144 ExecuteCmdAndCheckReply(host, kGetMediaFileSystemsCmd, in IN_PROC_BROWSER_TEST_F() 151 ExecuteCmdAndCheckReply(host, kSetupWatchOnValidGalleriesCmd, in IN_PROC_BROWSER_TEST_F() 156 ExecuteCmdAndCheckReply(host, kAddGalleryChangedListenerCmd, in IN_PROC_BROWSER_TEST_F() 176 ExecuteCmdAndCheckReply(host, kRemoveGalleryChangedListenerCmd, in IN_PROC_BROWSER_TEST_F() 180 ExecuteCmdAndCheckReply(host, kRemoveGalleryWatchCmd, kRemoveGalleryWatchOK); in IN_PROC_BROWSER_TEST_F() 186 content::RenderViewHost* host = GetBackgroundHostForTestExtension(); in IN_PROC_BROWSER_TEST_F() local [all …]
|
/external/chromium/chrome/browser/ui/webui/ |
D | chrome_web_ui_factory.cc | 97 if (url.host() == chrome::kChromeUIDialogHost) in GetWebUIFactoryFunction() 107 if (url.host() == chrome::kCloudPrintResourcesHost) in GetWebUIFactoryFunction() 117 if (url.host() == chrome::kChromeUISyncResourcesHost || in GetWebUIFactoryFunction() 118 url.host() == chrome::kChromeUIRemotingResourcesHost || in GetWebUIFactoryFunction() 119 url.host() == chrome::kCloudPrintSetupHost) in GetWebUIFactoryFunction() 126 if (url.host() == chrome::kChromeUINewTabHost || in GetWebUIFactoryFunction() 136 if (url.host() == chrome::kChromeUIBookmarksHost) in GetWebUIFactoryFunction() 138 if (url.host() == chrome::kChromeUIBugReportHost) in GetWebUIFactoryFunction() 140 if (url.host() == chrome::kChromeUICrashesHost) in GetWebUIFactoryFunction() 142 if (url.host() == chrome::kChromeUIDevToolsHost) in GetWebUIFactoryFunction() [all …]
|
/external/chromium_org/net/base/registry_controlled_domains/ |
D | registry_controlled_domain.cc | 78 const std::string& host, in GetRegistryLengthImpl() argument 81 DCHECK(!host.empty()); in GetRegistryLengthImpl() 84 const size_t host_check_begin = host.find_first_not_of('.'); in GetRegistryLengthImpl() 90 size_t host_check_len = host.length(); in GetRegistryLengthImpl() 91 if (host[host_check_len - 1] == '.') { in GetRegistryLengthImpl() 95 if (host[host_check_len - 1] == '.') in GetRegistryLengthImpl() 103 size_t next_dot = host.find('.', curr_start); in GetRegistryLengthImpl() 107 const char* domain_str = host.data() + curr_start; in GetRegistryLengthImpl() 128 0 : (host.length() - prev_start); in GetRegistryLengthImpl() 140 return host.length() - next_dot - 1; in GetRegistryLengthImpl() [all …]
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
D | pepper_tcp_socket_message_filter.h | 37 namespace host { 50 : public ppapi::host::ResourceMessageFilter { 54 BrowserPpapiHostImpl* host, 60 BrowserPpapiHostImpl* host, 75 ppapi::host::HostMessageContext* context) OVERRIDE; 77 int32_t OnMsgBind(const ppapi::host::HostMessageContext* context, 79 int32_t OnMsgConnect(const ppapi::host::HostMessageContext* context, 80 const std::string& host, 83 const ppapi::host::HostMessageContext* context, 86 const ppapi::host::HostMessageContext* context, [all …]
|
D | pepper_file_io_host.h | 28 class PepperFileIOHost : public ppapi::host::ResourceHost, 34 PepperFileIOHost(BrowserPpapiHostImpl* host, 42 ppapi::host::HostMessageContext* context) OVERRIDE; 57 int32_t OnHostMsgOpen(ppapi::host::HostMessageContext* context, 60 int32_t OnHostMsgTouch(ppapi::host::HostMessageContext* context, 63 int32_t OnHostMsgWrite(ppapi::host::HostMessageContext* context, 66 int32_t OnHostMsgSetLength(ppapi::host::HostMessageContext* context, 68 int32_t OnHostMsgClose(ppapi::host::HostMessageContext* context); 69 int32_t OnHostMsgFlush(ppapi::host::HostMessageContext* context); 71 ppapi::host::HostMessageContext* context); [all …]
|
D | pepper_udp_socket_message_filter.h | 36 namespace host { 47 : public ppapi::host::ResourceMessageFilter { 49 PepperUDPSocketMessageFilter(BrowserPpapiHostImpl* host, 64 ppapi::host::HostMessageContext* context) OVERRIDE; 67 const ppapi::host::HostMessageContext* context, 70 int32_t OnMsgBind(const ppapi::host::HostMessageContext* context, 72 int32_t OnMsgRecvFrom(const ppapi::host::HostMessageContext* context, 74 int32_t OnMsgSendTo(const ppapi::host::HostMessageContext* context, 77 int32_t OnMsgClose(const ppapi::host::HostMessageContext* context); 79 void DoBind(const ppapi::host::ReplyMessageContext& context, [all …]
|
/external/chromium_org/webkit/browser/appcache/ |
D | appcache_backend_impl.cc | 58 AppCacheHost* host = GetHost(host_id); in SetSpawningHostId() local 59 if (!host) in SetSpawningHostId() 61 host->SetSpawningHostId(process_id_, spawning_host_id); in SetSpawningHostId() 70 AppCacheHost* host = GetHost(host_id); in SelectCache() local 71 if (!host) in SelectCache() 74 host->SelectCache(document_url, cache_document_was_loaded_from, in SelectCache() 81 AppCacheHost* host = GetHost(host_id); in SelectCacheForWorker() local 82 if (!host) in SelectCacheForWorker() 85 host->SelectCacheForWorker(parent_process_id, parent_host_id); in SelectCacheForWorker() 91 AppCacheHost* host = GetHost(host_id); in SelectCacheForSharedWorker() local [all …]
|
D | appcache_host_unittest.cc | 172 AppCacheHost host(1, &mock_frontend_, &service_); in TEST_F() local 173 EXPECT_EQ(1, host.host_id()); in TEST_F() 174 EXPECT_EQ(&service_, host.service()); in TEST_F() 175 EXPECT_EQ(&mock_frontend_, host.frontend()); in TEST_F() 176 EXPECT_EQ(NULL, host.associated_cache()); in TEST_F() 177 EXPECT_FALSE(host.is_selection_pending()); in TEST_F() 182 host.GetStatusWithCallback(get_status_callback_, reinterpret_cast<void*>(1)); in TEST_F() 187 host.StartUpdateWithCallback(start_update_callback_, in TEST_F() 193 host.SwapCacheWithCallback(swap_cache_callback_, reinterpret_cast<void*>(3)); in TEST_F() 210 AppCacheHost host(1, &mock_frontend_, &service_); in TEST_F() local [all …]
|
/external/chromium_org/remoting/ |
D | remoting.gyp | 11 # Enable the multi-process host on Windows by default. 49 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', 52 # Remoting host is supported only on Windows, OSX and Linux (with X11). 159 'webapp/host.js', 193 'host/installer/mac/', 197 'host/installer/mac/do_signing.sh', 198 'host/installer/mac/do_signing.props', 199 'host/installer/mac/ChromotingHost.pkgproj', 200 'host/installer/mac/ChromotingHostService.pkgproj', 201 'host/installer/mac/ChromotingHostUninstaller.pkgproj', [all …]
|
/external/chromium_org/chrome/browser/ |
D | browser_about_handler.cc | 30 std::string host(url->host()); in WillHandleBrowserAboutURL() local 33 if (host == chrome::kChromeUIAboutHost) in WillHandleBrowserAboutURL() 34 host = chrome::kChromeUIChromeURLsHost; in WillHandleBrowserAboutURL() 36 if (host == chrome::kChromeUICacheHost) { in WillHandleBrowserAboutURL() 37 host = content::kChromeUINetworkViewCacheHost; in WillHandleBrowserAboutURL() 39 } else if (host == chrome::kChromeUISyncHost) { in WillHandleBrowserAboutURL() 40 host = chrome::kChromeUISyncInternalsHost; in WillHandleBrowserAboutURL() 42 } else if (host == chrome::kChromeUIExtensionsHost) { in WillHandleBrowserAboutURL() 43 host = chrome::kChromeUIUberHost; in WillHandleBrowserAboutURL() 46 } else if (host == chrome::kChromeUISettingsHost && in WillHandleBrowserAboutURL() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | CallIdentifier.java | 55 protected String host; field in CallIdentifier 68 public CallIdentifier(String localId, String host) { in CallIdentifier() argument 70 this.host = host; in CallIdentifier() 93 if (host != null) { in encode() 94 buffer.append(AT).append(host); in encode() 114 if (this.host == that.host) in equals() 116 if ((this.host == null && that.host != null) in equals() 117 || (this.host != null && that.host == null)) in equals() 119 if (host.compareToIgnoreCase(that.host) != 0) { in equals() 144 return host; in getHost() [all …]
|
/external/chromium_org/net/data/proxy_resolver_perftest/ |
D | no-ads.pac | 132 // This says to use the local host at a port which nothing should be listening 148 // content to the proxy running on your own host at port 3421. 412 // isPlainHostName(host) 413 // dnsDomainIs(host, domain) 414 // localHostOrDomainIs(host, hostdom) 415 // isResolvable(host) 416 // isInNet(host, pattern, mask) 418 // dnsResolve(host) 420 // dnsDomainLevels(host) 435 // with shExpMatch(host, "a.b.c.*"), which doesn't do the same thing, [all …]
|
/external/chromium/net/data/proxy_resolver_perftest/ |
D | no-ads.pac | 132 // This says to use the local host at a port which nothing should be listening 148 // content to the proxy running on your own host at port 3421. 412 // isPlainHostName(host) 413 // dnsDomainIs(host, domain) 414 // localHostOrDomainIs(host, hostdom) 415 // isResolvable(host) 416 // isInNet(host, pattern, mask) 418 // dnsResolve(host) 420 // dnsDomainLevels(host) 435 // with shExpMatch(host, "a.b.c.*"), which doesn't do the same thing, [all …]
|
/external/chromium_org/ppapi/ |
D | ppapi_host.gypi | 25 'host/dispatch_host_message.h', 26 'host/error_conversion.cc', 27 'host/error_conversion.h', 28 'host/host_factory.h', 29 'host/host_message_context.cc', 30 'host/host_message_context.h', 31 'host/instance_message_filter.cc', 32 'host/instance_message_filter.h', 33 'host/message_filter_host.cc', 34 'host/message_filter_host.h', [all …]
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/breakpad/ |
D | dump_reader_multipart_unittest.py | 57 host = MockHost() 60 host.filesystem.maybe_make_directory(build_dir) 61 dump_reader = DumpReaderMultipart(host, build_dir) 68 host = MockHost() 72 … host.filesystem.write_text_file(dump_file, "\r\n".join(TestDumpReaderMultipart._MULTIPART_DUMP)) 74 host.filesystem.maybe_make_directory(build_dir) 75 host.filesystem.exists = lambda x: True 79 host.filesystem.open_binary_file_for_reading = host.filesystem.open_text_file_for_reading 80 dump_reader = DumpReaderMultipart(host, build_dir) 88 host = MockHost() [all …]
|
D | dump_reader_win_unittest.py | 38 host = MockHost() 39 host.executive = MockExecutive(should_throw=True) 42 host.filesystem.maybe_make_directory(build_dir) 43 dump_reader = DumpReaderWin(host, build_dir) 48 host = MockHost() 52 …host.filesystem.write_text_file(dump_file, 'channel:\npid:%s\nplat:Win32\nprod:content_shell\n' % … 54 host.filesystem.maybe_make_directory(build_dir) 55 dump_reader = DumpReaderWin(host, build_dir) 61 host = MockHost() 65 host.filesystem.write_text_file(dump_file, 'product:content_shell\n') [all …]
|
/external/chromium_org/webkit/browser/blob/ |
D | blob_storage_context_unittest.cc | 18 void SetupBasicBlob(BlobStorageHost* host, const std::string& id) { in SetupBasicBlob() argument 19 EXPECT_TRUE(host->StartBuildingBlob(id)); in SetupBasicBlob() 22 EXPECT_TRUE(host->AppendBlobDataItem(id, item)); in SetupBasicBlob() 23 EXPECT_TRUE(host->FinishBuildingBlob(id, "text/plain")); in SetupBasicBlob() 24 EXPECT_FALSE(host->StartBuildingBlob(id)); in SetupBasicBlob() 30 BlobStorageHost host(&context); in TEST() local 35 SetupBasicBlob(&host, kId); in TEST() 44 EXPECT_TRUE(host.IncrementBlobRefCount(kId)); in TEST() 45 EXPECT_TRUE(host.DecrementBlobRefCount(kId)); in TEST() 51 EXPECT_TRUE(host.DecrementBlobRefCount(kId)); in TEST() [all …]
|
/external/chromium_org/ui/views/layout/ |
D | fill_layout.cc | 15 void FillLayout::Layout(View* host) { in Layout() argument 16 if (!host->has_children()) in Layout() 19 View* frame_view = host->child_at(0); in Layout() 20 frame_view->SetBoundsRect(host->GetContentsBounds()); in Layout() 23 gfx::Size FillLayout::GetPreferredSize(View* host) { in GetPreferredSize() argument 24 if (!host->has_children()) in GetPreferredSize() 26 DCHECK_EQ(1, host->child_count()); in GetPreferredSize() 27 gfx::Rect rect(host->child_at(0)->GetPreferredSize()); in GetPreferredSize() 28 rect.Inset(-host->GetInsets()); in GetPreferredSize() 32 int FillLayout::GetPreferredHeightForWidth(View* host, int width) { in GetPreferredHeightForWidth() argument [all …]
|
/external/guava/guava/src/com/google/common/net/ |
D | HostAndPort.java | 68 private final String host; field in HostAndPort 76 private HostAndPort(String host, int port, boolean hasBracketlessColons) { in HostAndPort() argument 77 this.host = host; in HostAndPort() 90 return host; in getHostText() 129 public static HostAndPort fromParts(String host, int port) { in fromParts() argument 131 HostAndPort parsedHost = fromString(host); in fromParts() 133 return new HostAndPort(parsedHost.host, port, parsedHost.hasBracketlessColons); in fromParts() 150 String host; in fromString() local 158 host = matcher.group(1); in fromString() 164 host = hostPortString.substring(0, colonPos); in fromString() [all …]
|
/external/chromium_org/apps/app_shim/ |
D | extension_app_shim_handler_mac.cc | 234 Host* host = handler->FindHost(shell_window->profile(), in QuitAppForWindow() local 236 if (host) { in QuitAppForWindow() 237 handler->OnShimQuit(host); in QuitAppForWindow() 250 Host* host = handler->FindHost(profile, shell_window->extension_id()); in HideAppForWindow() local 251 if (host) in HideAppForWindow() 252 host->OnAppHide(); in HideAppForWindow() 264 Host* host = handler->FindHost(profile, app_id); in FocusAppForWindow() local 265 if (host) { in FocusAppForWindow() 266 handler->OnShimFocus(host, in FocusAppForWindow() 282 Host* host = handler->FindHost(profile, shell_window->extension_id()); in RequestUserAttentionForWindow() local [all …]
|
/external/chromium_org/chrome/browser/content_settings/ |
D | host_content_settings_map_unittest.cc | 79 GURL host("http://example.com/"); in TEST_F() local 84 host, host, CONTENT_SETTINGS_TYPE_IMAGES, std::string())); in TEST_F() 93 host, host, CONTENT_SETTINGS_TYPE_IMAGES, std::string())); in TEST_F() 102 host, host, CONTENT_SETTINGS_TYPE_IMAGES, std::string())); in TEST_F() 105 host, host, CONTENT_SETTINGS_TYPE_PLUGINS, std::string())); in TEST_F() 116 host, host, CONTENT_SETTINGS_TYPE_IMAGES, std::string())); in TEST_F() 125 host, host, CONTENT_SETTINGS_TYPE_JAVASCRIPT, std::string())); in TEST_F() 134 host, host, CONTENT_SETTINGS_TYPE_PLUGINS, std::string())); in TEST_F() 137 host, host, CONTENT_SETTINGS_TYPE_POPUPS, std::string())); in TEST_F() 140 host, host, CONTENT_SETTINGS_TYPE_GEOLOCATION, std::string())); in TEST_F() [all …]
|