HomeSort by relevance Sort by last modified time
    Searched refs:url (Results 51 - 75 of 2997) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/webkit/Tools/Scripts/webkitpy/common/system/
urlfetcher_mock.py 37 def fetch(self, url):
38 return urls[url]
40 def fetch_into_file(self, url):
42 f.write(self.fetch(url))
  /libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/
Handler.java 20 import java.net.URL;
25 * This specially-named class is created reflectively by {@link URL}. For the
30 @Override protected URLConnection openConnection(URL url) throws IOException {
31 return new HandlerURLConnection(url);
35 protected HandlerURLConnection(URL url) {
36 super(url);
  /external/chromium/chrome/browser/autocomplete/
history_provider_util.cc 26 bool HistoryMatch::operator==(const GURL& url) const {
27 return url_info.url() == url;
  /external/chromium/chrome/browser/google/
google_util.h 19 // Adds the Google locale string to the URL (e.g., hl=en-US). This does not
21 GURL AppendGoogleLocaleParam(const GURL& url);
24 std::string StringAppendGoogleLocaleParam(const std::string& url);
26 // Adds the Google TLD string to the URL (e.g., sd=com). This does not
28 GURL AppendGoogleTLDParam(const GURL& url);
google_util.cc 17 // A helper method for adding a query param to |url|.
18 GURL AppendParam(const GURL& url,
21 std::string query(url.query());
27 return url.ReplaceComponents(repl);
37 GURL AppendGoogleLocaleParam(const GURL& url) {
43 return AppendParam(url, "hl", locale);
46 std::string StringAppendGoogleLocaleParam(const std::string& url) {
47 GURL original_url(url);
53 GURL AppendGoogleTLDParam(const GURL& url) {
60 return url;
    [all...]
  /external/chromium/chrome/common/
about_handler.cc 24 bool WillHandle(const GURL& url) {
25 if (url.scheme() != kAboutScheme)
30 if (GURL(*url_handler) == url)
  /external/chromium/net/tools/dump_cache/
url_utilities.h 14 // Gets the host from an url, strips the port number as well if the url
17 static std::string GetUrlHost(const std::string& url);
19 // Get the host + path portion of an url
22 static std::string GetUrlHostPath(const std::string& url);
24 // Gets the path portion of an url.
27 static std::string GetUrlPath(const std::string& url);
29 // Unescape a url, converting all %XX to the the actual char 0xXX.
url_utilities.cc 13 std::string UrlUtilities::GetUrlHost(const std::string& url) {
14 size_t b = url.find("//");
19 size_t next_slash = url.find_first_of('/', b);
20 size_t next_colon = url.find_first_of(':', b);
24 return std::string(url, b, next_colon - b);
28 return std::string(url, b, next_colon - b);
30 next_slash = url.size();
33 return std::string(url, b, next_slash - b);
36 std::string UrlUtilities::GetUrlHostPath(const std::string& url) {
37 size_t b = url.find("//")
    [all...]
  /libcore/luni/src/main/java/java/sql/
Driver.java 25 * <p>The JDBC driver uses URLs to specify the location of specific data. URL
37 * given URL.
39 * @param url
40 * the URL to connect to.
42 * to the supplied URL, {@code false} otherwise. Typically, the
48 public boolean acceptsURL(String url) throws SQLException;
52 * supplied URL.
54 * @param url
55 * the URL to connect.
66 public Connection connect(String url, Properties info) throws SQLException
    [all...]
  /external/webkit/Source/WebCore/platform/network/
CredentialStorage.cpp 60 static String originStringFromURL(const KURL& url)
62 if (url.port())
63 return makeString(url.protocol(), "://", url.host(), ':', String::number(url.port()), '/');
65 return makeString(url.protocol(), "://", url.host(), '/');
68 static String protectionSpaceMapKeyFromURL(const KURL& url)
70 ASSERT(url.isValid());
74 String directoryURL = url.string().substring(0, url.pathEnd())
    [all...]
  /external/chromium/chrome/browser/
browser_url_handler.cc 17 static bool HandleViewSource(GURL* url, Profile* profile) {
18 if (url->SchemeIs(chrome::kViewSourceScheme)) {
19 // Load the inner URL instead.
20 *url = GURL(url->path());
23 // other kind of 'active' url scheme like 'javascript' or 'data'.
32 if (url->SchemeIs(allowed_sub_schemes[i])) {
39 *url = GURL(chrome::kAboutBlankURL);
48 // Turns a non view-source URL into the corresponding view-source URL
    [all...]
  /external/chromium/chrome/browser/ui/webui/
chrome_web_ui_factory.h 23 virtual WebUI::TypeID GetWebUIType(Profile* profile, const GURL& url) const;
24 virtual bool UseWebUIForURL(Profile* profile, const GURL& url) const;
25 virtual bool HasWebUIScheme(const GURL& url) const;
26 virtual bool IsURLAcceptableForWebUI(Profile* profile, const GURL& url) const;
28 const GURL& url) const;
  /external/chromium/chrome/browser/webdata/
web_apps_table.h 22 // url URL of the web app.
26 // url URL of the web app.
39 bool SetWebAppImage(const GURL& url, const SkBitmap& image);
40 bool GetWebAppImages(const GURL& url, std::vector<SkBitmap>* images);
42 bool SetWebAppHasAllImages(const GURL& url, bool has_all_images);
43 bool GetWebAppHasAllImages(const GURL& url);
45 bool RemoveWebApp(const GURL& url);
  /external/okhttp/android/main/java/com/squareup/okhttp/
HttpHandler.java 22 import java.net.URL;
27 @Override protected URLConnection openConnection(URL url) throws IOException {
28 return new OkHttpClient().open(url);
31 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException {
32 if (url == null || proxy == null) {
33 throw new IllegalArgumentException("url == null || proxy == null");
35 return new OkHttpClient().setProxy(proxy).open(url);
HttpsHandler.java 22 import java.net.URL;
27 @Override protected URLConnection openConnection(URL url) throws IOException {
28 return new OkHttpClient().open(url);
31 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException {
32 if (url == null || proxy == null) {
33 throw new IllegalArgumentException("url == null || proxy == null");
35 return new OkHttpClient().setProxy(proxy).open(url);
  /external/webkit/Tools/QtTestBrowser/
mainwindow.h 47 void addCompleterEntry(const QUrl& url);
49 void load(const QString& url);
50 void load(const QUrl& url);
56 void setAddressUrl(const QString& url);
57 void setAddressUrl(const QUrl& url);
  /libcore/luni/src/main/java/libcore/net/http/
HttpsHandler.java 22 import java.net.URL;
28 @Override protected URLConnection openConnection(URL url) throws IOException {
29 return new HttpsURLConnectionImpl(url, getDefaultPort());
32 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException {
33 if (url == null || proxy == null) {
34 throw new IllegalArgumentException("url == null || proxy == null");
36 return new HttpsURLConnectionImpl(url, getDefaultPort(), proxy);
  /cts/tests/tests/webkit/src/android/webkit/cts/
CookieTest.java 51 String url = "http://www.foo.com"; local
54 mCookieManager.setCookie(url, "a=b");
55 String cookie = mCookieManager.getCookie(url);
63 mCookieManager.setCookie(url, "c=d; domain=.foo.com");
64 cookie = mCookieManager.getCookie(url);
74 mCookieManager.setCookie(url, "e=f; domain=www.foo.com");
75 cookie = mCookieManager.getCookie(url);
130 String url = "http://foo.bar.com"; local
132 mCookieManager.setCookie(url, "a=1; domain=.yo.foo.bar.com");
133 String cookie = mCookieManager.getCookie(url);
166 String url = "http:\/\/www.foo.com"; local
195 String url = "http:\/\/www.foobar.com"; local
    [all...]
  /external/chromium/net/base/
cookie_store.h 31 virtual bool SetCookieWithOptions(const GURL& url,
37 // Simple interface, gets a cookie string "a=b; c=d" for the given URL.
39 virtual std::string GetCookiesWithOptions(const GURL& url,
42 // Deletes the passed in cookie for the specified URL.
43 virtual void DeleteCookie(const GURL& url,
53 // Sets a cookie for the given URL using default options.
54 bool SetCookie(const GURL& url, const std::string& cookie_line);
56 // Gets cookies for the given URL using default options.
57 std::string GetCookies(const GURL& url);
59 // Sets a vector of response cookie values for the same URL
    [all...]
  /frameworks/base/core/java/android/webkit/
MimeTypeMap.java 39 * extension of a url and has undefined results for other Strings.
40 * @param url
41 * @return The file extension of the given url.
43 public static String getFileExtensionFromUrl(String url) {
44 if (!TextUtils.isEmpty(url)) {
45 int fragment = url.lastIndexOf('#');
47 url = url.substring(0, fragment);
50 int query = url.lastIndexOf('?');
52 url = url.substring(0, query)
    [all...]
  /external/chromium/chrome/browser/history/
top_sites_cache.cc 27 void TopSitesCache::SetPageThumbnail(const GURL& url,
30 Images& img = images_[GetCanonicalURL(url)];
35 Images* TopSitesCache::GetImage(const GURL& url) {
36 return &images_[GetCanonicalURL(url)];
39 bool TopSitesCache::GetPageThumbnail(const GURL& url,
42 images_.find(GetCanonicalURL(url));
50 bool TopSitesCache::GetPageThumbnailScore(const GURL& url,
53 images_.find(GetCanonicalURL(url));
61 GURL TopSitesCache::GetCanonicalURL(const GURL& url) {
62 CanonicalURLs::iterator i = TopSitesCache::GetCanonicalURLsIterator(url);
    [all...]
top_sites_database.h 50 // Set a thumbnail for a URL. |url_rank| is the position of the URL
52 // If the URL is not in the table, add it. If it is, replace its
54 void SetPageThumbnail(const MostVisitedURL& url,
58 // Sets the rank for a given URL. The URL must be in the database.
60 void UpdatePageRank(const MostVisitedURL& url, int new_rank);
63 bool GetPageThumbnail(const GURL& url, Images* thumbnail);
65 // Remove the record for this URL. Returns true iff removed successfully.
66 bool RemoveURL(const MostVisitedURL& url);
    [all...]
  /external/webkit/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/
LeaksLoader.js 32 start: function(url) {
33 if (/\.txt$/.test(url))
34 this._loadLeaksFiles([url]);
36 this._loadLeaksFromResultsPage(url);
44 urls.forEach(function(url) {
45 getResource(url, function(xhr) {
51 _loadLeaksFromResultsPage: function(url) {
53 getResource(url, function(xhr) {
58 var baseURL = url.substring(0, url.lastIndexOf("/") + 1)
    [all...]
  /libcore/luni/src/main/java/libcore/net/url/
FileHandler.java 18 package libcore.net.url;
22 import java.net.URL;
33 * Returns a connection to the a file pointed by this <code>URL</code> in
36 * @return A connection to the resource pointed by this url.
37 * @param url
38 * URL The URL to which the connection is pointing to
42 public URLConnection openConnection(URL url) throws IOException {
43 return openConnection(url, null)
    [all...]
  /external/chromium/chrome/browser/extensions/
all_urls_apitest.cc 38 std::string url; local
41 url = "chrome://newtab/";
42 ExtensionTestMessageListener listener1a("content script: " + url, false);
43 ExtensionTestMessageListener listener1b("execute: " + url, false);
44 ui_test_utils::NavigateToURL(browser(), GURL(url));
49 url = "data:text/html;charset=utf-8,<html>asdf</html>";
50 ExtensionTestMessageListener listener2a("content script: " + url, false);
51 ExtensionTestMessageListener listener2b("execute: " + url, false);
52 ui_test_utils::NavigateToURL(browser(), GURL(url));
57 url = "about:version"
    [all...]

Completed in 669 milliseconds

1 23 4 5 6 7 8 91011>>