/prebuilts/go/linux-x86/src/net/http/httputil/ |
dump_test.go | 14 "net/url" 34 URL: &url.URL{ 57 URL: mustParseURL("/foo"), 78 // Test that an https URL doesn't try to do an SSL negotiation 94 URL: &url.URL{ 119 URL: &url.URL [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urllibnet.py | 96 # Make sure same URL as opened is returned by geturl. 97 URL = "http://www.python.org/" 98 open_url = self.urlopen(URL) 103 self.assertEqual(gotten_url, URL) 107 URL = "http://www.python.org/XXXinvalidXXX" 108 open_url = urllib.FancyURLopener().open(URL)
|
test_xmlrpc.py | 275 ADDR = PORT = URL = None 308 global ADDR, PORT, URL 314 URL = "http://%s:%d"%(ADDR, PORT) 367 global ADDR, PORT, URL 373 URL = "http://%s:%d"%(ADDR, PORT) 453 p = xmlrpclib.ServerProxy(URL) 466 p = xmlrpclib.ServerProxy(URL) 493 p = xmlrpclib.ServerProxy(URL) 508 p = xmlrpclib.ServerProxy(URL) 522 p = xmlrpclib.ServerProxy(URL) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_urllibnet.py | 96 # Make sure same URL as opened is returned by geturl. 97 URL = "http://www.python.org/" 98 open_url = self.urlopen(URL) 103 self.assertEqual(gotten_url, URL) 107 URL = "http://www.python.org/XXXinvalidXXX" 108 open_url = urllib.FancyURLopener().open(URL)
|
test_xmlrpc.py | 275 ADDR = PORT = URL = None 308 global ADDR, PORT, URL 314 URL = "http://%s:%d"%(ADDR, PORT) 367 global ADDR, PORT, URL 373 URL = "http://%s:%d"%(ADDR, PORT) 453 p = xmlrpclib.ServerProxy(URL) 466 p = xmlrpclib.ServerProxy(URL) 493 p = xmlrpclib.ServerProxy(URL) 508 p = xmlrpclib.ServerProxy(URL) 522 p = xmlrpclib.ServerProxy(URL) [all...] |
/external/libxml2/ |
catalog.c | 141 xmlChar *URL; /* The expanded URL using the base */ 275 const xmlChar *value, const xmlChar *URL, xmlCatalogPrefer prefer, 304 if (URL == NULL) 305 URL = value; 306 if (URL != NULL) 307 ret->URL = xmlStrdup(URL); 309 ret->URL = NULL; 354 if (ret->URL != NULL [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_xmlrpc.py | 275 ADDR = PORT = URL = None
308 global ADDR, PORT, URL
314 URL = "http://%s:%d"%(ADDR, PORT)
367 global ADDR, PORT, URL
373 URL = "http://%s:%d"%(ADDR, PORT)
453 p = xmlrpclib.ServerProxy(URL)
466 p = xmlrpclib.ServerProxy(URL)
490 p = xmlrpclib.ServerProxy(URL)
505 p = xmlrpclib.ServerProxy(URL)
519 p = xmlrpclib.ServerProxy(URL)
[all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_xmlrpc.py | 275 ADDR = PORT = URL = None 308 global ADDR, PORT, URL 314 URL = "http://%s:%d"%(ADDR, PORT) 367 global ADDR, PORT, URL 373 URL = "http://%s:%d"%(ADDR, PORT) 453 p = xmlrpclib.ServerProxy(URL) 466 p = xmlrpclib.ServerProxy(URL) 493 p = xmlrpclib.ServerProxy(URL) 508 p = xmlrpclib.ServerProxy(URL) 522 p = xmlrpclib.ServerProxy(URL) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_xmlrpc.py | 275 ADDR = PORT = URL = None 308 global ADDR, PORT, URL 314 URL = "http://%s:%d"%(ADDR, PORT) 367 global ADDR, PORT, URL 373 URL = "http://%s:%d"%(ADDR, PORT) 453 p = xmlrpclib.ServerProxy(URL) 466 p = xmlrpclib.ServerProxy(URL) 493 p = xmlrpclib.ServerProxy(URL) 508 p = xmlrpclib.ServerProxy(URL) 522 p = xmlrpclib.ServerProxy(URL) [all...] |
/libcore/ojluni/src/main/java/java/net/ |
URL.java | 43 * Class {@code URL} represents a Uniform Resource 50 * "http://web.archive.org/web/20051219043731/http://archive.ncsa.uiuc.edu/SDG/Software/Mosaic/Demo/url-primer.html"> 51 * <i>Types of URL</i></a> 53 * In general, a URL can be broken into several parts. Consider the 59 * The URL above indicates that the protocol to use is 67 * the URL is called the <i>path</i> component. 69 * A URL can optionally specify a "port", which is the 79 * The syntax of {@code URL} is defined by <a 87 * A URL may have appended to it a "fragment", also known 94 * This fragment is not technically part of the URL. Rather, i [all...] |
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
RSSPullService.java | 30 import java.net.URL; 36 * This service pulls RSS content from a web site URL contained in the incoming Intent (see 64 * URL of the web site from which the RSS parser gets data. 68 // Gets a URL to read from the incoming Intent's "data" value 78 // A URL that's local to this method 79 URL localURL; 85 * A block that tries to connect to the Picasa featured picture URL passed as the "data" 90 // Convert the incoming data string to a URL. 91 localURL = new URL(localUrlString); 94 * Tries to open a connection to the URL. If an IO error occurs, this throws a [all...] |
/external/curl/tests/libtest/ |
lib540.c | 25 * argv1 = URL 49 static int init(int num, CURLM *cm, const char *url, const char *userpwd, 58 res_easy_setopt(eh[num], CURLOPT_URL, url); 100 static int loop(int num, CURLM *cm, const char *url, const char *userpwd, 110 res = init(num, cm, url, userpwd, headers); 185 int test(char *URL) 223 res = loop(0, cm, URL, PROXYUSERPWD, headers); 229 res = loop(1, cm, URL, PROXYUSERPWD, headers);
|
lib586.c | 30 char *url; member in struct:Tdata 112 curl_easy_setopt(curl, CURLOPT_URL, tdata->url); 119 fprintf(stderr, "perform url '%s' repeat %d failed, curlcode %d\n", 120 tdata->url, i, (int)code); 130 int test(char *URL) 134 char *url; local 191 tdata.url = URL; 210 url = URL; [all...] |
/external/doclava/src/com/google/doclava/ |
FederationTagger.java | 20 import java.net.URL; 34 private final Map<String, URL> federatedUrls = new HashMap<>(); 41 * Adds a Doclava documentation site for federation. Accepts the base URL of 45 * reading the API from "/xml/current.xml" within the site's base URL. 51 public void addSiteUrl(String name, URL site) { 64 * for {@link #addSiteUrl(String, URL)}) 90 * each unique {@code name} added using {@link #addSiteUrl(String, URL)}.
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/serializable/ |
SerializableChecker.java | 21 import java.net.URL; 194 //URL jarURL = new URL("jar:file:/dev/eclipse/workspace/icu4j/icu4j.jar!/com/ibm/icu"); 195 //URL fileURL = new URL("file:/dev/eclipse/workspace/icu4j/classes/com/ibm/icu"); 196 URL url = new URL(arg); local 197 URLHandler handler = URLHandler.get(url); 203 System.out.println("Error processing URL \"" + arg + "\" - " + e.getMessage()) [all...] |
/external/jline/src/src/main/java/jline/ |
ClassNameCompletor.java | 50 // Now add the URL that holds java.lang.String. This is because 58 URL classURL = systemClasses[i].getResource("/" 73 URL url = (URL) i.next(); local 74 File file = new File(url.getFile());
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
HttpClient4.java | 21 import java.net.URL; 62 final String url = request.url.toExternalForm(); local 71 isPost ? new HttpPost(url) : new HttpPut(url); 81 httpRequest = new HttpDelete(url); 83 httpRequest = new HttpGet(url); 88 HttpClient client = clientPool.getHttpClient(new URL(httpRequest.getURI().toString())); 119 public HttpClient getHttpClient(URL server)
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/dependency/ |
MavenDependencyResolverTest.java | 11 import java.net.URL; 101 URL url = dependencyResolver.getLocalArtifactUrl(dependencyJar); local 103 assertEquals("file:/path1", url.toExternalForm()); 111 URL url = dependencyResolver.getLocalArtifactUrl(dependencyJar); local 113 assertEquals("file:/path3", url.toExternalForm());
|
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/ |
UrlDownloaderTask.java | 33 import java.net.URL; 42 private final URL mUrl; 64 public UrlDownloaderTask(String url, String out, Context context) throws MalformedURLException { 71 mUrl = new URL(url); 150 throw new Sl4aException("Cannot open URL: " + mUrl, e);
|
/external/smali/baksmali/src/test/java/org/jf/baksmali/ |
AnalysisTest.java | 53 import java.net.URL; 132 URL resUrl = Resources.getResource(resource); 138 URL url = Resources.getResource(resource); local 139 return Resources.toString(url, Charsets.UTF_8);
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
BandwidthTestUtil.java | 41 import java.net.URL; 75 * @param server url of the test server 79 * @return download url 89 * Download a given file from a target url to a given destination file. 90 * @param targetUrl the url to download 96 URL url = new URL(targetUrl); local 98 Log.d(LOG_TAG, "Download url:" + url); [all...] |
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
URLFetcher.java | 30 import java.net.URL; 37 * Helper class for fetching HTTP or HTTPS URL. 50 * Fetches the specified url and returns the content and ttl. 57 * @throws AssociationServiceException if the URL scheme is not http or https or the content 60 public WebContent getWebContentFromUrlWithRetry(URL url, long fileSizeLimit, 68 return getWebContentFromUrl(url, fileSizeLimit, connectionTimeoutMillis); 84 * Fetches the specified url and returns the content and ttl. 87 * @throws AssociationServiceException if the URL scheme is not http or https or the content 90 public WebContent getWebContentFromUrl(URL url, long fileSizeLimit, int connectionTimeoutMillis [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
OsuServerConnection.java | 25 import java.net.URL; 49 private URL mUrl; 103 * @param url Osu Server's URL 110 public boolean connect(URL url, Network network) { 112 mUrl = url; 119 Log.e(TAG, "Unable to establish a URL connection");
|
/kernel/tests/net/test/ |
run_net_test.sh | 61 URL=https://dl.google.com/dl/android/$COMPRESSED_ROOTFS 141 echo "Downloading $URL" >&2 142 wget -nv $URL
|
/libcore/dalvik/src/main/java/dalvik/system/ |
BaseDexClassLoader.java | 20 import java.net.URL; 168 protected URL findResource(String name) { 173 protected Enumeration<URL> findResources(String name) {
|