/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLClassLoaderTest.java | 53 URL [] urls = {new URL("http://foo.com/foo"), in test_Constructor$Ljava_net_URL() local 57 URLClassLoader ucl1 = new URLClassLoader(urls); in test_Constructor$Ljava_net_URL() 58 assertTrue(urls.length == ucl1.getURLs().length); in test_Constructor$Ljava_net_URL() 100 URL[] urls = new URL[2]; in test_findResourcesLjava_lang_String() local 101 urls[0] = new URL("file://" + tmpDir.getAbsolutePath() + "/"); in test_findResourcesLjava_lang_String() 102 urls[1] = new URL("file://" + subDir.getAbsolutePath() + "/"); in test_findResourcesLjava_lang_String() 104 ucl = new URLClassLoader(urls); in test_findResourcesLjava_lang_String() 120 URL [] urls = {new URL("http://foo.com/foo"), in test_addURLLjava_net_URL() local 126 for(int i = 0; i < urls.length;) { in test_addURLLjava_net_URL() 127 tucl.addURL(urls[i]); in test_addURLLjava_net_URL() [all …]
|
D | OldURLStreamHandlerTest.java | 155 URL [] urls = { new URL("ftp://test_url/test?a=b&c=%D0+%D1"), in test_toExternalForm() local 159 for(URL url : urls) { in test_toExternalForm()
|
D | OldJarURLConnectionTest.java | 322 URL [] urls = {new URL("file:file.jar"), in test_Constructor() local 325 for(URL url : urls) { in test_Constructor()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | URLClassLoader.java | 33 public URLClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent) { in URLClassLoader() argument 38 java.net.URL[] urls, in URLClassLoader() argument 44 public URLClassLoader(java.net.URL[] urls) { in URLClassLoader() argument 48 URLClassLoader(java.net.URL[] urls, java.security.AccessControlContext acc) { in URLClassLoader() argument 53 java.net.URL[] urls, in URLClassLoader() argument 120 java.net.URL[] urls, java.lang.ClassLoader parent) { in newInstance() argument 124 public static java.net.URLClassLoader newInstance(java.net.URL[] urls) { in newInstance() argument
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | URLClassPath.java | 93 Stack<URL> urls = new Stack<URL>(); field in URLClassPath 124 public URLClassPath(URL[] urls, in URLClassPath() argument 127 for (int i = 0; i < urls.length; i++) { in URLClassPath() 128 path.add(urls[i]); in URLClassPath() 130 push(urls); in URLClassPath() 144 public URLClassPath(URL[] urls) { in URLClassPath() argument 145 this(urls, null, null); in URLClassPath() 148 public URLClassPath(URL[] urls, AccessControlContext acc) { in URLClassPath() argument 149 this(urls, null, acc); in URLClassPath() 178 synchronized (urls) { in addURL() [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLClassLoader.java | 99 public URLClassLoader(URL[] urls, ClassLoader parent) { in URLClassLoader() argument 107 ucp = new URLClassPath(urls, acc); in URLClassLoader() 110 URLClassLoader(URL[] urls, ClassLoader parent, in URLClassLoader() argument 119 ucp = new URLClassPath(urls, acc); in URLClassLoader() 143 public URLClassLoader(URL[] urls) { in URLClassLoader() argument 151 ucp = new URLClassPath(urls, acc); in URLClassLoader() 154 URLClassLoader(URL[] urls, AccessControlContext acc) { in URLClassLoader() argument 162 ucp = new URLClassPath(urls, acc); in URLClassLoader() 186 public URLClassLoader(URL[] urls, ClassLoader parent, in URLClassLoader() argument 195 ucp = new URLClassPath(urls, factory, acc); in URLClassLoader() [all …]
|
/libcore/luni/src/test/java/tests/java/security/ |
D | SecureClassLoaderTest.java | 170 URL[] urls = new URL[] { new URL("http://localhost") }; in testSecureClassLoaderClassLoader() local 171 URLClassLoader ucl = URLClassLoader.newInstance(urls); in testSecureClassLoaderClassLoader()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | URLClassPath.java | 35 java.net.URL[] urls, in URLClassPath() argument 41 public URLClassPath(java.net.URL[] urls) { in URLClassPath() argument 45 public URLClassPath(java.net.URL[] urls, java.security.AccessControlContext acc) { in URLClassPath() argument 208 @UnsupportedAppUsage java.util.Stack<java.net.URL> urls; field in URLClassPath
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ResourceBundleTest.java | 130 URL[] urls = new URL[urlVec.size()]; in test_getBundleLjava_lang_StringLjava_util_LocaleLjava_lang_ClassLoader() local 132 urls[i] = urlVec.elementAt(i); in test_getBundleLjava_lang_StringLjava_util_LocaleLjava_lang_ClassLoader() 133 URLClassLoader loader = new URLClassLoader(urls, null); in test_getBundleLjava_lang_StringLjava_util_LocaleLjava_lang_ClassLoader()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Package.java | 587 URL url = urls.get(fn); in defineSystemPackage() 596 urls.put(fn, url); in defineSystemPackage() 636 private static Map<String, URL> urls = new HashMap<>(10);
|