Home
last modified time | relevance | path

Searched refs:u (Results 1 – 25 of 30) sorted by relevance

12

/libcore/luni/src/main/java/java/net/
DURLStreamHandler.java41 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 …]
DURLClassLoader.java738 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()
DURLConnection.java1086 public Object getContent(URLConnection u) throws IOException { in getContent() argument
1087 return u.getInputStream(); in getContent()
/libcore/luni/src/test/java/libcore/java/net/
DOldURLStreamHandlerTest.java172 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 …]
DOldURLTest.java267 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 …]
DOldJarURLConnectionTest.java58 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 …]
DOldURLClassLoaderTest.java74 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()
DOldURLStreamHandlerFactoryTest.java123 protected URLConnection openConnection(URL u) throws IOException { in openConnection() argument
/libcore/luni/src/main/java/java/util/concurrent/atomic/
DAtomicBoolean.java71 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/
DTimeUnit.java51 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/
DHandler.java31 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/
DHandler.java44 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/
DAttList.java228 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/
DAttList.java237 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/
DHandler.java97 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/
DHandler.java42 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/
DHandler.java26 protected URLConnection openConnection(URL u) throws IOException { in openConnection() argument
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DClassLoaderTest.java169 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/
Dhyts_PropertiesTest.properties17 u
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java126 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()
171u.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 …]
DContentHandlerFactoryTest.java154 public Object getContent(URLConnection u) { in getContent() argument
/libcore/luni/src/main/java/java/util/logging/
Dlogging.properties64 #java.util.logging.FileHandler.pattern=%h/java%u.log
/libcore/luni/src/main/files/cacerts/
D3e7271e8.079 u/8j72gZyxKTJ1wDLW8w0B62GqzeWvfRqqgnpv55gcR5mTNXuhKwqeBCbJPKVt7+
D111e6273.083 ot+3i9DAgBkcRcAtjOj4LaR0VknFBbVPFd5uRHg5h6h+u/N5GJG79G+dwfCMNYxd
D119afc2e.092 CfP+JmeaUOTDBS8rNXiRTHyoERF5TElZrMj3hWVcRrs7EKACr81Ptcw2Kuxd/u+g

12