HomeSort by relevance Sort by last modified time
    Searched refs:entity (Results 1 - 25 of 279) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/tagsoup/src/org/ccil/cowan/tagsoup/
HTMLSchema.java 17 elements, attributes, and character entity declarations. All the declarations
    [all...]
  /external/apache-http/src/org/apache/http/client/methods/
HttpEntityEnclosingRequestBase.java 52 private HttpEntity entity; field in class:HttpEntityEnclosingRequestBase
59 return this.entity;
62 public void setEntity(final HttpEntity entity) {
63 this.entity = entity;
75 if (this.entity != null) {
76 clone.entity = (HttpEntity) CloneUtils.clone(this.entity);
  /external/apache-http/src/org/apache/http/impl/client/
EntityEnclosingRequestWrapper.java 57 private HttpEntity entity; field in class:EntityEnclosingRequestWrapper
62 this.entity = request.getEntity();
66 return this.entity;
69 public void setEntity(final HttpEntity entity) {
70 this.entity = entity;
80 return this.entity == null || this.entity.isRepeatable();
BasicResponseHandler.java 75 HttpEntity entity = response.getEntity(); local
76 return entity == null ? null : EntityUtils.toString(entity);
  /external/apache-http/src/org/apache/http/impl/entity/
EntityDeserializer.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/entity/EntityDeserializer.java $
32 package org.apache.http.impl.entity;
40 import org.apache.http.entity.BasicHttpEntity;
41 import org.apache.http.entity.ContentLengthStrategy;
49 * Default implementation of an entity deserializer.
51 * This entity deserializer currently supports only "chunked" and "identitiy" transfer-coding</a>
75 BasicHttpEntity entity = new BasicHttpEntity(); local
79 entity.setChunked(true);
80 entity.setContentLength(-1);
81 entity.setContent(new ChunkedInputStream(inbuffer))
    [all...]
EntitySerializer.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/entity/EntitySerializer.java $
32 package org.apache.http.impl.entity;
40 import org.apache.http.entity.ContentLengthStrategy;
47 * Default implementation of an entity serializer.
49 * This entity serializer currently supports only "chunked" and "identitiy" transfer-coding</a>
86 final HttpEntity entity) throws HttpException, IOException {
93 if (entity == null) {
94 throw new IllegalArgumentException("HTTP entity may not be null");
97 entity.writeTo(outstream);
  /external/apache-http/src/org/apache/http/util/
EntityUtils.java 60 public static byte[] toByteArray(final HttpEntity entity) throws IOException {
61 if (entity == null) {
62 throw new IllegalArgumentException("HTTP entity may not be null");
64 InputStream instream = entity.getContent();
68 if (entity.getContentLength() > Integer.MAX_VALUE) {
69 throw new IllegalArgumentException("HTTP entity too large to be buffered in memory");
71 int i = (int)entity.getContentLength();
88 public static String getContentCharSet(final HttpEntity entity)
91 if (entity == null) {
92 throw new IllegalArgumentException("HTTP entity may not be null")
    [all...]
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
HasCoverage.java 27 public int compare(HasCoverage entity, HasCoverage otherEntity) {
28 int diff = Math.round(entity.getCoveragePercentage())
30 return diff != 0 ? diff : entity.getName().compareTo(otherEntity.getName());
  /external/apache-http/src/org/apache/http/
HttpEntityEnclosingRequest.java 35 * A request with an entity.
48 * whether to accept the entity enclosing request before the possibly
49 * lengthy entity is sent across the wire.
56 * Hands the entity to the request.
57 * @param entity the entity to send.
59 void setEntity(HttpEntity entity);
  /external/apache-http/src/org/apache/http/protocol/
RequestContent.java 73 HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity(); local
74 if (entity == null) {
79 if (entity.isChunked() || entity.getContentLength() < 0) {
86 request.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
89 if (entity.getContentType() != null && !request.containsHeader(
91 request.addHeader(entity.getContentType());
94 if (entity.getContentEncoding() != null && !request.containsHeader(
96 request.addHeader(entity.getContentEncoding());
ResponseContent.java 46 * A response interceptor that sets up entity-related headers.
73 HttpEntity entity = response.getEntity(); local
74 if (entity != null) {
75 long len = entity.getContentLength();
76 if (entity.isChunked() && !ver.lessEquals(HttpVersion.HTTP_1_0)) {
79 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
82 if (entity.getContentType() != null && !response.containsHeader(
84 response.addHeader(entity.getContentType());
87 if (entity.getContentEncoding() != null && !response.containsHeader(
89 response.addHeader(entity.getContentEncoding());
    [all...]
  /external/webkit/Source/WebCore/html/parser/
HTMLEntityTable.h 34 UChar lastCharacter() const { return entity[length - 1]; }
36 const UChar* entity; member in struct:WebCore::HTMLEntityTableEntry
create-html-entity-table 35 ENTITY = 0
38 def convert_entity_to_cpp_name(entity):
40 if entity[-1] == ";":
41 return "%sSemicolon%s" % (entity[:-1], postfix)
42 return "%s%s" % (entity, postfix)
45 def convert_entity_to_uchar_array(entity):
46 return "{'%s'}" % "', '".join(entity)
72 entries.sort(key = lambda entry: entry[ENTITY])
102 // THIS FILE IS GENERATED BY WebCore/html/parser/create-html-entity-table
115 convert_entity_to_cpp_name(entry[ENTITY]),
    [all...]
  /external/apache-http/src/org/apache/http/message/
BasicHttpEntityEnclosingRequest.java 42 * Basic implementation of a request with an entity that can be modified.
53 private HttpEntity entity; field in class:BasicHttpEntityEnclosingRequest
69 return this.entity;
72 public void setEntity(final HttpEntity entity) {
73 this.entity = entity;
  /external/apache-http/src/org/apache/http/entity/
ContentLengthStrategy.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/ContentLengthStrategy.java $
32 package org.apache.http.entity;
ContentProducer.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/ContentProducer.java $
32 package org.apache.http.entity;
38 * An abstract entity content producer.
BufferedHttpEntity.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/BufferedHttpEntity.java $
32 package org.apache.http.entity;
43 * A wrapping entity that buffers it content if necessary.
44 * The buffered entity is always repeatable.
45 * If the wrapped entity is repeatable itself, calls are passed through.
46 * If the wrapped entity is not repeatable, the content is read into a
59 public BufferedHttpEntity(final HttpEntity entity) throws IOException {
60 super(entity);
61 if (!entity.isRepeatable() || entity.getContentLength() < 0)
    [all...]
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/build/
JarListSanitizer.java 67 * Creates an entity from cached data.
81 * Creates an entity from a {@link File}.
203 for (JarEntity entity : jarList.values()) {
204 if (entity.getFile().exists() == false) {
205 results.add(entity.getFile());
225 JarEntity entity = jarList.get(path); local
227 if (entity == null) {
228 entity = new JarEntity(file);
229 jarList.put(path, entity);
232 updateJarList |= entity.checkValidity()
285 JarEntity entity = list.get(i); local
337 JarEntity entity = new JarEntity( local
379 JarEntity entity = list.get(i); local
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/level1/core/
documenttypegetentitiestype.java 32 * method implements the Entity interface.
67 Node entity; local
75 entity = (Node) entityList.item(indexN10049);
76 entityType = (int) entity.getNodeType();
  /libcore/dom/src/test/java/org/w3c/domts/level2/core/
getNamedItemNS03.java 34 * Entity nodes are not namespaced and should not be retrievable using
66 Entity entity; local
73 entity = (Entity) entities.getNamedItemNS(nullNS, "ent1");
74 assertNull("entityNull", entity);
  /external/jsilver/src/com/google/streamhtmlparser/util/
EntityResolver.java 28 * entity which we will discard.
52 * <li><code>&&lt;html-entity&gt;;</code> where
53 * <code>&lt;html-entity&gt;</code> is one of <code>lt</code>,
67 * trailing characters before the start of an entity.
70 * characters part of an entity.
72 * an entity. The caller can then invoke <code>getEntity</code>
99 * How many characters to store as we are processing an entity. Once we
100 * reach that size, we know the entity is definitely invalid. The size
118 /** Storage for received until characters until an HTML entity is complete. */
125 private String entity; field in class:EntityResolver
    [all...]
  /prebuilts/tools/common/http-client/
httpmime-4.1.1.jar 
  /packages/apps/Contacts/src/com/android/contacts/editor/
ViewIdGenerator.java 65 * @param entity {@link EntityDelta} associated with the view
71 public int getId(EntityDelta entity, DataKind kind, ValuesDelta values,
73 final String k = getMapKey(entity, kind, values, viewIndex);
84 private static String getMapKey(EntityDelta entity, DataKind kind, ValuesDelta values,
87 if (entity != null) {
88 sWorkStringBuilder.append(entity.getValues().getId());
  /external/jsilver/src/com/google/clearsilver/jsilver/functions/html/
HtmlStripFunction.java 32 // The maximum length of an entity (preceded by an &)
35 // The state the strip function can be, normal, in an amp escaped entity or
41 // Map of entity names to special characters.
98 // Holds the contents of an & (amp) entity before its decoded.
130 // Semi-colon terminates an entity, try and decode it.
146 // More than 8 chars, so not a valid entity, dump as plain text.
158 * Attempts to decode the entity provided, if it succeeds appends it to the out string.
160 * @param out the string builder to add the decoded entity to.
173 // Numbered entity.
179 // If the entity is not a numeric value, try looking it up by name
180 String entity = entityValues.get(entityName); local
    [all...]
  /frameworks/base/core/java/android/net/http/
AndroidHttpClientConnection.java 33 import org.apache.http.entity.BasicHttpEntity;
34 import org.apache.http.entity.ContentLengthStrategy;
37 import org.apache.http.impl.entity.EntitySerializer;
38 import org.apache.http.impl.entity.StrictContentLengthStrategy;
265 * Sends the request entity over the connection.
266 * @param request the request whose entity to send.
381 * Return the next response entity.
382 * @param headers contains values for parsing entity
387 BasicHttpEntity entity = new BasicHttpEntity(); local
391 entity.setChunked(true)
    [all...]

Completed in 629 milliseconds

1 2 3 4 5 6 7 8 91011>>