Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 23 of 23) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DPaths.java132 String scheme = uri.getScheme(); in get() local
133 if (scheme == null) in get()
137 if (scheme.equalsIgnoreCase("file")) in get()
142 if (provider.getScheme().equalsIgnoreCase(scheme)) { in get()
147 throw new FileSystemNotFoundException("Provider \"" + scheme + "\" not installed"); in get()
DFileSystems.java218 String scheme = uri.getScheme(); in getFileSystem() local
220 if (scheme.equalsIgnoreCase(provider.getScheme())) { in getFileSystem()
224 throw new ProviderNotFoundException("Provider \"" + scheme + "\" not found"); in getFileSystem()
321 String scheme = uri.getScheme(); in newFileSystem() local
325 if (scheme.equalsIgnoreCase(provider.getScheme())) { in newFileSystem()
335 if (scheme.equalsIgnoreCase(provider.getScheme())) { in newFileSystem()
341 throw new ProviderNotFoundException("Provider \"" + scheme + "\" not found"); in newFileSystem()
DPath.java197 String scheme = uri.getScheme(); in of() local
198 if (scheme == null) in of()
202 if (scheme.equalsIgnoreCase("file")) in of()
207 if (provider.getScheme().equalsIgnoreCase(scheme)) { in of()
212 throw new FileSystemNotFoundException("Provider \"" + scheme + "\" not installed"); in of()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTest.java132 public String getResourceURI(String href, String scheme, String contentType) throws in getResourceURI() argument
134 if (scheme == null) { in getResourceURI()
137 if ("file".equals(scheme)) { in getResourceURI()
140 if ("http".equals(scheme)) { in getResourceURI()
154 scheme)); in getResourceURI()
157 public String createTempURI(String scheme) throws DOMTestLoadException { in createTempURI() argument
158 if (scheme == null) { in createTempURI()
161 if ("file".equals(scheme)) { in createTempURI()
184 if ("http".equals(scheme)) { in createTempURI()
197 scheme)); in createTempURI()
DDOMTestInnerClass.java133 public void assertURIEquals(String assertID, String scheme, String path, in assertURIEquals() argument
137 test.assertURIEquals(assertID, scheme, path, host, file, name, query, in assertURIEquals()
DDOMTestCase.java672 String scheme, in assertURIEquals() argument
722 if (scheme != null) { in assertURIEquals()
723 assertEquals(assertID, scheme, actualScheme); in assertURIEquals()
/libcore/luni/src/test/java/libcore/java/net/
DAuthenticatorTest.java89 final String scheme = "scheme"; in testRequestPasswordAuthentication() local
98 addr, port, protocol, prompt, scheme); in testRequestPasswordAuthentication()
109 assertEquals(scheme, auth.getScheme()); in testRequestPasswordAuthentication()
112 host, addr, port, protocol, prompt, scheme); in testRequestPasswordAuthentication()
124 assertEquals(scheme, auth.getScheme()); in testRequestPasswordAuthentication()
134 final String scheme = "scheme"; in testRequestPasswordAuthenticationWithNullAuthenticator() local
138 addr, port, protocol, prompt, scheme)); in testRequestPasswordAuthenticationWithNullAuthenticator()
141 host, addr, port, protocol, prompt, scheme)); in testRequestPasswordAuthenticationWithNullAuthenticator()
/libcore/ojluni/src/main/java/java/net/
DAuthenticator.java165 String scheme) { in requestPasswordAuthentication() argument
184 a.requestingScheme = scheme; in requestPasswordAuthentication()
227 String scheme) { in requestPasswordAuthentication() argument
247 a.requestingScheme = scheme; in requestPasswordAuthentication()
292 String scheme, in requestPasswordAuthentication() argument
314 a.requestingScheme = scheme; in requestPasswordAuthentication()
DURI.java474 private transient String scheme; // null ==> relative URI field in URI
660 public URI(String scheme, in URI() argument
665 String s = toString(scheme, null, in URI()
668 checkPath(s, scheme, path); in URI()
733 public URI(String scheme, in URI() argument
738 String s = toString(scheme, null, in URI()
741 checkPath(s, scheme, path); in URI()
767 public URI(String scheme, String host, String path, String fragment) in URI() argument
770 this(scheme, null, host, -1, path, null, fragment); in URI()
810 public URI(String scheme, String ssp, String fragment) in URI() argument
[all …]
/libcore/ojluni/annotations/hiddenapi/java/net/
DAuthenticator.java50 java.lang.String scheme) { in requestPasswordAuthentication() argument
60 java.lang.String scheme) { in requestPasswordAuthentication() argument
70 java.lang.String scheme, in requestPasswordAuthentication() argument
DURI.java43 java.lang.String scheme, in URI() argument
55 java.lang.String scheme, in URI() argument
65 java.lang.String scheme, in URI() argument
73 public URI(java.lang.String scheme, java.lang.String ssp, java.lang.String fragment) in URI() argument
240 java.lang.String s, java.lang.String scheme, java.lang.String path) in checkPath() argument
271 java.lang.String scheme, in toString() argument
672 private transient java.lang.String scheme; field in URI
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java310 private static URI createURI(String scheme, in createURI() argument
316 String s = toString(scheme, null, in createURI()
319 checkPath(s, scheme, path); in createURI()
323 private static String toString(String scheme, in toString() argument
334 if (scheme != null) { in toString()
335 sb.append(scheme); in toString()
529 private static void checkPath(String s, String scheme, String path) in checkPath() argument
532 if (scheme != null) { in checkPath()
/libcore/luni/src/test/resources/keystore/
DREADME.md4 PKCS#12 KeyStore files, each using a different PKCS#7 encryption scheme for the
35 (The "Encrypted data" scheme is for the outer layer encryption for the
36 whole KeyStore and the "Shrouded Keybag" is the scheme used to encrypt
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixUriUtils.java49 String scheme = uri.getScheme(); in fromUri() local
50 if ((scheme == null) || !scheme.equalsIgnoreCase("file")) in fromUri()
/libcore/ojluni/annotations/hiddenapi/sun/net/www/
DParseUtil.java73 java.lang.String scheme, in createURI() argument
83 java.lang.String scheme, in toString() argument
141 java.lang.String s, java.lang.String scheme, java.lang.String path) in checkPath() argument
/libcore/luni/src/test/java/tests/org/w3c/dom/
DDOMTestCase.java102 public void assertURIEquals(String assertID, String scheme, String path, in assertURIEquals() argument
146 if (scheme != null) { in assertURIEquals()
147 assertEquals(assertID, scheme, actualScheme); in assertURIEquals()
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java120 String scheme = provider.getScheme(); in loadInstalledProviders() local
123 if (!scheme.equalsIgnoreCase("file")) { in loadInstalledProviders()
126 if (p.getScheme().equalsIgnoreCase(scheme)) { in loadInstalledProviders()
/libcore/ojluni/src/test/java/net/Socks/
DSocksServer.java269 int scheme = NO_AUTH; in negociate() local
272 scheme = USER_PASSW; in negociate()
274 out.write(scheme); in negociate()
276 if (scheme == USER_PASSW) in negociate()
/libcore/ojluni/src/main/java/java/io/
DFile.java427 String scheme = uri.getScheme(); in File() local
428 if ((scheme == null) || !scheme.equalsIgnoreCase("file")) in File()
/libcore/tools/docs/crypto/
DREADME1 The tools in this directory are a scheme for autogenerating crypto doc support.
/libcore/ojluni/src/main/resources/java/time/chrono/
Dhijrah-config-Hijrah-umalqura_islamic-umalqura.properties40 # Identifies the type of calendar in the standard calendar ID scheme
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURITest.java400 private void construct1(String scheme, String userinfo, String host, in construct1() argument
403 URI uri = new URI(scheme, userinfo, host, port, path, query, in construct1()
/libcore/benchmarks/src/benchmarks/regression/
DR.java2136 public static final int scheme = 0; field in R