Home
last modified time | relevance | path

Searched refs:entity (Results 1 – 25 of 369) sorted by relevance

12345678910>>...15

/external/tagsoup/src/org/ccil/cowan/tagsoup/
DHTMLSchema.java779 entity("Aacgr", 0x0386); in HTMLSchema()
780 entity("aacgr", 0x03AC); in HTMLSchema()
781 entity("Aacute", 0x00C1); in HTMLSchema()
782 entity("aacute", 0x00E1); in HTMLSchema()
783 entity("Abreve", 0x0102); in HTMLSchema()
784 entity("abreve", 0x0103); in HTMLSchema()
785 entity("ac", 0x223E); in HTMLSchema()
786 entity("acd", 0x223F); in HTMLSchema()
787 entity("Acirc", 0x00C2); in HTMLSchema()
788 entity("acirc", 0x00E2); in HTMLSchema()
[all …]
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/data/tokenization/
DnumericEntities.test3 {"description": "Invalid numeric entity character U+0000",
7 {"description": "Invalid numeric entity character U+0001",
11 {"description": "Invalid numeric entity character U+0002",
15 {"description": "Invalid numeric entity character U+0003",
19 {"description": "Invalid numeric entity character U+0004",
23 {"description": "Invalid numeric entity character U+0005",
27 {"description": "Invalid numeric entity character U+0006",
31 {"description": "Invalid numeric entity character U+0007",
35 {"description": "Invalid numeric entity character U+0008",
39 {"description": "Invalid numeric entity character U+000B",
[all …]
DnamedEntities.test5 "description": "Named entity: AElig without a semi-colon",
16 "description": "Named entity: AElig; with a semi-colon",
26 "description": "Named entity: AMP without a semi-colon",
37 "description": "Named entity: AMP; with a semi-colon",
47 "description": "Named entity: Aacute without a semi-colon",
58 "description": "Named entity: Aacute; with a semi-colon",
68 "description": "Bad named entity: Abreve without a semi-colon",
79 "description": "Named entity: Abreve; with a semi-colon",
89 "description": "Named entity: Acirc without a semi-colon",
100 "description": "Named entity: Acirc; with a semi-colon",
[all …]
Dentities.test3 {"description": "Undefined named entity in attribute value ending in semicolon and whose name start…
11 {"description": "CR as numeric entity",
15 {"description": "CR as hexadecimal numeric entity",
19 {"description": "Windows-1252 EURO SIGN numeric entity.",
23 {"description": "Windows-1252 REPLACEMENT CHAR numeric entity.",
27 {"description": "Windows-1252 SINGLE LOW-9 QUOTATION MARK numeric entity.",
31 {"description": "Windows-1252 LATIN SMALL LETTER F WITH HOOK numeric entity.",
35 {"description": "Windows-1252 DOUBLE LOW-9 QUOTATION MARK numeric entity.",
39 {"description": "Windows-1252 HORIZONTAL ELLIPSIS numeric entity.",
43 {"description": "Windows-1252 DAGGER numeric entity.",
[all …]
/external/apache-http/src/org/apache/http/impl/entity/
DEntityDeserializer.java32 package org.apache.http.impl.entity;
40 import org.apache.http.entity.BasicHttpEntity;
41 import org.apache.http.entity.ContentLengthStrategy;
80 BasicHttpEntity entity = new BasicHttpEntity(); in doDeserialize() local
84 entity.setChunked(true); in doDeserialize()
85 entity.setContentLength(-1); in doDeserialize()
86 entity.setContent(new ChunkedInputStream(inbuffer)); in doDeserialize()
88 entity.setChunked(false); in doDeserialize()
89 entity.setContentLength(-1); in doDeserialize()
90 entity.setContent(new IdentityInputStream(inbuffer)); in doDeserialize()
[all …]
DEntitySerializer.java32 package org.apache.http.impl.entity;
40 import org.apache.http.entity.ContentLengthStrategy;
91 final HttpEntity entity) throws HttpException, IOException { in serialize() argument
98 if (entity == null) { in serialize()
102 entity.writeTo(outstream); in serialize()
/external/apache-http/src/org/apache/http/util/
DEntityUtils.java65 public static byte[] toByteArray(final HttpEntity entity) throws IOException { in toByteArray() argument
66 if (entity == null) { in toByteArray()
69 InputStream instream = entity.getContent(); in toByteArray()
73 if (entity.getContentLength() > Integer.MAX_VALUE) { in toByteArray()
76 int i = (int)entity.getContentLength(); in toByteArray()
93 public static String getContentCharSet(final HttpEntity entity) in getContentCharSet() argument
96 if (entity == null) { in getContentCharSet()
100 if (entity.getContentType() != null) { in getContentCharSet()
101 HeaderElement values[] = entity.getContentType().getElements(); in getContentCharSet()
113 … final HttpEntity entity, final String defaultCharset) throws IOException, ParseException { in toString() argument
[all …]
/external/apache-http/src/org/apache/http/impl/client/
DEntityEnclosingRequestWrapper.java62 private HttpEntity entity; field in EntityEnclosingRequestWrapper
67 this.entity = request.getEntity(); in EntityEnclosingRequestWrapper()
71 return this.entity; in getEntity()
74 public void setEntity(final HttpEntity entity) { in setEntity() argument
75 this.entity = entity; in setEntity()
85 return this.entity == null || this.entity.isRepeatable(); in isRepeatable()
/external/libxml2/
Dentities.c96 xmlFreeEntity(xmlEntityPtr entity) in xmlFreeEntity() argument
100 if (entity == NULL) in xmlFreeEntity()
103 if (entity->doc != NULL) in xmlFreeEntity()
104 dict = entity->doc->dict; in xmlFreeEntity()
107 if ((entity->children) && (entity->owner == 1) && in xmlFreeEntity()
108 (entity == (xmlEntityPtr) entity->children->parent)) in xmlFreeEntity()
109 xmlFreeNodeList(entity->children); in xmlFreeEntity()
111 if ((entity->name != NULL) && (!xmlDictOwns(dict, entity->name))) in xmlFreeEntity()
112 xmlFree((char *) entity->name); in xmlFreeEntity()
113 if ((entity->ExternalID != NULL) && in xmlFreeEntity()
[all …]
/external/apache-http/src/org/apache/http/client/methods/
DHttpEntityEnclosingRequestBase.java57 private HttpEntity entity; field in HttpEntityEnclosingRequestBase
64 return this.entity; in getEntity()
67 public void setEntity(final HttpEntity entity) { in setEntity() argument
68 this.entity = entity; in setEntity()
80 if (this.entity != null) { in clone()
81 clone.entity = (HttpEntity) CloneUtils.clone(this.entity); in clone()
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DHttpEntityBody.java13 private final HttpEntity entity; field in HttpEntityBody
16 HttpEntityBody(HttpEntity entity, String contentTypeHeader) { in HttpEntityBody() argument
17 this.entity = entity; in HttpEntityBody()
21 } else if (entity.getContentType() != null) { in HttpEntityBody()
22 mediaType = MediaType.parse(entity.getContentType().getValue()); in HttpEntityBody()
31 return entity.getContentLength(); in contentLength()
39 entity.writeTo(sink.outputStream()); in writeTo()
DOkApacheClient.java25 import org.apache.http.entity.InputStreamEntity;
61 HttpEntity entity = ((HttpEntityEnclosingRequest) request).getEntity(); in transformRequest() local
62 if (entity != null) { in transformRequest()
64 body = new HttpEntityBody(entity, contentType); in transformRequest()
66 Header encoding = entity.getContentEncoding(); in transformRequest()
83 InputStreamEntity entity = new InputStreamEntity(body.byteStream(), body.contentLength()); in transformResponse() local
84 httpResponse.setEntity(entity); in transformResponse()
92 entity.setContentType(value); in transformResponse()
94 entity.setContentEncoding(value); in transformResponse()
/external/apache-http/src/org/apache/http/protocol/
DRequestContent.java78 HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity(); in process() local
79 if (entity == null) { in process()
84 if (entity.isChunked() || entity.getContentLength() < 0) { in process()
91 request.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
94 if (entity.getContentType() != null && !request.containsHeader( in process()
96 request.addHeader(entity.getContentType()); in process()
99 if (entity.getContentEncoding() != null && !request.containsHeader( in process()
101 request.addHeader(entity.getContentEncoding()); in process()
DResponseContent.java78 HttpEntity entity = response.getEntity(); in process() local
79 if (entity != null) { in process()
80 long len = entity.getContentLength(); in process()
81 if (entity.isChunked() && !ver.lessEquals(HttpVersion.HTTP_1_0)) { in process()
84 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
87 if (entity.getContentType() != null && !response.containsHeader( in process()
89 response.addHeader(entity.getContentType()); in process()
92 if (entity.getContentEncoding() != null && !response.containsHeader( in process()
94 response.addHeader(entity.getContentEncoding()); in process()
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/
DOkApacheClientTest.java19 import org.apache.http.entity.ByteArrayEntity;
20 import org.apache.http.entity.InputStreamEntity;
21 import org.apache.http.entity.StringEntity;
177 HttpEntity entity = response.getEntity(); in contentEncoding() local
182 assertNotNull(entity.getContentEncoding()); in contentEncoding()
183 assertEquals("gzip", entity.getContentEncoding().getValue()); in contentEncoding()
185 assertEquals(text, gunzip(entity)); in contentEncoding()
198 HttpEntity entity = response.getEntity(); in jsonGzipResponse() local
203 assertNotNull(entity.getContentEncoding()); in jsonGzipResponse()
204 assertEquals("gzip", entity.getContentEncoding().getValue()); in jsonGzipResponse()
[all …]
/external/apache-http/android/src/android/net/http/
DAndroidHttpClientConnection.java30 import org.apache.http.entity.BasicHttpEntity;
31 import org.apache.http.entity.ContentLengthStrategy;
33 import org.apache.http.impl.entity.EntitySerializer;
34 import org.apache.http.impl.entity.StrictContentLengthStrategy;
381 BasicHttpEntity entity = new BasicHttpEntity(); in receiveResponseEntity() local
385 entity.setChunked(true); in receiveResponseEntity()
386 entity.setContentLength(-1); in receiveResponseEntity()
387 entity.setContent(new ChunkedInputStream(inbuffer)); in receiveResponseEntity()
389 entity.setChunked(false); in receiveResponseEntity()
390 entity.setContentLength(-1); in receiveResponseEntity()
[all …]
DAndroidHttpClient.java37 import org.apache.http.entity.AbstractHttpEntity;
38 import org.apache.http.entity.ByteArrayEntity;
217 public static InputStream getUngzippedContent(HttpEntity entity) in getUngzippedContent() argument
219 InputStream responseStream = entity.getContent(); in getUngzippedContent()
221 Header header = entity.getContentEncoding(); in getUngzippedContent()
301 AbstractHttpEntity entity; in getCompressedEntity() local
303 entity = new ByteArrayEntity(data); in getCompressedEntity()
309 entity = new ByteArrayEntity(arr.toByteArray()); in getCompressedEntity()
310 entity.setContentEncoding("gzip"); in getCompressedEntity()
312 return entity; in getCompressedEntity()
[all …]
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/tools/
Dnamed_entity_trie_generator.js7 var trie = Object.keys(entitiesData).reduce(function (trie, entity) { argument
8 var resultCodepoints = entitiesData[entity].codepoints;
10 entity = entity.replace(/^&/, '');
12 var last = entity.length - 1,
15 entity
/external/apache-http/src/org/apache/http/entity/
DBufferedHttpEntity.java32 package org.apache.http.entity;
64 public BufferedHttpEntity(final HttpEntity entity) throws IOException { in BufferedHttpEntity() argument
65 super(entity); in BufferedHttpEntity()
66 if (!entity.isRepeatable() || entity.getContentLength() < 0) { in BufferedHttpEntity()
67 this.buffer = EntityUtils.toByteArray(entity); in BufferedHttpEntity()
/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/
DHtmlStripFunction.java180 String entity = entityValues.get(entityName); in appendDecodedEntityReference() local
183 if (entity != null) { in appendDecodedEntityReference()
184 out.append(entity); in appendDecodedEntityReference()
194 private void appendNumberedEntity(Appendable out, CharSequence entity) throws IOException { in appendNumberedEntity() argument
196 if (entity.length() != 0) { in appendNumberedEntity()
200 if (entity.charAt(0) == 'x') { in appendNumberedEntity()
201 c = (char) Integer.parseInt(entity.subSequence(1, entity.length()).toString(), 16); in appendNumberedEntity()
204 c = (char) Integer.parseInt(entity.toString(), 10); in appendNumberedEntity()
/external/jsilver/src/com/google/streamhtmlparser/util/
DEntityResolver.java125 private String entity; field in EntityResolver
135 entity = ""; in EntityResolver()
148 entity = aEntityResolver.entity; in EntityResolver()
159 entity = ""; in reset()
183 return entity; in getEntity()
206 entity = convertEntity(input); in processChar()
212 entity = uncovertedInput(input); in processChar()
/external/apache-http/src/org/apache/http/message/
DBasicHttpEntityEnclosingRequest.java58 private HttpEntity entity; field in BasicHttpEntityEnclosingRequest
74 return this.entity; in getEntity()
77 public void setEntity(final HttpEntity entity) { in setEntity() argument
78 this.entity = entity; in setEntity()
DBasicHttpResponse.java62 private HttpEntity entity; field in BasicHttpResponse
130 return this.entity; in getEntity()
180 public void setEntity(final HttpEntity entity) { in setEntity() argument
181 this.entity = entity; in setEntity()
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
DXMLTokener.java39 public static final java.util.HashMap entity; field in XMLTokener
42 entity = new java.util.HashMap(8);
43 entity.put("amp", XML.AMP);
44 entity.put("apos", XML.APOS);
45 entity.put("gt", XML.GT);
46 entity.put("lt", XML.LT);
47 entity.put("quot", XML.QUOT);
140 Object e = entity.get(s); in nextEntity()
/external/apache-http/src/org/apache/http/client/utils/
DURLEncodedUtils.java99 final HttpEntity entity) throws IOException { in parse() argument
101 if (isEncoded(entity)) { in parse()
102 final String content = EntityUtils.toString(entity); in parse()
103 final Header encoding = entity.getContentEncoding(); in parse()
117 public static boolean isEncoded (final HttpEntity entity) { in isEncoded() argument
118 final Header contentType = entity.getContentType(); in isEncoded()

12345678910>>...15