Home
last modified time | relevance | path

Searched refs:URI (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/external/v8/test/webkit/fast/js/kde/
Dencode_decode_uri-expected.txt35 PASS encodeURI(String.fromCharCode(56320)) threw exception URIError: URI malformed.
36 PASS encodeURI(String.fromCharCode(57343)) threw exception URIError: URI malformed.
41 PASS encodeURI(String.fromCharCode(55296) + String.fromCharCode(0)) threw exception URIError: URI m…
42 …I(String.fromCharCode(55296) + String.fromCharCode(55295)) threw exception URIError: URI malformed.
43 …I(String.fromCharCode(55296) + String.fromCharCode(55296)) threw exception URIError: URI malformed.
44 …I(String.fromCharCode(55296) + String.fromCharCode(56319)) threw exception URIError: URI malformed.
45 …I(String.fromCharCode(55296) + String.fromCharCode(57344)) threw exception URIError: URI malformed.
46 …I(String.fromCharCode(55296) + String.fromCharCode(57344)) threw exception URIError: URI malformed.
47 …I(String.fromCharCode(55296) + String.fromCharCode(65533)) threw exception URIError: URI malformed.
48 …I(String.fromCharCode(55296) + String.fromCharCode(65534)) threw exception URIError: URI malformed.
[all …]
/external/apache-http/src/org/apache/http/client/utils/
DURIUtils.java32 import java.net.URI;
78 public static URI createURI( in createURI()
112 return new URI(buffer.toString()); in createURI()
131 public static URI rewriteURI( in rewriteURI()
132 final URI uri, in rewriteURI()
162 public static URI rewriteURI( in rewriteURI()
163 final URI uri, in rewriteURI()
176 public static URI resolve(final URI baseURI, final String reference) { in resolve()
177 return URIUtils.resolve(baseURI, URI.create(reference)); in resolve()
188 public static URI resolve(final URI baseURI, URI reference){ in resolve()
[all …]
/external/nanohttpd/core/src/test/java/fi/iki/elonen/
DHttpGetRequestTest.java49 invokeServer("GET " + HttpServerTest.URI + "?foo&bar= HTTP/1.1"); in testDecodingFieldWithEmptyValueAndFieldWithMissingValueGiveDifferentResults()
59 invokeServer("GET " + HttpServerTest.URI + "?foo=bar&foo=baz&zot&zim= HTTP/1.1"); in testDecodingMixtureOfParameters()
73 invokeServer("GET " + HttpServerTest.URI + "?foo=bar&foo=baz&zot&zim= HTTP/1.1"); in testDecodingParametersFromParameterMap()
82 invokeServer("GET " + HttpServerTest.URI + "?foo=bar&baz=zot HTTP/1.1"); in testDecodingParametersWithSingleValue()
94 invokeServer("GET " + HttpServerTest.URI + "?foo&baz=zot HTTP/1.1"); in testDecodingParametersWithSingleValueAndMissingValue()
105 invokeServer("GET " + HttpServerTest.URI + "?foo=bar&foo=baz HTTP/1.1"); in testDecodingSingleFieldRepeated()
114 invokeServer("GET " + HttpServerTest.URI + " HTTP/1.1"); in testEmptyHeadersSuppliedToServeMethodFromSimpleWorkingGetRequest()
123 … ByteArrayOutputStream outputStream = invokeServer("GET " + HttpServerTest.URI + " HTTP/1.1"); in testFullyQualifiedWorkingGetRequest()
139 invokeServer("GET " + HttpServerTest.URI + "?foo=bar&baz=zot HTTP/1.1"); in testMultipleGetParameters()
146 invokeServer("GET " + HttpServerTest.URI + "?foo=&baz=zot HTTP/1.1"); in testMultipleGetParametersWithMissingValue()
[all …]
DHttpHeadRequestTest.java56 invokeServer("HEAD " + HttpServerTest.URI + "?foo&bar= HTTP/1.1"); in testDecodingFieldWithEmptyValueAndFieldWithMissingValueGiveDifferentResults()
66 invokeServer("HEAD " + HttpServerTest.URI + "?foo=bar&foo=baz&zot&zim= HTTP/1.1"); in testDecodingMixtureOfParameters()
80 invokeServer("HEAD " + HttpServerTest.URI + "?foo=bar&foo=baz&zot&zim= HTTP/1.1"); in testDecodingParametersFromParameterMap()
89 invokeServer("HEAD " + HttpServerTest.URI + "?foo=bar&baz=zot HTTP/1.1"); in testDecodingParametersWithSingleValue()
101 invokeServer("HEAD " + HttpServerTest.URI + "?foo&baz=zot HTTP/1.1"); in testDecodingParametersWithSingleValueAndMissingValue()
112 invokeServer("HEAD " + HttpServerTest.URI + "?foo=bar&foo=baz HTTP/1.1"); in testDecodingSingleFieldRepeated()
121 invokeServer("HEAD " + HttpServerTest.URI + " HTTP/1.1"); in testEmptyHeadersSuppliedToServeMethodFromSimpleWorkingGetRequest()
130 … ByteArrayOutputStream outputStream = invokeServer("HEAD " + HttpServerTest.URI + " HTTP/1.1"); in testHeadRequestDoesntSendBackResponseBody()
146 invokeServer("HEAD " + HttpServerTest.URI + "?foo=bar&baz=zot HTTP/1.1"); in testMultipleGetParameters()
153 invokeServer("HEAD " + HttpServerTest.URI + "?foo=&baz=zot HTTP/1.1"); in testMultipleGetParametersWithMissingValue()
[all …]
DHttpDeleteRequestTest.java47 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_EmptyString()
65 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_NullInputStream()
83 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_NullString()
101 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatSendsBackResponseBody_Accepted()
120 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatSendsBackResponseBody_Success()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DJarFinder.java30 import java.net.URI;
65 Map<URI, ClassLoader> map = Maps.newLinkedHashMap(); in findJarFiles()
69 for (Map.Entry<URI, ClassLoader> entry : map.entrySet()) { in findJarFiles()
75 @VisibleForTesting static ImmutableMap<URI, ClassLoader> getClassPathEntries( in getClassPathEntries()
77 Map<URI, ClassLoader> entries = Maps.newLinkedHashMap(); in getClassPathEntries()
86 URI uri; in getClassPathEntries()
102 private final Set<URI> scannedUris = Sets.newHashSet();
108 void scan(URI uri, ClassLoader classloader) throws IOException { in scan()
151 for (URI uri : getClassPathFromManifest(file, jarFile.getManifest())) { in scanJar()
168 @VisibleForTesting static ImmutableSet<URI> getClassPathFromManifest( in getClassPathFromManifest()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DContentProviderOperationTest.java22 final Uri URI = Uri.parse("content://com.xtremelabs.robolectric"); in newInsert() local
23 Builder builder = ContentProviderOperation.newInsert(URI); in newInsert()
28 assertThat(operation.getUri(), equalTo(URI)); in newInsert()
39 final Uri URI = Uri.parse("content://com.xtremelabs.robolectric"); in newInsertWithValueBackReference() local
40 Builder builder = ContentProviderOperation.newInsert(URI); in newInsertWithValueBackReference()
51 final Uri URI = Uri.parse("content://com.xtremelabs.robolectric"); in newUpdate() local
52 Builder builder = ContentProviderOperation.newUpdate(URI); in newUpdate()
56 assertThat(operation.getUri(), equalTo(URI)); in newUpdate()
65 final Uri URI = Uri.parse("content://com.xtremelabs.robolectric"); in newDelete() local
66 Builder builder = ContentProviderOperation.newDelete(URI); in newDelete()
[all …]
DUriMatcherTest.java24 Uri URI; field in UriMatcherTest
27 URI = Uri.parse("content://" + AUTH); in getMatcher()
67 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar")), is(1)); in canMatch()
70 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar/1")), is(2)); in canMatch()
73 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar")), is(1)); in canMatch()
74 assertThat(matcher.match(Uri.withAppendedPath(URI, "cat")), is(3)); in canMatch()
77 assertThat(matcher.match(Uri.withAppendedPath(URI, "transport/land/45/type")), is(4)); in canMatch()
82 assertThat(matcher.match(Uri.withAppendedPath(URI, "cat")), is(NO_MATCH)); in returnsRootCodeForIfNoMatch()
83 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar")), is(NO_MATCH)); in returnsRootCodeForIfNoMatch()
84 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar/cat")), is(NO_MATCH)); in returnsRootCodeForIfNoMatch()
DContentUrisTest.java15 Uri URI; field in ContentUrisTest
19 URI = Uri.parse("content://foo.com"); in setUp()
23 assertThat(ContentUris.withAppendedId(URI, 1), in canAppendId()
33 assertThat(ContentUris.parseId(Uri.withAppendedPath(URI, "1")), is(1L)); in canParseId()
34 assertThat(ContentUris.parseId(URI), is(-1L)); in canParseId()
39 ContentUris.parseId(Uri.withAppendedPath(URI, "bar")); in parseIdThrowsNumberFormatException()
/external/apache-http/src/org/apache/http/impl/client/
DRedirectLocations.java34 import java.net.URI;
48 private final Set<URI> uris;
52 this.uris = new HashSet<URI>(); in RedirectLocations()
58 public boolean contains(final URI uri) { in contains()
65 public void add(final URI uri) { in add()
72 public boolean remove(final URI uri) { in remove()
DDefaultRedirectHandler.java34 import java.net.URI;
98 public URI getLocationURI( in getLocationURI()
117 URI uri; in getLocationURI()
119 uri = new URI(location); in getLocationURI()
144 URI requestURI = new URI(request.getRequestLine().getUri()); in getLocationURI()
145 URI absoluteRequestURI = URIUtils.rewriteURI(requestURI, target, true); in getLocationURI()
162 URI redirectURI; in getLocationURI()
/external/libxml2/doc/examples/
Dio1.c35 sqlMatch(const char * URI) { in sqlMatch() argument
36 if ((URI != NULL) && (!strncmp(URI, "sql:", 4))) in sqlMatch()
51 sqlOpen(const char * URI) { in sqlOpen() argument
52 if ((URI == NULL) || (strncmp(URI, "sql:", 4))) in sqlOpen()
/external/guava/guava/src/com/google/common/reflect/
DClassPath.java36 import java.net.URI;
91 for (Map.Entry<URI, ClassLoader> entry : getClassPathEntries(classloader).entrySet()) { in from()
278 @VisibleForTesting static ImmutableMap<URI, ClassLoader> getClassPathEntries( in getClassPathEntries()
280 LinkedHashMap<URI, ClassLoader> entries = Maps.newLinkedHashMap(); in getClassPathEntries()
289 URI uri; in getClassPathEntries()
307 private final Set<URI> scannedUris = Sets.newHashSet();
313 void scan(URI uri, ClassLoader classloader) throws IOException { in scan()
375 for (URI uri : getClassPathFromManifest(file, jarFile.getManifest())) { in scanJar()
399 @VisibleForTesting static ImmutableSet<URI> getClassPathFromManifest( in getClassPathFromManifest()
404 ImmutableSet.Builder<URI> builder = ImmutableSet.builder(); in getClassPathFromManifest()
[all …]
/external/jetty/src/java/org/eclipse/jetty/webapp/
DJarScanner.java23 import java.net.URI;
52 public abstract void processEntry (URI jarUri, JarEntry entry); in processEntry()
81 public void scan (Pattern pattern, URI[] uris, boolean isNullInclusive) in scan()
129 URI[] uris = new URI[urls.length]; in scan()
144 public void matched (URI uri) in matched()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DRecordingProxySelector.java23 import java.net.URI;
31 final List<URI> requestedUris = new ArrayList<>();
35 @Override public List<Proxy> select(URI uri) { in select()
40 public void assertRequests(URI... expectedUris) { in assertRequests()
45 @Override public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed()
/external/nist-sip/java/gov/nist/javax/sip/address/
DGenericURI.java29 import javax.sip.address.URI;
39 public class GenericURI extends NetObject implements javax.sip.address.URI {
121 else if (that instanceof URI) { in equals()
122 final URI o = (URI) that; in equals()
/external/jcommander/src/main/java/com/beust/jcommander/converters/
DURIConverter.java23 import java.net.URI;
31 public class URIConverter extends BaseConverter<URI> {
37 public URI convert(String value) { in convert()
39 return new URI(value); in convert()
/external/jetty/src/java/org/eclipse/jetty/util/
DPatternMatcher.java21 import java.net.URI;
28 public abstract void matched (URI uri) throws Exception; in matched()
58 public void match (Pattern pattern, URI[] uris, boolean isNullInclusive) in match()
89 public void matchPatterns (Pattern pattern, URI[] uris, boolean isNullInclusive) in matchPatterns()
94 URI uri = uris[i]; in matchPatterns()
/external/nist-sip/java/gov/nist/javax/sip/header/
DAlertInfo.java87 public void setAlertInfo(URI uri) { in setAlertInfo()
103 public URI getAlertInfo() { in getAlertInfo()
104 URI alertInfoUri = null; in getAlertInfo()
107 alertInfoUri = (URI) this.uri; in getAlertInfo()
110 alertInfoUri = (URI) new GenericURI(string); in getAlertInfo()
/external/apache-harmony/security/src/test/impl/java.injected/java/security/
DURIParameterTest.java19 import java.net.URI;
29 private URI uri;
50 URI u = uriParameter.getURI(); in testGetURI()
60 uri = new URI("http://www.test.com"); in setUp()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/options/
DPropertyOptions.java27 public static final int URI = 0x00000002; field in PropertyOptions
79 return getOption(URI); in isURI()
89 setOption(URI, value); in setURI()
372 URI | in getValidOptions()
393 case URI : return "URI"; in defineOptionName()
423 else if ((options & URI) > 0 && (options & (ARRAY | STRUCT)) > 0) in assertConsistency()
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/
DLwjgl3Net.java21 import java.net.URI;
66 public boolean openURI (String URI) { in openURI() argument
69 FileManager.openURL(URI); in openURI()
76 Desktop.getDesktop().browse(new URI(URI)); in openURI()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/
DAbstractResponseCache.java22 import java.net.URI;
30 @Override public CacheResponse get(URI uri, String requestMethod, in get()
35 @Override public CacheRequest put(URI uri, URLConnection connection) throws IOException { in put()
39 public static URI toUri(URL serverUrl) { in toUri()
/external/apache-harmony/luni/src/test/impl/common/org/apache/harmony/luni/tests/java/net/
DURLClassLoaderImplTest.java20 import java.net.URI;
60 final URI e = new URI("jar:" + base.toExternalForm() + "!/swt.dll"); in test_Constructor$Ljava_net_URLLjava_lang_ClassLoaderLjava_net_URLStreamHandlerFactory()
61 final URI a = res.toURI(); in test_Constructor$Ljava_net_URLLjava_lang_ClassLoaderLjava_net_URLStreamHandlerFactory()
/external/libxml2/
Dcheck-xinclude-test-suite.py77 URI = basedir + "/" + uri
79 URI = uri
80 if os.access(URI, os.R_OK) == 0:
81 print "Test %s missing: base %s uri %s" % (URI, basedir, uri)
109 doc = libxml2.parseFile(URI)
123 print "Failed to parse %s" % (URI)
156 log.write(" File: %s\n" % (URI))

12345678910>>...12