/external/libxml2/ |
D | uri.c | 52 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 …]
|
D | testURI.c | 25 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/ |
D | ExtensionNamespacesManager.java | 210 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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowContentResolver.java | 44 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 …]
|
D | ShadowContentProviderOperation.java | 19 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()
|
D | ShadowCursorLoader.java | 13 private Uri uri; field in ShadowCursorLoader 23 …public void __constructor__(Context context, Uri uri, String[] projection, String selection, Strin… in __constructor__() argument 25 this.uri = uri; in __constructor__() 34 return uri; in getUri() 38 public void setUri(Uri uri) { in setUri() argument 39 this.uri = uri; in setUri()
|
/external/libxml2/python/tests/ |
D | tstURI.py | 8 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/ |
D | NamespaceSupport2.java | 195 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/nist-sip/java/gov/nist/javax/sip/address/ |
D | AddressFactoryImpl.java | 76 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 …]
|
D | RFC2396UrlDecoder.java | 51 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/tagsoup/src/org/ccil/cowan/tagsoup/ |
D | XMLWriter.java | 424 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/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
D | SimpleWebServer.java | 226 private String encodeUri(String uri) { in encodeUri() argument 228 StringTokenizer st = new StringTokenizer(uri, "/ ", true); in encodeUri() 248 String uri = session.getUri(); in serve() local 251 System.out.println(session.getMethod() + " '" + uri + "' "); in serve() 271 return respond(Collections.unmodifiableMap(header), session, uri); in serve() 274 private Response respond(Map<String, String> headers, IHTTPSession session, String uri) { in respond() argument 276 uri = uri.trim().replace(File.separatorChar, '/'); in respond() 277 if (uri.indexOf('?') >= 0) { in respond() 278 uri = uri.substring(0, uri.indexOf('?')); in respond() 282 if (uri.startsWith("src/main") || uri.endsWith("src/main") || uri.contains("../")) { in respond() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | AlertInfo.java | 55 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()
|
D | RequestLine.java | 51 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/v8/src/ |
D | uri.js | 184 function Encode(uri, unescape) { argument 185 var uriLength = uri.length; 189 var cc1 = uri.charCodeAt(k); 199 var cc2 = uri.charCodeAt(k); 214 function Decode(uri, reserved) { argument 215 var uriLength = uri.length; 222 var code = uri.charCodeAt(k); 225 var cc = URIHexCharsToCharCode(uri.charCodeAt(k+1), uri.charCodeAt(k+2)); 229 %_OneByteSeqStringSetChar(index++, uri.charCodeAt(k+1), one_byte); 230 %_OneByteSeqStringSetChar(index++, uri.charCodeAt(k+2), one_byte); [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
D | MediaStoreThumbFetcher.java | 89 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/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | SerializerBase.java | 289 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 …]
|
D | NamespaceMappings.java | 140 String uri = null; in lookupNamespace() local 143 uri = ((MappingRecord) stack.peek()).m_uri; in lookupNamespace() 145 if (uri == null) in lookupNamespace() 146 uri = EMPTYSTRING; in lookupNamespace() 147 return uri; in lookupNamespace() 165 public String lookupPrefix(String uri) in lookupPrefix() argument 173 if (uri2 != null && uri2.equals(uri)) in lookupPrefix() 182 MappingRecord getMappingFromURI(String uri) in getMappingFromURI() argument 190 if (map2 != null && (map2.m_uri).equals(uri)) in getMappingFromURI() 225 public boolean pushNamespace(String prefix, String uri, int elemDepth) in pushNamespace() argument [all …]
|
/external/apache-http/src/org/apache/http/message/ |
D | BasicHttpRequest.java | 57 private final String uri; field in BasicHttpRequest 59 public BasicHttpRequest(final String method, final String uri) { in BasicHttpRequest() argument 64 if (uri == null) { in BasicHttpRequest() 68 this.uri = uri; in BasicHttpRequest() 72 public BasicHttpRequest(final String method, final String uri, final ProtocolVersion ver) { in BasicHttpRequest() argument 73 this(new BasicRequestLine(method, uri, ver)); in BasicHttpRequest() 83 this.uri = requestline.getUri(); in BasicHttpRequest() 99 return new BasicRequestLine(this.method, this.uri, ver); in getRequestLine()
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | DefaultRedirectHandler.java | 117 URI uri; in getLocationURI() local 119 uri = new URI(location); in getLocationURI() 127 if (!uri.isAbsolute()) { in getLocationURI() 130 + uri + "' not allowed"); in getLocationURI() 146 uri = URIUtils.resolve(absoluteRequestURI, uri); in getLocationURI() 163 if (uri.getFragment() != null) { in getLocationURI() 166 uri.getHost(), in getLocationURI() 167 uri.getPort(), in getLocationURI() 168 uri.getScheme()); in getLocationURI() 169 redirectURI = URIUtils.rewriteURI(uri, target, true); in getLocationURI() [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
D | XSLTAttributeDef.java | 513 StylesheetHandler handler, String uri, String name, String rawName, String value, in processAVT() argument 520 AVT avt = new AVT(handler, uri, name, rawName, value, owner); in processAVT() 544 Object processCDATA(StylesheetHandler handler, String uri, String name, in processCDATA() argument 551 AVT avt = new AVT(handler, uri, name, rawName, value, owner); in processCDATA() 578 …StylesheetHandler handler, String uri, String name, String rawName, String value, ElemTemplateElem… in processCHAR() argument 584 AVT avt = new AVT(handler, uri, name, rawName, value, owner); in processCHAR() 622 Object processENUM(StylesheetHandler handler, String uri, String name, in processENUM() argument 631 avt = new AVT(handler, uri, name, rawName, value, owner); in processENUM() 672 Object processENUM_OR_PQNAME(StylesheetHandler handler, String uri, String name, in processENUM_OR_PQNAME() argument 682 AVT avt = new AVT(handler, uri, name, rawName, value, owner); in processENUM_OR_PQNAME() [all …]
|
/external/apache-http/src/org/apache/http/client/utils/ |
D | URIUtils.java | 132 final URI uri, in rewriteURI() argument 135 if (uri == null) { in rewriteURI() 143 uri.getRawPath(), in rewriteURI() 144 uri.getRawQuery(), in rewriteURI() 145 dropFragment ? null : uri.getRawFragment()); in rewriteURI() 151 uri.getRawPath(), in rewriteURI() 152 uri.getRawQuery(), in rewriteURI() 153 dropFragment ? null : uri.getRawFragment()); in rewriteURI() 163 final URI uri, in rewriteURI() argument 165 return rewriteURI(uri, target, false); in rewriteURI()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
D | DOMLocatorImpl.java | 92 DOMLocatorImpl (int lineNumber, int columnNumber, String uri ){ in DOMLocatorImpl() argument 95 fUri = uri; in DOMLocatorImpl() 102 DOMLocatorImpl (int lineNumber, int columnNumber, int utf16Offset, String uri ){ in DOMLocatorImpl() argument 105 fUri = uri; in DOMLocatorImpl() 113 … DOMLocatorImpl (int lineNumber, int columnNumber, int byteoffset, Node relatedData, String uri ){ in DOMLocatorImpl() argument 118 fUri = uri; in DOMLocatorImpl() 123 …DOMLocatorImpl (int lineNumber, int columnNumber, int byteoffset, Node relatedData, String uri, in… in DOMLocatorImpl() argument 128 fUri = uri; in DOMLocatorImpl()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ContentResolverTest.java | 167 assertThat(testCursor.uri, equalTo(uri21)); in query__shouldKnowWhatItsParamsWere() 190 ShadowContentResolver.NotifiedUri uri = shadowContentResolver.getNotifiedUris().get(0); in shouldTrackNotifiedUris() local 192 assertThat(uri.uri.toString(), equalTo("foo")); in shouldTrackNotifiedUris() 193 assertTrue(uri.syncToNetwork); in shouldTrackNotifiedUris() 194 assertNull(uri.observer); in shouldTrackNotifiedUris() 196 uri = shadowContentResolver.getNotifiedUris().get(1); in shouldTrackNotifiedUris() 198 assertThat(uri.uri.toString(), equalTo("bar")); in shouldTrackNotifiedUris() 199 assertFalse(uri.syncToNetwork); in shouldTrackNotifiedUris() 200 assertNull(uri.observer); in shouldTrackNotifiedUris() 214 Uri uri = Uri.parse("content://com.xtremelabs.robolectric"); in applyBatch() local [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | browser.c | 79 const gchar *uri = webkit_network_request_get_uri(req); in view_cb_resource_request_starting() local 80 wpa_printf(MSG_DEBUG, "BROWSER:%s uri=%s", __func__, uri); in view_cb_resource_request_starting() 81 if (g_str_has_suffix(uri, "/favicon.ico")) in view_cb_resource_request_starting() 83 if (g_str_has_prefix(uri, "osu://")) { in view_cb_resource_request_starting() 84 ctx->success = atoi(uri + 6); in view_cb_resource_request_starting() 87 if (g_str_has_prefix(uri, "http://localhost:12345")) { in view_cb_resource_request_starting() 118 const gchar *uri; in view_cb_download_requested() local 119 uri = webkit_download_get_uri(dl); in view_cb_download_requested() 120 wpa_printf(MSG_DEBUG, "BROWSER:%s uri=%s", __func__, uri); in view_cb_download_requested() 126 gchar *uri, struct browser_context *ctx) in view_cb_hovering_over_link() argument [all …]
|