/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | URLTest.java | 31 import java.net.URL; 44 protected URLConnection openConnection(URL u) in openConnection() 50 URL u; 52 URL u1; 54 URL u2; 56 URL u3; 58 URL u4; 60 URL u5; 62 URL u6; 73 u = new URL( in test_ConstructorLjava_lang_String() [all …]
|
D | URLClassLoaderTest.java | 25 import java.net.URL; 64 public URL getResource(String res) { in getResource() 66 return new URL("http://test/BogusClassLoader"); in getResource() 75 public URLClassLoaderExt(URL[] urls) { in URLClassLoaderExt() 88 URL[] u = new URL[0]; in test_Constructor$Ljava_net_URL() 94 URLClassLoader loader = new URLClassLoader(new URL[] { null }); in test_Constructor$Ljava_net_URL() 109 URL[] u = new URL[0]; in test_Constructor$Ljava_net_URLLjava_lang_ClassLoader() 111 URL res = ucl.getResource("J"); in test_Constructor$Ljava_net_URLLjava_lang_ClassLoader() 122 URL[] urls = new URL[2]; in test_findResourcesLjava_lang_String() 123 urls[0] = new URL(serverURL); in test_findResourcesLjava_lang_String() [all …]
|
D | JarURLConnectionTest.java | 27 import java.net.URL; 51 URL u = new URL("jar:"+BASE+"!/swt.dll"); in test_getAttributes() 64 URL u = new URL("jar:"+BASE+"!/plus.bmp"); in test_getEntryName() 68 u = new URL("jar:"+BASE+"!/"); in test_getEntryName() 72 URL url = new URL("jar:file:///bar.jar!/foo.jar!/Bugs/HelloWorld.class"); in test_getEntryName() 80 URL u = new URL("jar:"+BASE+"!/plus.bmp"); in test_getJarEntry() 84 u = new URL("jar:"+BASE+"!/"); in test_getJarEntry() 93 URL url = null; in test_getJarFile() 94 url = new URL("jar:"+BASE+"!/missing"); in test_getJarFile() 116 URL fUrl1 = new URL("jar:file:" + file.getPath() + "!/"); in test_getJarFile() [all …]
|
D | ExcludedProxyTest.java | 27 import java.net.URL; 50 URL u1 = new URL("http://" + Support_Configuration.HomeAddress); in test_usingProxy() 57 URL u3 = new URL("http://localhost"); in test_usingProxy() 67 URL u2 = new URL("http://" in test_usingProxy() 89 URL u4 = new URL("http://" in test_usingProxy() 168 URL u = new URL("http://" in test_openConnectionLjava_net_Proxy() 192 URL httpUrl = new URL("http://abc.com"); in test_openConnectionLjava_net_Proxy() 193 URL jarUrl = new URL("jar:" in test_openConnectionLjava_net_Proxy() 195 URL ftpUrl = new URL("ftp://" + Support_Configuration.FTPTestAddress in test_openConnectionLjava_net_Proxy() 197 URL fileUrl = new URL("file://abc"); in test_openConnectionLjava_net_Proxy() [all …]
|
D | URLConnectionTest.java | 31 import java.net.URL; 49 public MockURLConnection(URL url) { in MockURLConnection() 60 protected URLConnection openConnection(URL u) throws IOException { in openConnection() 82 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); 87 URL url; 91 url = new URL("http://localhost/"); 105 MockURLConnection u = new MockURLConnection(new URL( 181 URL fUrl1 = new URL("jar:file:" + resources.getPath() 514 URL url = new URL("http", "test", 80, "index.html", new NewHandler()); 530 URL url = new URL("http", "test", 80, "index.html", new NewHandler()); [all …]
|
/external/clang/lib/Basic/ |
D | Version.cpp | 28 StringRef URL(SVN_REPOSITORY); in getClangRepositoryPath() 30 StringRef URL(""); in getClangRepositoryPath() 36 if (URL.empty()) { in getClangRepositoryPath() 37 URL = SVNRepository.slice(SVNRepository.find(':'), in getClangRepositoryPath() 42 URL = URL.slice(0, URL.find("/src/tools/clang")); in getClangRepositoryPath() 45 size_t Start = URL.find("cfe/"); in getClangRepositoryPath() 47 URL = URL.substr(Start + 4); in getClangRepositoryPath() 49 return URL; in getClangRepositoryPath() 55 StringRef URL(LLVM_REPOSITORY); in getLLVMRepositoryPath() local 57 StringRef URL(""); in getLLVMRepositoryPath() [all …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
D | PackageTest.java | 21 import java.net.URL; 35 URL resourceURL = new URL("file:/" + resPath + "/Package/" in getTestPackage() 38 URLClassLoader ucl = new URLClassLoader(new URL[] { resourceURL }, null); in getTestPackage() 280 .isSealed(new URL("file:/" + resPath + "/"))); in test_isSealedLjava_net_URL() 282 .isSealed(new URL("file:/" + resPath + "/Package/hyts_c.jar"))); in test_isSealedLjava_net_URL() 300 URL resourceURL1 = new URL("file:/" + resPath + "/Package/hyts_c.jar"); in test_SealedPackage_forName() 301 URL resourceURL2 = new URL("file:/" + resPath + "/Package/hyts_d.jar"); in test_SealedPackage_forName() 302 URL resourceURL3 = new URL("file:/" + resPath + "/Package/hyts_d1.jar"); in test_SealedPackage_forName() 303 URL resourceURL4 = new URL("file:/" + resPath + "/Package/hyts_d2.jar"); in test_SealedPackage_forName() 304 URL resourceURL5 = new URL("file:/" + resPath + "/"); in test_SealedPackage_forName() [all …]
|
/external/chromium/chrome/browser/autocomplete/ |
D | autocomplete_unittest.cc | 284 { ASCIIToUTF16("foo.com"), AutocompleteInput::URL }, in TEST_F() 286 { ASCIIToUTF16("foo/bar"), AutocompleteInput::URL }, in TEST_F() 295 { ASCIIToUTF16("foo:81"), AutocompleteInput::URL }, in TEST_F() 296 { ASCIIToUTF16("www.foo.com:81"), AutocompleteInput::URL }, in TEST_F() 297 { ASCIIToUTF16("localhost:8080"), AutocompleteInput::URL }, in TEST_F() 304 { ASCIIToUTF16("user:pass@foo"), AutocompleteInput::URL }, in TEST_F() 305 { ASCIIToUTF16("user:pass@foo.c"), AutocompleteInput::URL }, in TEST_F() 306 { ASCIIToUTF16("user:pass@foo.com"), AutocompleteInput::URL }, in TEST_F() 307 { ASCIIToUTF16("user:pass@foo.com:81"), AutocompleteInput::URL }, in TEST_F() 308 { ASCIIToUTF16("user:pass@foo:81"), AutocompleteInput::URL }, in TEST_F() [all …]
|
/external/guava/guava/src/com/google/common/io/ |
D | Resources.java | 28 import java.net.URL; 55 final URL url) { in newInputStreamSupplier() 74 URL url, Charset charset) { 85 public static byte[] toByteArray(URL url) throws IOException { 98 public static String toString(URL url, Charset charset) throws IOException { 112 public static <T> T readLines(URL url, Charset charset, 127 public static List<String> readLines(URL url, Charset charset) 139 public static void copy(URL from, OutputStream to) throws IOException { 150 public static URL getResource(String resourceName) { 151 URL url = Resources.class.getClassLoader().getResource(resourceName); [all …]
|
/external/markdown/MarkdownTest/Tests_2007/ |
D | Links, inline style.text | 1 Just a [URL](/url/). 3 [URL and title](/url/ "title"). 5 [URL and title](/url/ "title preceded by two spaces"). 7 [URL and title](/url/ "title preceded by a tab"). 9 [URL and title](/url/ "title has spaces afterward" ). 11 [URL wrapped in angle brackets](</url/>). 13 [URL w/ angle brackets + title](</url/> "Here's the title"). 17 [With parens in the URL](http://en.wikipedia.org/wiki/WIMP_(computing)) 22 [With parens in the URL](/foo(bar) "and a title")
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/mac/ |
D | WebErrorsMac.mm | 47 #define WebKitErrorDescriptionCannotShowURL WEB_UI_STRING("The URL can’t be shown", "WebKitErrorCan… 62 + (NSError *)_webKitErrorWithDomain:(NSString *)domain code:(int)code URL:(NSURL *)URL; 74 -(id)_webkit_initWithDomain:(NSString *)domain code:(int)code URL:(NSURL *)URL 83 URL, @"NSErrorFailingURLKey", 84 [URL absoluteString], @"NSErrorFailingURLStringKey", 90 +(id)_webkit_errorWithDomain:(NSString *)domain code:(int)code URL:(NSURL *)URL 92 return [[[self alloc] _webkit_initWithDomain:domain code:code URL:URL] autorelease]; 95 + (NSError *)_webKitErrorWithDomain:(NSString *)domain code:(int)code URL:(NSURL *)URL 98 return [self _webkit_errorWithDomain:domain code:code URL:URL]; 103 …return [self _webKitErrorWithDomain:WebError::webKitErrorDomain() code:code URL:[NSURL URLWithStri… [all …]
|
/external/doclava/src/com/google/doclava/ |
D | FederatedSite.java | 24 import java.net.URL; 33 private final URL baseUrl; 36 public FederatedSite(String name, URL baseUrl) throws ApiParseException { in FederatedSite() 41 URL xmlUrl = new URL(baseUrl + "/xml/current.xml"); in FederatedSite() 52 public FederatedSite(String name, URL baseUrl, String api) throws ApiParseException { in FederatedSite() 70 public URL baseUrl() { in baseUrl()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/scripts/ |
D | Fingerprints.js | 4 var idx=document.URL.indexOf("php?"); 6 window.open(document.URL+"?fp_type="+type, "_self"); 8 window.open(document.URL.substring(0,idx)+"php?fp_type="+type, "_self"); 13 var idx=document.URL.indexOf("?"); 16 var typeStr=document.URL.substring(idx+1, document.URL.length);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/ |
D | FileURLConnectionTest.java | 20 import java.net.URL; 34 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); in getContentType() 53 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); in testGetInputStream() 54 URL anchorUrl = new URL(url,"#anchor"); in testGetInputStream() 62 URL localURL = new URL(localURLString); in testGetInputStream() 70 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); in testHeaderFunctions() 91 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); in testHeader_BoundaryCheck()
|
/external/webkit/Source/WebKit/mac/Misc/ |
D | WebIconDatabase.h | 84 - (NSImage *)iconForURL:(NSString *)URL withSize:(NSSize)size; 95 - (NSImage *)iconForURL:(NSString *)URL withSize:(NSSize)size cache:(BOOL)cache; 102 - (NSString *)iconURLForURL:(NSString *)URL; 109 - (NSImage *)defaultIconForURL:(NSString *)URL withSize:(NSSize)size; 116 - (void)retainIconForURL:(NSString *)URL; 123 - (void)releaseIconForURL:(NSString *)URL;
|
D | WebNSPasteboardExtras.mm | 130 NSURL *URL = [[NSURL _web_URLWithUserTypedString:URLString] _webkit_canonicalize]; 131 if (URL) { 132 return URL; 143 // do. Without this check, if the URL points to a local directory, Safari will open the 156 - (void)_web_writeURL:(NSURL *)URL andTitle:(NSString *)title types:(NSArray *)types 158 ASSERT(URL); 161 title = [[URL path] lastPathComponent]; 163 title = [URL _web_userVisibleString]; 167 [URL writeToPasteboard:self]; 169 [self setString:[URL _web_originalDataAsString] forType:WebURLPboardType]; [all …]
|
/external/libxslt/libxslt/ |
D | security.c | 369 xsltTransformContextPtr ctxt, const xmlChar *URL) { in xsltCheckWrite() argument 374 uri = xmlParseURI((const char *)URL); in xsltCheckWrite() 379 "xsltCheckWrite: out of memory for %s\n", URL); in xsltCheckWrite() 382 uri->path = (char *)xmlStrdup(URL); in xsltCheckWrite() 408 ret = check(sec, ctxt, (const char *)URL); in xsltCheckWrite() 411 "File write for %s refused\n", URL); in xsltCheckWrite() 434 xsltTransformContextPtr ctxt, const xmlChar *URL) { in xsltCheckRead() argument 439 uri = xmlParseURI((const char *)URL); in xsltCheckRead() 443 URL); in xsltCheckRead() 457 "Local file read for %s refused\n", URL); in xsltCheckRead() [all …]
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
D | SecureClassLoaderTest.java | 24 import java.net.URL; 173 URL[] urls = new URL[] { new URL("http://localhost") }; in testSecureClassLoaderClassLoader() 182 URL url = new URL("http://localhost"); in testGetPermissions()
|
/external/libxml2/include/libxml/ |
D | nanohttp.h | 26 xmlNanoHTTPScanProxy (const char *URL); 28 xmlNanoHTTPFetch (const char *URL, 32 xmlNanoHTTPMethod (const char *URL, 39 xmlNanoHTTPMethodRedir (const char *URL, 47 xmlNanoHTTPOpen (const char *URL, 50 xmlNanoHTTPOpenRedir (const char *URL,
|
/external/oauth/core/src/main/java/net/oauth/ |
D | ConsumerProperties.java | 22 import java.net.URL; 39 public static URL getResource(String name, ClassLoader loader) in getResource() 41 URL resource = loader.getResource(name); in getResource() 48 public static Properties getProperties(URL source) throws IOException { in getProperties() 100 URL baseURL = (base == null) ? null : new URL(base); in newConsumer() 123 private String getURL(URL base, String name) throws MalformedURLException { in getURL() 126 url = (new URL(base, url)).toExternalForm(); in getURL()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
D | HttpsURLConnectionTest.java | 35 import java.net.URL; 141 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testHttpsConnection() 181 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testHttpsPersistentConnection() 219 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testHttpsConnection_Not_Found_Response() 264 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testSetDefaultSSLSocketFactory() 305 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testSetSSLSocketFactory() 343 URL url = new URL("https://localhost:55555"); in testUnconnectedStateParameters() 393 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testSetHostnameVerifier() 435 URL url = new URL("https://localhost:" + ss.getLocalPort()); in test_doOutput() 471 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testPersistence_doOutput() [all …]
|
/external/webkit/Source/WebKit/win/Interfaces/ |
D | IWebIconDatabase.idl | 74 @param URL 76 - (NSImage *)iconForURL:(NSString *)URL withSize:(NSSize)size; 80 @discussion Returns an icon for a web site URL from memory or disk. nil if none is found. 81 Usually called by a UI element to determine if a site URL has an associated icon. 83 @param URL 86 - (NSImage *)iconForURL:(NSString *)URL withSize:(NSSize)size cache:(BOOL)cache; 90 … @discussion Returns an icon URL for a web site URL from memory or disk. nil if none is found. 91 @param URL 92 - (NSString *)iconURLForURL:(NSString *)URL; 106 @param URL [all …]
|
/external/libxml2/ |
D | xinclude.c | 419 xmlXIncludeParseFile(xmlXIncludeCtxtPtr ctxt, const char *URL) { in xmlXIncludeParseFile() argument 450 inputStream = xmlLoadExternalEntity(URL, NULL, pctxt); in xmlXIncludeParseFile() 459 pctxt->directory = xmlParserGetDirectory(URL); in xmlXIncludeParseFile() 490 xmlChar *URL; in xmlXIncludeAddNode() local 541 URI = xmlBuildURI(href, ctxt->doc->URL); in xmlXIncludeAddNode() 604 URL = xmlSaveUri(uri); in xmlXIncludeAddNode() 607 if (URL == NULL) { in xmlXIncludeAddNode() 622 URL); in xmlXIncludeAddNode() 633 if (xmlStrEqual(URL, ctxt->urlTab[i])) { in xmlXIncludeAddNode() 635 "detected a recursion in %s\n", URL); in xmlXIncludeAddNode() [all …]
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
D | JarInputStreamTest.java | 22 import java.net.URL; 60 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_ConstructorLjava_io_InputStream() 99 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_getNextJarEntry_Ex() 136 InputStream is = new URL(jarName2).openConnection().getInputStream(); in test_getManifest() 141 is = new URL(jarName).openConnection().getInputStream(); in test_getManifest() 154 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_getNextJarEntry() 167 InputStream is = new URL(intJarName).openConnection() in test_JarInputStream_Integrate_Jar_getNextEntry() 183 InputStream is = new URL(modJarName).openConnection() in test_JarInputStream_Modified_Class_getNextEntry() 210 InputStream is = new URL(modJarName).openConnection() in test_JarInputStream_Modified_Manifest_MainAttributes_getNextEntry() 231 InputStream is = new URL(modJarName).openConnection() in test_JarInputStream_Modified_Manifest_EntryAttributes_getNextEntry() [all …]
|
/external/chromium/googleurl/ |
D | README.txt | 2 The Google URL Parsing Library 5 This is the Google URL Parsing Library which parses and canonicalizes URLs. 12 server programs in mind, so unlike most implementations of URL parsing 35 An example implementation of a URL object that uses this library is provided 60 "Standard URL": A URL with an "authority", which is a hostname and optionally 63 "File URL": A URL that references a file on disk. There are special rules for 64 this type of URL. Note that it may have a hostname! "localhost" is allowed, 67 "Path URL": This is everything else. There is no standard on how to treat these 70 URL includes "javascript", "data", and even "mailto" (although "mailto" 85 an input string, parse it into the most likely form of a URL. [all …]
|