/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TestHelper_Driver1.java | 55 public boolean acceptsURL(String url) throws SQLException { 57 if (url == null) { 60 // Everything's fine if the quoted url starts with the base url for this 62 if (url.startsWith(baseURL)) { 76 public Connection connect(String url, Properties info) throws SQLException { 77 // Does the URL have the right form? 78 if (this.acceptsURL(url)) { 79 // The datasource name is the remainder of the url after the ":" 80 String datasource = url.substring(baseURL.length() + 1) [all...] |
/external/chromium/chrome/browser/ |
platform_util_chromeos.cc | 24 "https://mail.google.com/mail/?extsrc=mailto&url="; 33 GURL url = FileManagerUtil::GetFileBrowserUrlWithParams( 36 browser->ShowSingletonTab(url); 57 static void OpenURL(const std::string& url) { 59 browser->AddSelectedTabWithURL(GURL(url), PageTransition::LINK); 62 void OpenExternal(const GURL& url) { 63 if (url.SchemeIs("mailto")) { 65 string_url.append(url.spec());
|
external_protocol_handler.h | 36 static void LaunchUrl(const GURL& url, int render_process_host_id, 40 // |url| - The url of the request. 49 static void RunExternalProtocolDialog(const GURL& url, 56 // Starts a url using the external protocol handler with the help 60 // url has already been escaped, which happens in LaunchUrl. 62 // url you have has been checked against the blacklist, and has been escaped. 65 static void LaunchUrlWithoutSecurityCheck(const GURL& url);
|
popup_blocker_browsertest.cc | 29 GURL url(ui_test_utils::GetTestUrl(test_dir, file_name)); 30 ui_test_utils::NavigateToURL(browser(), url); local 33 // tab in only one browser window and the URL of current tab must be equal 34 // to the original URL. 39 EXPECT_EQ(url, cur_tab->GetURL());
|
/external/chromium/chrome/browser/ui/webui/ |
mediaplayer_browsertest.cc | 32 const GURL& url = local 35 if (url.SchemeIs(chrome::kChromeUIScheme) && 36 url.host() == chrome::kChromeUIMediaplayerHost) { 48 const GURL& url = local 51 if (url.SchemeIs(chrome::kChromeUIScheme) && 52 url.host() == chrome::kChromeUIMediaplayerHost && 53 url.ref() == "playlist") {
|
/external/webkit/Source/JavaScriptCore/parser/ |
SourceProvider.h | 43 SourceProvider(const UString& url, SourceProviderCache* cache = 0) 44 : m_url(url) 60 const UString& url() { return m_url; } function in class:JSC::SourceProvider 81 static PassRefPtr<UStringSourceProvider> create(const UString& source, const UString& url) 83 return adoptRef(new UStringSourceProvider(source, url)); 94 UStringSourceProvider(const UString& source, const UString& url) 95 : SourceProvider(url)
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/gtk/ |
WebErrorsGtk.cpp | 43 request.url().string(), _("Load request cancelled")); 49 request.url().string(), _("Not allowed to use restricted network port")); 55 request.url().string(), _("URL cannot be shown")); 61 request.url().string(), _("Frame load was interrupted")); 67 response.url().string(), _("Content with the specified MIME type cannot be shown")); 73 response.url().string(), _("File does not exist")); 79 response.url().string(), _("Plugin will handle load"));
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/qt/ |
WebErrorsQt.cpp | 54 ResourceError error = ResourceError("QtNetwork", QNetworkReply::OperationCanceledError, request.url().prettyURL(), 62 return ResourceError("WebKit", WebKitErrorCannotUseRestrictedPort, request.url().prettyURL(), 68 return ResourceError("WebKit", WebKitErrorCannotShowURL, request.url().string(), 69 QCoreApplication::translate("QWebFrame", "Cannot show URL", 0, QCoreApplication::UnicodeUTF8)); 74 return ResourceError("WebKit", WebKitErrorFrameLoadInterruptedByPolicyChange, request.url().string(), 80 return ResourceError("WebKit", WebKitErrorCannotShowMIMEType, response.url().string(), 86 return ResourceError("QtNetwork", QNetworkReply::ContentNotFoundError, response.url().string(), 92 return ResourceError("WebKit", WebKitErrorPluginWillHandleLoad, response.url().string(),
|
/external/webkit/Tools/Scripts/webkitpy/thirdparty/ |
__init__.py | 66 installer.install(url="http://pypi.python.org/packages/source/C/ClientForm/ClientForm-0.2.10.zip", 73 installer.install(url="http://pypi.python.org/packages/source/m/mechanize/mechanize-0.2.4.zip", 75 installer.install(url="http://pypi.python.org/packages/source/p/pep8/pep8-0.5.0.tar.gz#md5=512a818af9979290cd619cce8e9c2e2b", 77 installer.install(url="http://www.adambarth.com/webkit/eliza", 85 installer.install(url="http://downloads.sourceforge.net/project/python-irclib/python-irclib/0.4.8/python-irclib-0.4.8.zip", url_subpath="irclib.py") 86 installer.install(url="http://downloads.sourceforge.net/project/python-irclib/python-irclib/0.4.8/python-irclib-0.4.8.zip", url_subpath="ircbot.py") 90 installer.install(url="http://pywebsocket.googlecode.com/files/mod_pywebsocket-0.5.2.tar.gz",
|
/libcore/luni/src/main/java/libcore/net/url/ |
JarHandler.java | 18 package libcore.net.url; 22 import java.net.URL; 28 * Returns a connection to the jar file pointed by this <code>URL</code> 32 * this url. 34 * java.net.URL The URL to which the connection is pointing to 41 protected URLConnection openConnection(URL u) throws IOException { 47 * @param url 48 * URL the context URL [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_ClassLoader.java | 19 import java.net.URL; 31 public abstract ClassLoader getClassLoader(URL url, ClassLoader parent); 33 public static ClassLoader getInstance(URL url, ClassLoader parent) { 45 return factory.getClassLoader(url, parent); 68 public ClassLoader getClassLoader(URL url, ClassLoader parent) { 69 return new DexClassLoader(url.getPath(), tmp.getAbsolutePath(), 80 public ClassLoader getClassLoader(URL url, ClassLoader parent) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_process_manager.h | 36 // appropriate SiteInstance (and therefore process) based on the URL and 39 const GURL& url, 42 ExtensionHost* CreateView(const GURL& url, 46 const GURL& url, 48 ExtensionHost* CreatePopup(const GURL& url, Browser* browser); 50 const GURL& url, 52 ExtensionHost* CreateInfobar(const GURL& url, 61 const GURL& url); 67 // Returns the SiteInstance that the given URL belongs to. 68 virtual SiteInstance* GetSiteInstanceForURL(const GURL& url); [all...] |
extension_process_manager.cc | 36 const GURL& url, 40 const GURL& url); 41 virtual SiteInstance* GetSiteInstanceForURL(const GURL& url); 42 virtual RenderProcessHost* GetExtensionProcess(const GURL& url); 50 // Returns the extension for an URL, which can either be a chrome-extension 51 // URL or a web app URL. 52 const Extension* GetExtensionOrAppByURL(const GURL& url); 116 const GURL& url, 124 new ExtensionHostMac(extension, GetSiteInstanceForURL(url), url [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
HttpHelper.java | 31 public String get(String url, Map<String,String> requestHeaders) 36 public String post(String url, Map<String,String> requestHeaders, String content) 56 * @param url Request URI. 58 public GetRequest(String url) { 59 mUrl = url; 71 public void setUrl(String url) { 72 mUrl = url; 105 public PostRequest(String url) { 106 super(url); 147 * An interface for URL rewriting [all...] |
/external/bluetooth/glib/gio/win32/ |
gwinhttpfile.c | 57 g_free (file->url.lpszScheme); 58 g_free (file->url.lpszHostName); 59 g_free (file->url.lpszUserName); 60 g_free (file->url.lpszPassword); 61 g_free (file->url.lpszUrlPath); 62 g_free (file->url.lpszExtraInfo); 104 memset (&file->url, 0, sizeof (file->url)); 105 file->url.dwStructSize = sizeof (file->url); [all...] |
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
ImageDownloader.java | 93 * @param url The URL of the image to download. 96 public void download(String url, ImageView imageView) { 97 download(url, imageView, null); 104 * @param url The URL of the image to download. 108 public void download(String url, ImageView imageView, String cookie) { 110 Bitmap bitmap = getBitmapFromCache(url); 113 forceDownload(url, imageView, cookie); 115 cancelPotentialDownload(url, imageView) 236 private String url; field in class:ImageDownloader.BitmapDownloaderTask [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_GetLocal.java | 28 import java.net.URL; 37 public static File getLocalFile(String url) throws IOException, 39 url = Support_Resources.RESOURCE_PACKAGE + url; 40 File temp = cache.get(url); 42 InputStream in = Support_GetLocal.class.getResourceAsStream(url); 53 cache.put(url, temp); 58 public static File getExternalLocalFile(String url) throws IOException, 60 File temp = cache.get(url); 62 InputStream in = new URL(url).openStream() [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
registration_screen.cc | 53 void RegistrationScreen::set_registration_host_page_url(const GURL& url) { 54 host_page_url_.reset(new GURL(url)); 69 GURL url(*host_page_url_); 72 SiteInstance::CreateSiteInstanceForURL(profile, url)); 74 view()->LoadURL(url); 95 void RegistrationScreen::OnPageLoadFailed(const std::string& url) { 96 LOG(ERROR) << "Error loading registration page: " << url; 103 const GURL& url, 107 if (url.spec() == kRegistrationSuccessUrl) { 111 } else if (url.spec() == kRegistrationSkippedUrl) [all...] |
/external/chromium/chrome/browser/history/ |
download_types.cc | 8 const GURL& url, 15 url(url),
|
visit_tracker.h | 31 const GURL& url, 43 VisitID GetLastVisit(const void* host, int32 page_id, const GURL& url); 47 GURL url; // URL that the event happened to. member in struct:history::VisitTracker::Transition
|
/external/chromium/chrome/browser/net/ |
url_request_mock_http_job.cc | 42 std::string url = "http://"; local 43 url.append(kMockHostname); 44 url.append("/"); 47 url.append(path_str); 48 return GURL(url); 53 std::string url = chrome::kViewSourceScheme; local 54 url.append(":"); 55 url.append(GetMockUrl(path).spec()); 56 return GURL(url); 63 // Conceptually we just want to "return base_path + request->url().path()" 68 std::string url = file_url.spec() + request->url().path(); local [all...] |
/external/chromium/chrome/browser/ui/search_engines/ |
edit_search_engine_controller.cc | 33 std::string url = GetFixedUpURL(url_input); local 34 if (url.empty()) 38 TemplateURLRef template_ref(url, 0, 0); 48 return GURL(url).is_valid(); 51 // If the url has a search term, replace it with a random string and make 52 // sure the resulting URL is valid. We don't check the validity of the url 126 std::string url; local 128 TRIM_ALL, &url); 129 if (url.empty() [all...] |
/external/chromium/net/proxy/ |
proxy_resolver_script_data.h | 16 // The PAC script can be either specified via a URL, a deferred URL for 38 // Creates a script data given a URL to the PAC script. 39 static scoped_refptr<ProxyResolverScriptData> FromURL(const GURL& url); 41 // Creates a script data for using an automatically detected PAC URL. 52 // Returns the URL of the script. 54 const GURL& url() const; 59 const GURL& url,
|
/external/webkit/Source/WebCore/css/ |
CSSCursorImageValue.h | 35 static PassRefPtr<CSSCursorImageValue> create(const String& url, const IntPoint& hotSpot) 37 return adoptRef(new CSSCursorImageValue(url, hotSpot)); 52 CSSCursorImageValue(const String& url, const IntPoint& hotSpot);
|
/external/webkit/Source/WebCore/loader/ |
SubstituteResource.h | 43 const KURL& url() const { return m_url; } function in class:WebCore::SubstituteResource 48 SubstituteResource(const KURL& url, const ResourceResponse& response, PassRefPtr<SharedBuffer> data) 49 : m_url(url)
|