Home
last modified time | relevance | path

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

12345678910>>...25

/external/syslinux/gpxe/src/include/gpxe/
Duri.h47 struct uri { struct
91 #define uri_get_field( uri, field ) (&uri->scheme)[field] argument
112 static inline int uri_is_absolute ( struct uri *uri ) { in uri_is_absolute() argument
113 return ( uri->scheme != NULL ); in uri_is_absolute()
126 static inline int uri_has_absolute_path ( struct uri *uri ) { in uri_has_absolute_path() argument
127 return ( uri->path && ( uri->path[0] == '/' ) ); in uri_has_absolute_path()
140 static inline int uri_has_relative_path ( struct uri *uri ) { in uri_has_relative_path() argument
141 return ( uri->path && ( uri->path[0] != '/' ) ); in uri_has_relative_path()
150 static inline __attribute__ (( always_inline )) struct uri *
151 uri_get ( struct uri *uri ) { in uri_get() argument
[all …]
/external/syslinux/gpxe/src/core/
Duri.c40 static void dump_uri ( struct uri *uri ) { in dump_uri() argument
41 if ( ! uri ) in dump_uri()
43 if ( uri->scheme ) in dump_uri()
44 DBG ( " scheme \"%s\"", uri->scheme ); in dump_uri()
45 if ( uri->opaque ) in dump_uri()
46 DBG ( " opaque \"%s\"", uri->opaque ); in dump_uri()
47 if ( uri->user ) in dump_uri()
48 DBG ( " user \"%s\"", uri->user ); in dump_uri()
49 if ( uri->password ) in dump_uri()
50 DBG ( " password \"%s\"", uri->password ); in dump_uri()
[all …]
Dopen.c45 int xfer_open_uri ( struct xfer_interface *xfer, struct uri *uri ) { in xfer_open_uri() argument
47 struct uri *resolved_uri; in xfer_open_uri()
51 resolved_uri = resolve_uri ( cwuri, uri ); in xfer_open_uri()
84 struct uri *uri; in xfer_open_uri_string() local
89 uri = parse_uri ( uri_string ); in xfer_open_uri_string()
90 if ( ! uri ) in xfer_open_uri_string()
93 rc = xfer_open_uri ( xfer, uri ); in xfer_open_uri_string()
95 uri_put ( uri ); in xfer_open_uri_string()
144 struct uri *uri = va_arg ( args, struct uri * ); in xfer_vopen() local
146 return xfer_open_uri ( xfer, uri ); } in xfer_vopen()
/external/libxml2/
Duri.c53 static void xmlCleanURI(xmlURIPtr uri);
209 xmlParse3986Scheme(xmlURIPtr uri, const char **str) { in xmlParse3986Scheme() argument
221 if (uri != NULL) { in xmlParse3986Scheme()
222 if (uri->scheme != NULL) xmlFree(uri->scheme); in xmlParse3986Scheme()
223 uri->scheme = STRNDUP(*str, cur - *str); in xmlParse3986Scheme()
245 xmlParse3986Fragment(xmlURIPtr uri, const char **str) in xmlParse3986Fragment() argument
256 ((uri != NULL) && (uri->cleanup & 1) && (IS_UNWISE(cur)))) in xmlParse3986Fragment()
258 if (uri != NULL) { in xmlParse3986Fragment()
259 if (uri->fragment != NULL) in xmlParse3986Fragment()
260 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/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 …]
DShadowContentProviderOperation.java19 private Uri uri; field in ShadowContentProviderOperation
25 public static Builder newInsert(Uri uri) { in newInsert() argument
28 shadowBuilder.setUri(uri); in newInsert()
34 public static Builder newUpdate(Uri uri) { in newUpdate() argument
37 shadowBuilder.setUri(uri); in newUpdate()
43 public static Builder newDelete(Uri uri) { in newDelete() argument
46 shadowBuilder.setUri(uri); in newDelete()
53 return uri; in getUri()
56 public void setUri(Uri uri) { in setUri() argument
57 this.uri = uri; in setUri()
/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/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/libcups/cups/
Dhttp-support.c159 char *uri, /* I - URI buffer */ in httpAssembleURI() argument
175 if (!uri || urilen < 1 || !scheme || port < 0) in httpAssembleURI()
177 if (uri) in httpAssembleURI()
178 *uri = '\0'; in httpAssembleURI()
187 end = uri + urilen - 1; in httpAssembleURI()
188 ptr = http_copy_encode(uri, scheme, end, NULL, NULL, 0); in httpAssembleURI()
418 *uri = '\0'; in httpAssembleURI()
439 char *uri, /* I - URI buffer */ in httpAssembleURIf() argument
457 if (!uri || urilen < 1 || !scheme || port < 0 || !resourcef) in httpAssembleURIf()
459 if (uri) in httpAssembleURIf()
[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 …]
DRFC2396UrlDecoder.java51 public static String decode(String uri) { in decode() argument
52 StringBuffer translatedUri = new StringBuffer(uri.length()); in decode()
53 byte[] encodedchars = new byte[uri.length() / 3]; in decode()
55 int length = uri.length(); in decode()
58 if (uri.charAt(i) == '%') { in decode()
61 while (i < length && uri.charAt(i) == '%') { in decode()
64 byte x = (byte)Integer.parseInt(uri.substring(i + 1, i + 3), 16); in decode()
67 …throw new IllegalArgumentException("Illegal hex characters in pattern %" + uri.substring(i + 1, i … in decode()
85 translatedUri.append(uri.charAt(i)); in decode()
/external/curl/docs/examples/
Drtsp.c75 static void rtsp_options(CURL *curl, const char *uri) in rtsp_options() argument
78 printf("\nRTSP: OPTIONS %s\n", uri); in rtsp_options()
79 my_curl_easy_setopt(curl, CURLOPT_RTSP_STREAM_URI, uri); in rtsp_options()
86 static void rtsp_describe(CURL *curl, const char *uri, in rtsp_describe() argument
91 printf("\nRTSP: DESCRIBE %s\n", uri); in rtsp_describe()
109 static void rtsp_setup(CURL *curl, const char *uri, const char *transport) in rtsp_setup() argument
112 printf("\nRTSP: SETUP %s\n", uri); in rtsp_setup()
114 my_curl_easy_setopt(curl, CURLOPT_RTSP_STREAM_URI, uri); in rtsp_setup()
122 static void rtsp_play(CURL *curl, const char *uri, const char *range) in rtsp_play() argument
125 printf("\nRTSP: PLAY %s\n", uri); in rtsp_play()
[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/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/syslinux/gpxe/src/usr/
Dimgmgmt.c50 struct uri *uri; in imgfetch() local
54 if ( ! ( uri = parse_uri ( uri_string ) ) ) in imgfetch()
57 image_set_uri ( image, uri ); in imgfetch()
60 password = uri->password; in imgfetch()
62 uri->password = "***"; in imgfetch()
64 uri, URI_ALL ); in imgfetch()
65 uri->password = password; in imgfetch()
68 LOCATION_URI, uri ) ) == 0 ) in imgfetch()
71 uri_put ( uri ); in imgfetch()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DSerializerBase.java289 final String uri = m_prefixMap.lookupNamespace(prefix); in patchName() local
290 if (uri != null && uri.length() == 0) { in patchName()
364 String uri, in addAttribute() argument
374 addAttributeAlways(uri, localName, rawName, type, value, XSLAttribute); in addAttribute()
394 String uri, in addAttributeAlways() argument
412 if (localName == null || uri == null || uri.length() == 0) in addAttributeAlways()
415 index = m_attributes.getIndex(uri,localName); in addAttributeAlways()
429 m_attributes.addAttribute(uri, localName, rawName, type, value); in addAttributeAlways()
450 final String uri = getNamespaceURI(patchedName, false); in addAttribute() local
452 addAttributeAlways(uri,localName, patchedName, "CDATA", value, false); in addAttribute()
[all …]
/external/autotest/server/site_tests/cheets_CTS/
Dgenerate_controlfiles.py200 def get_controlfile_content(package, abi, revision, build, uri): argument
206 if is_public(uri):
220 if is_public(uri):
224 source = "uri='%s'" % uri
276 def is_public(uri): argument
277 if uri.startswith('gs:'):
279 elif uri.startswith('https://dl.google.com'):
284 def download(uri, destination): argument
286 if is_public(uri):
287 subprocess.check_call(['wget', uri, '-P', destination])
[all …]

12345678910>>...25