/libcore/luni/src/main/java/java/net/ |
D | URLStreamHandler.java | 41 protected abstract URLConnection openConnection(URL u) throws IOException; in openConnection() argument 61 protected URLConnection openConnection(URL u, Proxy proxy) throws IOException { in openConnection() argument 85 protected void parseURL(URL u, String str, int start, int end) { in parseURL() argument 93 if (this != u.strmHandler) { in parseURL() 106 String host = u.getHost(); in parseURL() 107 int port = u.getPort(); in parseURL() 108 String ref = u.getRef(); in parseURL() 109 String file = u.getPath(); in parseURL() 110 String query = u.getQuery(); in parseURL() 111 String authority = u.getAuthority(); in parseURL() [all …]
|
D | URLClassLoader.java | 738 URL u = codesource.getLocation(); in getPermissions() local 739 if (u.getProtocol().equals("jar")) { in getPermissions() 742 u = ((JarURLConnection) u.openConnection()).getJarFileURL(); in getPermissions() 748 if (u.getProtocol().equals("file")) { in getPermissions() 749 String path = u.getFile(); in getPermissions() 750 String host = u.getHost(); in getPermissions() 758 if (isDirectory(u)) { in getPermissions() 764 String host = u.getHost(); in getPermissions()
|
D | URLConnection.java | 1086 public Object getContent(URLConnection u) throws IOException { in getContent() argument 1087 return u.getInputStream(); in getContent()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLStreamHandlerTest.java | 172 public InetAddress getHostAddress(URL u) { in getHostAddress() argument 173 return super.getHostAddress(u); in getHostAddress() 176 public int hashCode(URL u) { in hashCode() argument 177 return super.hashCode(u); in hashCode() 184 public URLConnection openConnection(URL u, Proxy p) throws IOException { in openConnection() argument 185 return super.openConnection(u, p); in openConnection() 188 public void parseURL(URL u, String spec, int start, int limit) { in parseURL() argument 189 super.parseURL(u, spec, start, limit); in parseURL() 196 public void setURL(URL u, in setURL() argument 202 super.setURL(u, protocol, host, port, file, ref); in setURL() [all …]
|
D | OldURLTest.java | 267 u = null; in testURLURLString() 268 u1 = new URL(u, "somefile.java"); in testURLURLString() 277 u = new URL(gamelanNetwork, in testURLURLString() 279 assertTrue("someFancyNewProt".equalsIgnoreCase(u.getProtocol())); in testURLURLString() 441 u = sampleFile.toURL(); in testOpenConnection() 442 u.openConnection(); in testOpenConnection() 444 is = (InputStream) u.getContent(new Class[] { Object.class }); in testOpenConnection() 447 assertTrue("Incorrect content " + u in testOpenConnection() 452 URL u = new URL("https://a.xy.com/index.html"); in testOpenConnection() local 453 URLConnection conn = u.openConnection(); in testOpenConnection() [all …]
|
D | OldJarURLConnectionTest.java | 58 URL u = createContent("lf.jar", "swt.dll"); in test_getAttributes() local 59 juc = (JarURLConnection) u.openConnection(); in test_getAttributes() 75 URL u = createContent("TestCodeSigners.jar", "Test.class"); in test_getCertificates() local 77 juc = (JarURLConnection) u.openConnection(); in test_getCertificates() 100 URL u = createContent("lf.jar", "swt.dll"); in test_getManifest() local 102 juc = (JarURLConnection) u.openConnection(); in test_getManifest() 120 URL u = createContent("lf.jar", "plus.bmp"); in test_getEntryName() local 122 juc = (JarURLConnection) u.openConnection(); in test_getEntryName() 126 u = createContent("lf.jar", ""); in test_getEntryName() 128 juc = (JarURLConnection) u.openConnection(); in test_getEntryName() [all …]
|
D | OldURLClassLoaderTest.java | 74 URL[] u = new URL[0]; in test_Constructor$Ljava_net_URL() local 75 ucl = new URLClassLoader(u); in test_Constructor$Ljava_net_URL() 152 URL[] u = new URL[0]; in test_addURLLjava_net_URL() local 158 TestURLClassLoader tucl = new TestURLClassLoader(u); in test_addURLLjava_net_URL() 190 URL[] u = new URL[0]; in test_definePackage() local 191 TestURLClassLoader tucl = new TestURLClassLoader(u); in test_definePackage()
|
D | OldURLStreamHandlerFactoryTest.java | 123 protected URLConnection openConnection(URL u) throws IOException { in openConnection() argument
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicBoolean.java | 71 int u = update ? 1 : 0; in compareAndSet() local 72 return unsafe.compareAndSwapInt(this, valueOffset, e, u); in compareAndSet() 89 int u = update ? 1 : 0; in weakCompareAndSet() local 90 return unsafe.compareAndSwapInt(this, valueOffset, e, u); in weakCompareAndSet()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 51 public long convert(long d, TimeUnit u) { return u.toNanos(d); } in convert() argument 62 public long convert(long d, TimeUnit u) { return u.toMicros(d); } in convert() argument 73 public long convert(long d, TimeUnit u) { return u.toMillis(d); } in convert() argument 84 public long convert(long d, TimeUnit u) { return u.toSeconds(d); } in convert() argument 95 public long convert(long d, TimeUnit u) { return u.toMinutes(d); } in convert() argument 106 public long convert(long d, TimeUnit u) { return u.toHours(d); } in convert() argument 117 public long convert(long d, TimeUnit u) { return u.toDays(d); } in convert() argument
|
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/ftp/ |
D | Handler.java | 31 protected URLConnection openConnection(URL u) throws IOException { in openConnection() argument 32 return new FtpURLConnection(u); in openConnection()
|
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
D | Handler.java | 44 protected URLConnection openConnection(URL u) throws IOException { in openConnection() argument 45 return new HttpURLConnectionImpl(u, getDefaultPort()); in openConnection()
|
/libcore/luni/src/main/java/org/apache/xml/utils/ |
D | AttList.java | 228 String u=a.getNamespaceURI(); in getIndex() local 229 if( (u==null ? uri==null : u.equals(uri)) in getIndex()
|
/libcore/luni/src/main/java/org/apache/xml/serializer/utils/ |
D | AttList.java | 237 String u=a.getNamespaceURI(); in getIndex() local 238 if( (u==null ? uri==null : u.equals(uri)) in getIndex()
|
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/file/ |
D | Handler.java | 97 protected void parseURL(URL u, String str, int start, int end) { in parseURL() argument 105 super.parseURL(u, parseString, 0, parseString.length()); in parseURL()
|
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/ |
D | Handler.java | 42 protected URLConnection openConnection(URL u) throws IOException { in openConnection() argument 43 return new JarURLConnectionImpl(u); in openConnection()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/test_protocol/ |
D | Handler.java | 26 protected URLConnection openConnection(URL u) throws IOException { in openConnection() argument
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
D | ClassLoaderTest.java | 169 java.net.URL u = ClassLoader.getSystemClassLoader().getResource("hyts_Foo.c"); in test_getResourceLjava_lang_String() local 170 assertNotNull("Unable to find resource", u); in test_getResourceLjava_lang_String() 173 is = u.openStream(); in test_getResourceLjava_lang_String()
|
/libcore/support/src/test/java/tests/resources/ |
D | hyts_PropertiesTest.properties | 17 u
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 126 MockURLConnection u = new MockURLConnection(new URL( in test_addRequestProperty() local 131 u.addRequestProperty(null, "someValue"); in test_addRequestProperty() 137 u.connect(); in test_addRequestProperty() 141 u.addRequestProperty(null, "someValue"); in test_addRequestProperty() 161 MockURLConnection u = new MockURLConnection(new URL( in test_setRequestProperty() local 164 u.setRequestProperty(null, "someValue"); in test_setRequestProperty() 171 …u.setRequestProperty("user-agent", "Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.5) Geck… in test_setRequestProperty() 176 u.connect(); in test_setRequestProperty() 181 u.setRequestProperty(null, "someValue"); in test_setRequestProperty() 200 MockURLConnection u = new MockURLConnection(new URL( in test_setUseCachesZ() local [all …]
|
D | ContentHandlerFactoryTest.java | 154 public Object getContent(URLConnection u) { in getContent() argument
|
/libcore/luni/src/main/java/java/util/logging/ |
D | logging.properties | 64 #java.util.logging.FileHandler.pattern=%h/java%u.log
|
/libcore/luni/src/main/files/cacerts/ |
D | 3e7271e8.0 | 79 u/8j72gZyxKTJ1wDLW8w0B62GqzeWvfRqqgnpv55gcR5mTNXuhKwqeBCbJPKVt7+
|
D | 111e6273.0 | 83 ot+3i9DAgBkcRcAtjOj4LaR0VknFBbVPFd5uRHg5h6h+u/N5GJG79G+dwfCMNYxd
|
D | 119afc2e.0 | 92 CfP+JmeaUOTDBS8rNXiRTHyoERF5TElZrMj3hWVcRrs7EKACr81Ptcw2Kuxd/u+g
|