Searched refs:uri (Results 1 - 25 of 538) sorted by relevance

1234567891011>>

/external/syslinux/gpxe/src/include/gpxe/
H A Duri.h18 * Terminology for this data structure is as per uri(7), except that
24 * be accessed in array fashion in some places in uri.c where doing so
47 struct uri { struct
91 #define uri_get_field( uri, field ) (&uri->scheme)[field]
105 * @v uri URI
112 static inline int uri_is_absolute ( struct uri *uri ) {
113 return ( uri->scheme != NULL );
119 * @v uri UR
[all...]
H A Dhttp.h18 extern int http_open_filter ( struct xfer_interface *xfer, struct uri *uri,
/external/libxml2/python/tests/
H A 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
33 uri = None variable
[all...]
/external/syslinux/gpxe/src/core/
H A Dcwuri.c22 #include <gpxe/uri.h>
33 struct uri *cwuri = NULL;
38 * @v uri New working URI, or NULL
40 void churi ( struct uri *uri ) {
41 struct uri *new_uri;
43 new_uri = resolve_uri ( cwuri, uri );
H A Duri.c33 #include <gpxe/uri.h>
38 * @v uri URI
40 static void dump_uri ( struct uri *uri ) {
41 if ( ! uri )
43 if ( uri->scheme )
44 DBG ( " scheme \"%s\"", uri->scheme );
45 if ( uri->opaque )
46 DBG ( " opaque \"%s\"", uri->opaque );
47 if ( uri
74 struct uri *uri; local
198 uri_port( struct uri *uri, unsigned int default_port ) argument
213 unparse_uri( char *buf, size_t size, struct uri *uri, unsigned int fields ) argument
[all...]
/external/apache-http/src/org/apache/http/impl/client/
H A DRedirectLocations.java58 public boolean contains(final URI uri) { argument
59 return this.uris.contains(uri);
65 public void add(final URI uri) { argument
66 this.uris.add(uri);
72 public boolean remove(final URI uri) { argument
73 return this.uris.remove(uri);
/external/libxml2/
H A DtestURI.c16 #include <libxml/uri.h>
25 xmlURIPtr uri; local
28 uri = xmlCreateURI();
31 ret = xmlParseURIReference(uri, str);
36 if (uri->scheme) printf("scheme: %s\n", uri->scheme);
37 if (uri->opaque) printf("opaque: %s\n", uri->opaque);
38 if (uri->authority) printf("authority: %s\n", uri
[all...]
/external/apache-http/src/org/apache/http/client/methods/
H A DHttpDelete.java63 public HttpDelete(final URI uri) { argument
65 setURI(uri);
69 * @throws IllegalArgumentException if the uri is invalid.
71 public HttpDelete(final String uri) { argument
73 setURI(URI.create(uri));
H A DHttpGet.java70 public HttpGet(final URI uri) { argument
72 setURI(uri);
76 * @throws IllegalArgumentException if the uri is invalid.
78 public HttpGet(final String uri) { argument
80 setURI(URI.create(uri));
H A DHttpHead.java70 public HttpHead(final URI uri) { argument
72 setURI(uri);
76 * @throws IllegalArgumentException if the uri is invalid.
78 public HttpHead(final String uri) { argument
80 setURI(URI.create(uri));
H A DHttpPost.java74 public HttpPost(final URI uri) { argument
76 setURI(uri);
80 * @throws IllegalArgumentException if the uri is invalid.
82 public HttpPost(final String uri) { argument
84 setURI(URI.create(uri));
H A DHttpPut.java66 public HttpPut(final URI uri) { argument
68 setURI(uri);
72 * @throws IllegalArgumentException if the uri is invalid.
74 public HttpPut(final String uri) { argument
76 setURI(URI.create(uri));
H A DHttpTrace.java69 public HttpTrace(final URI uri) { argument
71 setURI(uri);
75 * @throws IllegalArgumentException if the uri is invalid.
77 public HttpTrace(final String uri) { argument
79 setURI(URI.create(uri));
/external/nist-sip/java/gov/nist/javax/sip/address/
H A DRFC2396UrlDecoder.java48 * @param uri the path to decode
51 public static String decode(String uri) { argument
52 StringBuffer translatedUri = new StringBuffer(uri.length());
53 byte[] encodedchars = new byte[uri.length() / 3];
55 int length = uri.length();
58 if (uri.charAt(i) == '%') {
61 while (i < length && uri.charAt(i) == '%') {
64 byte x = (byte)Integer.parseInt(uri.substring(i + 1, i + 3), 16);
67 throw new IllegalArgumentException("Illegal hex characters in pattern %" + uri.substring(i + 1, i + 3));
85 translatedUri.append(uri
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
H A DAssetUriParser.java19 * Returns true if the given {@link android.net.Uri} matches the asset uri pattern.
21 public static boolean isAssetUri(Uri uri) { argument
22 return ContentResolver.SCHEME_FILE.equals(uri.getScheme()) && !uri.getPathSegments().isEmpty()
23 && ASSET_PATH_SEGMENT.equals(uri.getPathSegments().get(0));
27 * Returns the string path for the given asset uri.
30 * Assumes the given {@link android.net.Uri} is in fact an asset uri.
33 public static String toAssetPath(Uri uri) { argument
34 return uri.toString().substring(ASSET_PREFIX_LENGTH);
H A DStringLoader.java10 * A model loader for handling certain string models. Handles paths, urls, and any uri string with a scheme handled by
24 Uri uri;
26 uri = toFileUri(model);
28 uri = Uri.parse(model);
29 final String scheme = uri.getScheme();
31 uri = toFileUri(model);
35 return uriLoader.getResourceFetcher(uri, width, height);
/external/libmicrohttpd/src/examples/
H A Dmhd2spdy_structures.c28 free_uri(struct URI * uri) argument
30 if(NULL != uri)
32 free(uri->full_uri);
33 free(uri->scheme);
34 free(uri->host_and_port);
35 free(uri->host);
36 free(uri->path);
37 free(uri->path_and_more);
38 free(uri->query);
39 free(uri
69 parse_uri(regex_t * preg, char * full_uri, struct URI ** uri) argument
[all...]
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
H A DInternalRewrite.java46 private final String uri; field in class:InternalRewrite
50 public InternalRewrite(Map<String, String> headers, String uri) { argument
53 this.uri = uri;
61 return this.uri;
/external/nist-sip/java/javax/sip/address/
H A DAddressFactory.java8 Address createAddress(URI uri); argument
9 Address createAddress(String displayName, URI uri) argument
11 SipURI createSipURI(String uri) throws ParseException; argument
13 TelURL createTelURL(String uri) throws ParseException; argument
14 URI createURI(String uri) throws ParseException; argument
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DAlertInfo.java55 protected GenericURI uri; field in class:AlertInfo
72 if (uri != null) {
73 encoding.append(LESS_THAN).append(uri.encode()).append(GREATER_THAN);
84 * Set the uri member
85 * @param uri URI to set
87 public void setAlertInfo(URI uri) { argument
88 this.uri = (GenericURI) uri;
106 if (this.uri != null) {
107 alertInfoUri = (URI) this.uri;
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
H A DExtensionNamespacesManager.java210 String uri = Constants.S_EXTENSIONS_JAVA_URL;
214 m_predefExtensions.add(new ExtensionNamespaceSupport(uri, handlerClassName,
215 new Object[]{uri, lang, lib}));
217 uri = Constants.S_EXTENSIONS_OLD_JAVA_URL;
218 m_predefExtensions.add(new ExtensionNamespaceSupport(uri, handlerClassName,
219 new Object[]{uri, lang, lib}));
221 uri = Constants.S_EXTENSIONS_LOTUSXSL_JAVA_URL;
222 m_predefExtensions.add(new ExtensionNamespaceSupport(uri, handlerClassName,
223 new Object[]{uri, lang, lib}));
225 uri
[all...]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
H A Dlookup.py32 def has_template(self, uri):
35 given ``uri``.
37 :param uri: String URI of the template to be resolved.
41 self.get_template(uri)
46 def get_template(self, uri, relativeto=None):
48 ``uri``.
52 raise :class:`.TemplateLookupException` if the given ``uri``
55 :param uri: String URI of the template to be resolved.
56 :param relativeto: if present, the given ``uri`` is assumed to
62 def filename_to_uri(self, uri, filenam
[all...]
/external/apache-http/src/org/apache/http/message/
H A DBasicRequestLine.java59 private final String uri; field in class:BasicRequestLine
62 final String uri,
69 if (uri == null) {
78 this.uri = uri;
91 return this.uri;
61 BasicRequestLine(final String method, final String uri, final ProtocolVersion version) argument
H A DBasicHttpRequest.java57 private final String uri; field in class:BasicHttpRequest
59 public BasicHttpRequest(final String method, final String uri) { argument
64 if (uri == null) {
68 this.uri = uri;
72 public BasicHttpRequest(final String method, final String uri, final ProtocolVersion ver) { argument
73 this(new BasicRequestLine(method, uri, ver));
83 this.uri = requestline.getUri();
99 return new BasicRequestLine(this.method, this.uri, ver);
/external/syslinux/gpxe/src/net/tcp/
H A Dhttps.c40 * @v uri Uniform Resource Identifier
43 static int https_open ( struct xfer_interface *xfer, struct uri *uri ) {
44 return http_open_filter ( xfer, uri, HTTPS_PORT, add_tls );

Completed in 521 milliseconds

1234567891011>>