Home
last modified time | relevance | path

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

12345678910

/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.java14 ByteArrayOutputStream outputStream = invokeServer("GET " + URI + " HTTP/1.1"); in testFullyQualifiedWorkingGetRequest()
32 ByteArrayOutputStream outputStream = invokeServer("GET " + URI + " HTTP/1.1"); in testOutputOfServeSentBackToClient()
49 invokeServer("GET " + URI + " HTTP/1.1"); in testEmptyHeadersSuppliedToServeMethodFromSimpleWorkingGetRequest()
59 invokeServer("GET " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\n"); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
62 assertEquals(URI, testServer.uri); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
69 invokeServer("GET " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\nAccept: " + accept); in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
76 invokeServer("GET " + URI + "?foo=bar HTTP/1.1"); in testSingleGetParameter()
82 invokeServer("GET " + URI + "?foo HTTP/1.1"); in testSingleGetParameterWithNoValue()
88 invokeServer("GET " + URI + "?foo=bar&baz=zot HTTP/1.1"); in testMultipleGetParameters()
95 invokeServer("GET " + URI + "?foo=&baz=zot HTTP/1.1"); in testMultipleGetParametersWithMissingValue()
[all …]
DHttpHeadRequestTest.java20 ByteArrayOutputStream outputStream = invokeServer("HEAD " + URI + " HTTP/1.1"); in testHeadRequestDoesntSendBackResponseBody()
36 invokeServer("HEAD " + URI + " HTTP/1.1"); in testEmptyHeadersSuppliedToServeMethodFromSimpleWorkingGetRequest()
46 invokeServer("HEAD " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\n"); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
49 assertEquals(URI, testServer.uri); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
56 invokeServer("HEAD " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\nAccept: " + accept); in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
63 invokeServer("HEAD " + URI + "?foo=bar HTTP/1.1"); in testSingleGetParameter()
69 invokeServer("HEAD " + URI + "?foo HTTP/1.1"); in testSingleGetParameterWithNoValue()
75 invokeServer("HEAD " + URI + "?foo=bar&baz=zot HTTP/1.1"); in testMultipleGetParameters()
82 invokeServer("HEAD " + URI + "?foo=&baz=zot HTTP/1.1"); in testMultipleGetParametersWithMissingValue()
89 invokeServer("HEAD " + URI + "?foo=&baz=zot HTTP/1.1\nAccept: text/html"); in testMultipleGetParametersWithMissingValueAndRequestHeaders()
[all …]
DHttpDeleteRequestTest.java17 ByteArrayOutputStream outputStream = invokeServer("DELETE " + URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_EmptyString()
35 ByteArrayOutputStream outputStream = invokeServer("DELETE " + URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_NullString()
53 ByteArrayOutputStream outputStream = invokeServer("DELETE " + URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_NullInputStream()
71 ByteArrayOutputStream outputStream = invokeServer("DELETE " + URI + " HTTP/1.1"); in testDeleteRequestThatSendsBackResponseBody_Success()
90 ByteArrayOutputStream outputStream = invokeServer("DELETE " + URI + " HTTP/1.1"); in testDeleteRequestThatSendsBackResponseBody_Accepted()
/external/robolectric/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()
DRequestWrapper.java34 import java.net.URI;
69 private URI uri;
89 this.uri = new URI(requestLine.getUri()); in RequestWrapper()
130 public URI getURI() { in getURI()
134 public void setURI(final URI uri) { in setURI()
/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()
DAddressFactoryImpl.java76 javax.sip.address.URI uri) { in createAddress()
161 public javax.sip.address.Address createAddress(javax.sip.address.URI uri) { in createAddress()
207 public javax.sip.address.URI createURI(String uri) throws ParseException { in createURI()
216 return (javax.sip.address.URI) urlParser.sipURL(true); in createURI()
218 return (javax.sip.address.URI) urlParser.sipURL(true); in createURI()
220 return (javax.sip.address.URI) urlParser.telURL(true); in createURI()
/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/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/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))
/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/nist-sip/java/javax/sip/header/
DWWWAuthenticateHeader.java3 import javax.sip.address.URI;
11 URI getURI(); in getURI()
16 void setURI(URI uri); in setURI()

12345678910