Home
last modified time | relevance | path

Searched refs:uri (Results 1 – 25 of 677) sorted by relevance

12345678910>>...28

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/s3/
Dtest_uri.py35 uri = boto.storage_uri(uri_str, validate=False,
37 self.assertEqual(prov, uri.scheme)
38 self.assertEqual(uri_str, uri.uri)
39 self.assertFalse(hasattr(uri, 'versionless_uri'))
40 self.assertEqual('', uri.bucket_name)
41 self.assertEqual('', uri.object_name)
42 self.assertEqual(None, uri.version_id)
43 self.assertEqual(None, uri.generation)
44 self.assertEqual(uri.names_provider(), True)
45 self.assertEqual(uri.names_container(), True)
[all …]
/external/libxml2/
Duri.c52 static void xmlCleanURI(xmlURIPtr uri);
208 xmlParse3986Scheme(xmlURIPtr uri, const char **str) { in xmlParse3986Scheme() argument
220 if (uri != NULL) { in xmlParse3986Scheme()
221 if (uri->scheme != NULL) xmlFree(uri->scheme); in xmlParse3986Scheme()
222 uri->scheme = STRNDUP(*str, cur - *str); in xmlParse3986Scheme()
244 xmlParse3986Fragment(xmlURIPtr uri, const char **str) in xmlParse3986Fragment() argument
255 ((uri != NULL) && (uri->cleanup & 1) && (IS_UNWISE(cur)))) in xmlParse3986Fragment()
257 if (uri != NULL) { in xmlParse3986Fragment()
258 if (uri->fragment != NULL) in xmlParse3986Fragment()
259 xmlFree(uri->fragment); in xmlParse3986Fragment()
[all …]
DtestURI.c25 xmlURIPtr uri; in handleURI() local
28 uri = xmlCreateURI(); in handleURI()
31 ret = xmlParseURIReference(uri, str); in handleURI()
36 if (uri->scheme) printf("scheme: %s\n", uri->scheme); in handleURI()
37 if (uri->opaque) printf("opaque: %s\n", uri->opaque); in handleURI()
38 if (uri->authority) printf("authority: %s\n", uri->authority); in handleURI()
39 if (uri->server) printf("server: %s\n", uri->server); in handleURI()
40 if (uri->user) printf("user: %s\n", uri->user); in handleURI()
41 if (uri->port != 0) printf("port: %d\n", uri->port); in handleURI()
42 if (uri->path) printf("path: %s\n", uri->path); in handleURI()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
DExtensionNamespacesManager.java210 String uri = Constants.S_EXTENSIONS_JAVA_URL; in setPredefinedNamespaces() local
214 m_predefExtensions.add(new ExtensionNamespaceSupport(uri, handlerClassName, in setPredefinedNamespaces()
215 new Object[]{uri, lang, lib})); in setPredefinedNamespaces()
217 uri = Constants.S_EXTENSIONS_OLD_JAVA_URL; in setPredefinedNamespaces()
218 m_predefExtensions.add(new ExtensionNamespaceSupport(uri, handlerClassName, in setPredefinedNamespaces()
219 new Object[]{uri, lang, lib})); in setPredefinedNamespaces()
221 uri = Constants.S_EXTENSIONS_LOTUSXSL_JAVA_URL; in setPredefinedNamespaces()
222 m_predefExtensions.add(new ExtensionNamespaceSupport(uri, handlerClassName, in setPredefinedNamespaces()
223 new Object[]{uri, lang, lib})); in setPredefinedNamespaces()
225 uri = Constants.S_BUILTIN_EXTENSIONS_URL; in setPredefinedNamespaces()
[all …]
/external/libmicrohttpd/src/examples/
Dmhd2spdy_structures.c28 free_uri(struct URI * uri) in free_uri() argument
30 if(NULL != uri) in free_uri()
32 free(uri->full_uri); in free_uri()
33 free(uri->scheme); in free_uri()
34 free(uri->host_and_port); in free_uri()
35 free(uri->host); in free_uri()
36 free(uri->path); in free_uri()
37 free(uri->path_and_more); in free_uri()
38 free(uri->query); in free_uri()
39 free(uri->fragment); in free_uri()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/
Dlayer1.py109 uri = '/%s/%s' % (self.account_id, resource)
110 response = super(Layer1, self).make_request(verb, uri,
195 uri = 'vaults/%s' % vault_name
196 return self.make_request('GET', uri)
231 uri = 'vaults/%s' % vault_name
232 return self.make_request('PUT', uri, ok_responses=(201,),
265 uri = 'vaults/%s' % vault_name
266 return self.make_request('DELETE', uri, ok_responses=(204,))
295 uri = 'vaults/%s/notification-configuration' % vault_name
296 return self.make_request('GET', uri)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/
Dhttplib2test.py101 uri = "http://" + ("w" * 200) + ".org"
103 self.assertNotEqual( httplib2.safename(uri2), httplib2.safename(uri))
106 self.assertEqual(233, len(httplib2.safename(uri)))
226uri = urlparse.urljoin(base, u"reflector/reflector.cgi?d=\N{CYRILLIC CAPITAL LETTER DJE}")
227 (response, content) = self.http.request(uri, "GET")
234 uri = urlparse.urljoin(base, "methods/method_reflector.cgi")
235 (response, content) = self.http.request(uri)
240 uri = urlparse.urljoin(base, "methods/method_reflector.cgi")
242 (response, content) = self.http.request(uri, method, body=" ")
250 uri = "http://www.google.com/"
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python3/
Dhttplib2test.py91 uri = "http://" + ("w" * 200) + ".org"
93 self.assertNotEqual( httplib2.safename(uri2), httplib2.safename(uri))
96 self.assertEqual(233, len(httplib2.safename(uri)))
206uri = urllib.parse.urljoin(base, "reflector/reflector.cgi?d=\N{CYRILLIC CAPITAL LETTER DJE}")
207 (response, content) = self.http.request(uri, "GET")
214 uri = urllib.parse.urljoin(base, "methods/method_reflector.cgi")
215 (response, content) = self.http.request(uri)
220 uri = urllib.parse.urljoin(base, "methods/method_reflector.cgi")
222 (response, content) = self.http.request(uri, method, body=b" ")
230 uri = "http://www.google.com/"
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/elastictranscoder/
Dlayer1.py78 uri = '/2012-09-25/jobs/{0}'.format(id)
79 return self.make_request('DELETE', uri, expected_status=202)
127 uri = '/2012-09-25/jobs'
141 return self.make_request('POST', uri, expected_status=201,
341 uri = '/2012-09-25/pipelines'
357 return self.make_request('POST', uri, expected_status=201,
406 uri = '/2012-09-25/presets'
420 return self.make_request('POST', uri, expected_status=201,
436 uri = '/2012-09-25/pipelines/{0}'.format(id)
437 return self.make_request('DELETE', uri, expected_status=202)
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowContentResolver.java44 public final Uri uri; field in ShadowContentResolver.NotifiedUri
48 public NotifiedUri(Uri uri, ContentObserver observer, boolean syncToNetwork) { in NotifiedUri() argument
49 this.uri = uri; in NotifiedUri()
64 public final InputStream openInputStream(final Uri uri) { in openInputStream() argument
73 return "stream for " + uri; in openInputStream()
79 public final OutputStream openOutputStream(final Uri uri) {
88 return "outputstream for " + uri;
106 public int update(Uri uri, ContentValues values, String where, String[] selectionArgs) {
107 ContentProvider provider = getProvider(uri);
109 return provider.update(uri, values, where, selectionArgs);
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cognito/sync/
Dlayer1.py104 uri = '/identitypools/{0}/identities/{1}/datasets/{2}'.format(
106 return self.make_request('DELETE', uri, expected_status=200)
134 uri = '/identitypools/{0}/identities/{1}/datasets/{2}'.format(
136 return self.make_request('GET', uri, expected_status=200)
150 uri = '/identitypools/{0}'.format(identity_pool_id)
151 return self.make_request('GET', uri, expected_status=200)
170 uri = '/identitypools/{0}/identities/{1}'.format(
172 return self.make_request('GET', uri, expected_status=200)
186 uri = '/identitypools/{0}/configuration'.format(identity_pool_id)
187 return self.make_request('GET', uri, expected_status=200)
[all …]
/external/libxml2/python/tests/
DtstURI.py8 uri = libxml2.parseURI("http://example.org:8088/foo/bar?query=simple#fragid") variable
9 if uri.scheme() != 'http':
12 if uri.server() != 'example.org':
15 if uri.port() != 8088:
18 if uri.path() != '/foo/bar':
21 if uri.query() != 'query=simple':
24 if uri.fragment() != 'fragid':
27 uri.setScheme("https")
28 uri.setPort(223)
29 uri.setFragment(None)
[all …]
/external/curl/docs/examples/
Drtsp.c71 static void rtsp_options(CURL *curl, const char *uri) in rtsp_options() argument
74 printf("\nRTSP: OPTIONS %s\n", uri); in rtsp_options()
75 my_curl_easy_setopt(curl, CURLOPT_RTSP_STREAM_URI, uri); in rtsp_options()
82 static void rtsp_describe(CURL *curl, const char *uri, in rtsp_describe() argument
87 printf("\nRTSP: DESCRIBE %s\n", uri); in rtsp_describe()
105 static void rtsp_setup(CURL *curl, const char *uri, const char *transport) in rtsp_setup() argument
108 printf("\nRTSP: SETUP %s\n", uri); in rtsp_setup()
110 my_curl_easy_setopt(curl, CURLOPT_RTSP_STREAM_URI, uri); in rtsp_setup()
118 static void rtsp_play(CURL *curl, const char *uri, const char *range) in rtsp_play() argument
121 printf("\nRTSP: PLAY %s\n", uri); in rtsp_play()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/utils/
DNamespaceSupport2.java195 public boolean declarePrefix (String prefix, String uri) in declarePrefix() argument
200 currentContext.declarePrefix(prefix, uri); in declarePrefix()
313 public String getPrefix (String uri) in getPrefix() argument
315 return currentContext.getPrefix(uri); in getPrefix()
339 public Enumeration getPrefixes (String uri) in getPrefixes() argument
351 return new PrefixForUriEnumerator(this,uri,getPrefixes()); in getPrefixes()
391 private String uri; field in PrefixForUriEnumerator
397 PrefixForUriEnumerator(NamespaceSupport2 nsup,String uri, Enumeration allPrefixes) in PrefixForUriEnumerator() argument
400 this.uri=uri; in PrefixForUriEnumerator()
412 if(uri.equals(nsup.getURI(prefix))) in hasMoreElements()
[all …]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DXMLWriter.java424 public void setPrefix (String uri, String prefix) in setPrefix() argument
426 prefixTable.put(uri, prefix); in setPrefix()
437 public String getPrefix (String uri) in getPrefix() argument
439 return (String)prefixTable.get(uri); in getPrefix()
459 public void forceNSDecl (String uri) in forceNSDecl() argument
461 forcedDeclTable.put(uri, Boolean.TRUE); in forceNSDecl()
478 public void forceNSDecl (String uri, String prefix) in forceNSDecl() argument
480 setPrefix(uri, prefix); in forceNSDecl()
481 forceNSDecl(uri); in forceNSDecl()
573 public void startElement (String uri, String localName, in startElement() argument
[all …]
/external/nist-sip/java/gov/nist/javax/sip/address/
DAddressFactoryImpl.java76 javax.sip.address.URI uri) { in createAddress() argument
77 if (uri == null) in createAddress()
82 addressImpl.setURI(uri); in createAddress()
91 public javax.sip.address.SipURI createSipURI(String uri) in createSipURI() argument
94 if (uri == null) in createSipURI()
98 SipUri sipUri = smp.parseSIPUrl(uri); in createSipURI()
147 public javax.sip.address.TelURL createTelURL(String uri) in createTelURL() argument
149 if (uri == null) in createTelURL()
151 String telUrl = "tel:" + uri; in createTelURL()
161 public javax.sip.address.Address createAddress(javax.sip.address.URI uri) { in createAddress() argument
[all …]
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DUriPatternType.java40 private static String getUri(String uri) { in getUri() argument
42 int queryIdx = uri.indexOf('?'); in getUri()
44 uri = uri.substring(0, queryIdx); in getUri()
46 return uri; in getUri()
73 public boolean matches(String uri) { in matches() argument
74 if (null == uri) { in matches()
78 uri = getUri(uri); in matches()
80 return uri.endsWith(pattern); in matches()
82 return uri.startsWith(pattern); in matches()
86 return pattern.equals(uri); in matches()
[all …]
/external/libevent/include/event2/
Dhttp.h508 enum evhttp_cmd_type type, const char *uri);
641 char *evhttp_decode_uri(const char *uri);
658 char *evhttp_uridecode(const char *uri, int decode_plus,
680 int evhttp_parse_query(const char *uri, struct evkeyvalq *headers);
699 int evhttp_parse_query_str(const char *uri, struct evkeyvalq *headers);
723 void evhttp_uri_set_flags(struct evhttp_uri *uri, unsigned flags);
727 const char *evhttp_uri_get_scheme(const struct evhttp_uri *uri);
732 const char *evhttp_uri_get_userinfo(const struct evhttp_uri *uri);
745 const char *evhttp_uri_get_host(const struct evhttp_uri *uri);
747 int evhttp_uri_get_port(const struct evhttp_uri *uri);
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/awslambda/
Dlayer1.py120 uri = '/2014-11-13/event-source-mappings/'
132 return self.make_request('POST', uri, expected_status=200,
148 uri = '/2014-11-13/functions/{0}'.format(function_name)
149 return self.make_request('DELETE', uri, expected_status=204)
164 uri = '/2014-11-13/event-source-mappings/{0}'.format(uuid)
165 return self.make_request('GET', uri, expected_status=200)
184 uri = '/2014-11-13/functions/{0}'.format(function_name)
185 return self.make_request('GET', uri, expected_status=200)
202 uri = '/2014-11-13/functions/{0}/configuration'.format(function_name)
203 return self.make_request('GET', uri, expected_status=200)
[all …]
/external/v8/src/js/
Duri.js172 function Encode(uri, unescape) { argument
173 uri = TO_STRING(uri);
174 var uriLength = uri.length;
178 var cc1 = %_StringCharCodeAt(uri, k);
188 var cc2 = %_StringCharCodeAt(uri, k);
203 function Decode(uri, reserved) { argument
204 uri = TO_STRING(uri);
205 var uriLength = uri.length;
212 var code = %_StringCharCodeAt(uri, k);
215 var cc = URIHexCharsToCharCode(%_StringCharCodeAt(uri, k+1),
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DAlertInfo.java55 protected GenericURI uri; field in AlertInfo
72 if (uri != null) { in encodeBody()
73 encoding.append(LESS_THAN).append(uri.encode()).append(GREATER_THAN); in encodeBody()
87 public void setAlertInfo(URI uri) { in setAlertInfo() argument
88 this.uri = (GenericURI) uri; in setAlertInfo()
106 if (this.uri != null) { in getAlertInfo()
107 alertInfoUri = (URI) this.uri; in getAlertInfo()
121 if (this.uri != null) { in clone()
122 retval.uri = (GenericURI) this.uri.clone(); in clone()
DRequestLine.java51 protected GenericURI uri; field in RequestLine
81 if (uri != null) { in encode()
82 uri.encode(buffer); in encode()
94 return uri; in getUri()
100 this.uri = requestURI; in RequestLine()
122 public void setUri(URI uri) { in setUri() argument
123 this.uri = (GenericURI)uri; in setUri()
199 && this.uri.equals(that.uri) in equals()
209 if (this.uri != null) in clone()
210 retval.uri = (GenericURI) this.uri.clone(); in clone()
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
DSimpleWebServer.java220 private boolean canServeUri(String uri, File homeDir) { in canServeUri() argument
222 File f = new File(homeDir, uri); in canServeUri()
225 WebServerPlugin plugin = SimpleWebServer.mimeTypeHandlers.get(getMimeTypeForFile(uri)); in canServeUri()
227 canServeUri = plugin.canServeUri(uri, homeDir); in canServeUri()
237 private String encodeUri(String uri) { in encodeUri() argument
239 StringTokenizer st = new StringTokenizer(uri, "/ ", true); in encodeUri()
284 protected String listDirectory(String uri, File f) { in listDirectory() argument
285 String heading = "Directory " + uri; in listDirectory()
291 if (uri.length() > 1) { in listDirectory()
292 String u = uri.substring(0, uri.length() - 1); in listDirectory()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/data/
DMediaStoreThumbFetcher.java89 private static boolean isMediaStoreUri(Uri uri) { in isMediaStoreUri() argument
90 return uri != null in isMediaStoreUri()
91 && ContentResolver.SCHEME_CONTENT.equals(uri.getScheme()) in isMediaStoreUri()
92 && MediaStore.AUTHORITY.equals(uri.getAuthority()); in isMediaStoreUri()
95 private static boolean isMediaStoreVideo(Uri uri) { in isMediaStoreVideo() argument
96 return isMediaStoreUri(uri) && uri.getPathSegments().contains("video"); in isMediaStoreVideo()
114 Cursor query(Context context, Uri uri); in query() argument
131 public InputStream open(Context context, Uri uri) throws FileNotFoundException { in open() argument
135 final Cursor cursor = query.query(context, uri); in open()
161 public Cursor query(Context context, Uri uri) { in query() argument
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python3/httplib2/
Diri2uri.py65 def iri2uri(uri): argument
69 if isinstance(uri ,str):
70 (scheme, authority, path, query, fragment) = urllib.parse.urlsplit(uri)
75 uri = urllib.parse.urlunsplit((scheme, authority, path, query, fragment))
76 uri = "".join([encode(c) for c in uri])
77 return uri
95 for uri in invariant:
96 self.assertEqual(uri, iri2uri(uri))

12345678910>>...28