Searched refs:entity (Results 1 - 25 of 198) sorted by relevance

12345678

/external/tagsoup/src/org/ccil/cowan/tagsoup/
H A DHTMLSchema.java17 elements, attributes, and character entity declarations. All the declarations
779 entity("Aacgr", 0x0386);
780 entity("aacgr", 0x03AC);
781 entity("Aacute", 0x00C1);
782 entity("aacute", 0x00E1);
783 entity("Abreve", 0x0102);
784 entity("abreve", 0x0103);
785 entity("ac", 0x223E);
786 entity("acd", 0x223F);
787 entity("Acir
[all...]
/external/apache-http/src/org/apache/http/client/methods/
H A DHttpEntityEnclosingRequestBase.java57 private HttpEntity entity; field in class:HttpEntityEnclosingRequestBase
64 return this.entity;
67 public void setEntity(final HttpEntity entity) { argument
68 this.entity = entity;
80 if (this.entity != null) {
81 clone.entity = (HttpEntity) CloneUtils.clone(this.entity);
/external/apache-http/src/org/apache/http/impl/client/
H A DEntityEnclosingRequestWrapper.java62 private HttpEntity entity; field in class:EntityEnclosingRequestWrapper
67 this.entity = request.getEntity();
71 return this.entity;
74 public void setEntity(final HttpEntity entity) { argument
75 this.entity = entity;
85 return this.entity == null || this.entity.isRepeatable();
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
H A DHttpEntityBody.java13 private final HttpEntity entity; field in class:HttpEntityBody
16 HttpEntityBody(HttpEntity entity, String contentTypeHeader) { argument
17 this.entity = entity;
21 } else if (entity.getContentType() != null) {
22 mediaType = MediaType.parse(entity.getContentType().getValue());
24 // Apache is forgiving and lets you skip specifying a content type with an entity. OkHttp is
31 return entity.getContentLength();
39 entity.writeTo(sink.outputStream());
/external/apache-http/src/org/apache/http/impl/entity/
H A DEntityDeserializer.java2 * $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>
80 BasicHttpEntity entity = new BasicHttpEntity();
84 entity.setChunked(true);
85 entity.setContentLength(-1);
86 entity
[all...]
H A DEntitySerializer.java2 * $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>
91 final HttpEntity entity) throws HttpException, IOException {
98 if (entity == null) {
99 throw new IllegalArgumentException("HTTP entity may not be null");
102 entity.writeTo(outstream);
88 serialize( final SessionOutputBuffer outbuffer, final HttpMessage message, final HttpEntity entity) argument
/external/apache-http/src/org/apache/http/util/
H A DEntityUtils.java65 public static byte[] toByteArray(final HttpEntity entity) throws IOException { argument
66 if (entity == null) {
67 throw new IllegalArgumentException("HTTP entity may not be null");
69 InputStream instream = entity.getContent();
73 if (entity.getContentLength() > Integer.MAX_VALUE) {
74 throw new IllegalArgumentException("HTTP entity too large to be buffered in memory");
76 int i = (int)entity.getContentLength();
93 public static String getContentCharSet(final HttpEntity entity) argument
96 if (entity == null) {
97 throw new IllegalArgumentException("HTTP entity ma
112 toString( final HttpEntity entity, final String defaultCharset) argument
149 toString(final HttpEntity entity) argument
[all...]
/external/apache-http/src/org/apache/http/
H A DHttpEntityEnclosingRequest.java35 * A request with an entity.
53 * whether to accept the entity enclosing request before the possibly
54 * lengthy entity is sent across the wire.
61 * Hands the entity to the request.
62 * @param entity the entity to send.
64 void setEntity(HttpEntity entity); argument
/external/apache-http/src/org/apache/http/protocol/
H A DRequestContent.java78 HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity();
79 if (entity == null) {
84 if (entity.isChunked() || entity.getContentLength() < 0) {
91 request.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
94 if (entity.getContentType() != null && !request.containsHeader(
96 request.addHeader(entity.getContentType());
99 if (entity.getContentEncoding() != null && !request.containsHeader(
101 request.addHeader(entity.getContentEncoding());
H A DResponseContent.java46 * A response interceptor that sets up entity-related headers.
78 HttpEntity entity = response.getEntity();
79 if (entity != null) {
80 long len = entity.getContentLength();
81 if (entity.isChunked() && !ver.lessEquals(HttpVersion.HTTP_1_0)) {
84 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
87 if (entity.getContentType() != null && !response.containsHeader(
89 response.addHeader(entity.getContentType());
92 if (entity.getContentEncoding() != null && !response.containsHeader(
94 response.addHeader(entity
[all...]
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/
H A DCounterColumn.java37 * Creates a new column that shows the total count for the given entity.
39 * @param entity
40 * counter entity for this column
45 public static CounterColumn newTotal(final CounterEntity entity, argument
47 return new CounterColumn(entity, locale, CounterComparator.TOTALITEMS
48 .reverse().on(entity)) {
57 * Creates a new column that shows the missed count for the given entity.
59 * @param entity
60 * counter entity for this column
65 public static CounterColumn newMissed(final CounterEntity entity, argument
85 newCovered(final CounterEntity entity, final Locale locale) argument
96 private final CounterEntity entity; field in class:CounterColumn
113 CounterColumn(final CounterEntity entity, final Locale locale, final Comparator<ICoverageNode> comparator) argument
[all...]
H A DBarColumn.java38 private final CounterEntity entity; field in class:BarColumn
48 * entity.
50 * @param entity
51 * counter entity for visualization
55 public BarColumn(final CounterEntity entity, final Locale locale) { argument
56 this.entity = entity;
59 .reverse().on(entity)
60 .second(CounterComparator.TOTALITEMS.reverse().on(entity)));
67 final int count = item.getNode().getCounter(entity)
[all...]
/external/autotest/client/cros/cellular/mbim_compliance/assertions/
H A Dassertion.py6 from autotest_lib.client.cros.cellular.mbim_compliance import entity namespace
10 class Assertion(entity.Entity):
/external/tensorflow/tensorflow/contrib/py2tf/pyct/
H A Dparser.py31 def parse_entity(entity):
32 """Return the AST of given entity."""
33 source = tf_inspect.getsource(entity)
/external/apache-http/src/org/apache/http/message/
H A DBasicHttpEntityEnclosingRequest.java42 * Basic implementation of a request with an entity that can be modified.
58 private HttpEntity entity; field in class:BasicHttpEntityEnclosingRequest
74 return this.entity;
77 public void setEntity(final HttpEntity entity) { argument
78 this.entity = entity;
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/
H A DManualLocalTransactionsTest.java62 JpaTestEntity entity = injector.getInstance(TransactionalObject.class).runOperationInTxn();
65 //persisted entity should remain in the same em (which should still be open)
67 injector.getInstance(EntityManager.class).contains(entity));
68 assertTrue("EntityManager appears to have been closed across txns!", em.contains(entity));
90 JpaTestEntity entity = new JpaTestEntity();
91 entity.setText(UNIQUE_TEXT);
92 em.persist(entity);
94 return entity;
99 JpaTestEntity entity = new JpaTestEntity();
100 entity
[all...]
H A DManualLocalTransactionsWithCustomMatcherTest.java65 JpaTestEntity entity = injector
71 //persisted entity should remain in the same em (which should still be open)
73 injector.getInstance(EntityManager.class).contains(entity));
74 assertTrue("EntityManager appears to have been closed across txns!", em.contains(entity));
93 JpaTestEntity entity = new JpaTestEntity();
94 entity.setText(UNIQUE_TEXT);
95 em.persist(entity);
97 return entity;
102 JpaTestEntity entity = new JpaTestEntity();
103 entity
[all...]
H A DManagedLocalTransactionsTest.java72 assertEquals("queried entity did not match--did automatic txn fail?",
77 JpaTestEntity entity = injector.getInstance(TransactionalObject.class)
92 assertEquals("queried entity did not match--did automatic txn fail?",
148 JpaTestEntity entity = new JpaTestEntity();
149 entity.setText(UNIQUE_TEXT);
150 em.persist(entity);
155 JpaTestEntity entity = new JpaTestEntity();
156 entity.setText(UNIQUE_TEXT_MERGE);
157 return em.merge(entity);
162 JpaTestEntity entity
[all...]
H A DManagedLocalTransactionsAcrossRequestTest.java75 assertEquals("queried entity did not match--did automatic txn fail?",
83 JpaTestEntity entity = injector.getInstance(TransactionalObject.class)
86 assertNotNull("Entity was not given an id (was not persisted correctly?)", entity.getId());
94 assertTrue("Merge did not store state or did not return persistent copy", em.contains(entity));
102 assertEquals("queried entity did not match--did automatic txn fail?",
110 JpaTestEntity entity = injector.getInstance(TransactionalObject.class)
119 assertTrue("Merge did not store state or did not return persistent copy", em.contains(entity));
127 assertEquals("queried entity did not match--did automatic txn fail?",
189 JpaTestEntity entity = new JpaTestEntity();
190 entity
[all...]
/external/apache-http/src/org/apache/http/entity/
H A DContentLengthStrategy.java2 * $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;
H A DContentProducer.java2 * $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.
H A DBufferedHttpEntity.java2 * $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
64 public BufferedHttpEntity(final HttpEntity entity) throws IOException { argument
65 super(entity);
66 if (!entity.isRepeatable() || entity
[all...]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
H A DNodeComparator.java35 private final CounterEntity entity; field in class:NodeComparator
38 final CounterEntity entity) {
40 this.entity = entity;
82 final ICounter c1 = n1.getCounter(entity);
83 final ICounter c2 = n2.getCounter(entity);
37 NodeComparator(final Comparator<ICounter> counterComparator, final CounterEntity entity) argument
/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/
H A DTestNanolets.java112 HttpEntity entity = response.getEntity();
113 String string = new String(readContents(entity), "UTF-8");
120 entity = response.getEntity();
121 string = new String(readContents(entity), "UTF-8");
128 entity = response.getEntity();
129 string = new String(readContents(entity), "UTF-8");
136 entity = response.getEntity();
137 string = new String(readContents(entity), "UTF-8");
149 HttpEntity entity = response.getEntity();
150 String string = new String(readContents(entity), "UT
299 readContents(HttpEntity entity) argument
[all...]
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/
H A DParamsParserTest.java10 import org.apache.http.entity.StringEntity;
17 StringEntity entity = new StringEntity("param1=foobar");
18 entity.setContentType("application/x-www-form-urlencoded");
19 post.setEntity(entity);
27 StringEntity entity = new StringEntity("param1=foobar");
28 entity.setContentType("application/x-www-form-urlencoded");
29 put.setEntity(entity);

Completed in 9652 milliseconds

12345678