/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
HTMLSchema.java | 17 elements, attributes, and character entity declarations. All the declarations [all...] |
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/operation/ |
db.py | 30 """Put entity into datastore via mutation_pool. 35 def __init__(self, entity): 39 entity: an entity to put. 41 self.entity = entity 49 context._mutation_pool.put(self.entity) 53 """Delete entity from datastore via mutation_pool. 58 def __init__(self, entity): 62 entity: a key or model instance to delete [all...] |
/external/chromium-trace/catapult/dashboard/dashboard/models/ |
bug_label_patterns.py | 15 # String ID for the single BugLabelPatterns entity. 22 There should only ever be one BugLabelPatterns entity, and it has a single 30 """Fetches the single BugLabelPatterns entity.""" 31 entity = ndb.Key(BugLabelPatterns, _ID).get() 32 if entity: 33 return entity 34 entity = BugLabelPatterns(id=_ID) 35 entity.labels_to_patterns = {} 36 entity.put() 37 return entity [all...] |
/external/apache-http/src/org/apache/http/client/methods/ |
HttpEntityEnclosingRequestBase.java | 57 private HttpEntity entity; field in class:HttpEntityEnclosingRequestBase 64 return this.entity; 67 public void setEntity(final HttpEntity entity) { 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/ |
EntityEnclosingRequestWrapper.java | 62 private HttpEntity entity; field in class:EntityEnclosingRequestWrapper 67 this.entity = request.getEntity(); 71 return this.entity; 74 public void setEntity(final HttpEntity entity) { 75 this.entity = entity; 85 return this.entity == null || this.entity.isRepeatable();
|
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/ |
HttpEntityBody.java | 13 private final HttpEntity entity; field in class:HttpEntityBody 16 HttpEntityBody(HttpEntity entity, String contentTypeHeader) { 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/ |
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> 80 BasicHttpEntity entity = new BasicHttpEntity(); local 84 entity.setChunked(true); 85 entity.setContentLength(-1); 86 entity.setContent(new ChunkedInputStream(inbuffer)) [all...] |
/external/apache-http/src/org/apache/http/util/ |
EntityUtils.java | 65 public static byte[] toByteArray(final HttpEntity entity) throws IOException { 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) 96 if (entity == null) { 97 throw new IllegalArgumentException("HTTP entity may not be null") [all...] |
/external/apache-http/src/org/apache/http/ |
HttpEntityEnclosingRequest.java | 35 * 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);
|
/external/apache-http/src/org/apache/http/protocol/ |
RequestContent.java | 78 HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity(); local 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());
|
ResponseContent.java | 46 * A response interceptor that sets up entity-related headers. 78 HttpEntity entity = response.getEntity(); local 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.getContentEncoding()); [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/ |
CounterColumn.java | 37 * 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, 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, [all...] |
/external/autotest/client/cros/cellular/mbim_compliance/assertions/ |
assertion.py | 6 from autotest_lib.client.cros.cellular.mbim_compliance import entity namespace 10 class Assertion(entity.Entity):
|
/external/apache-http/src/org/apache/http/message/ |
BasicHttpEntityEnclosingRequest.java | 42 * 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) { 78 this.entity = entity;
|
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/ |
ManualLocalTransactionsTest.java | 62 JpaTestEntity entity = injector.getInstance(TransactionalObject.class).runOperationInTxn(); local 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(); local 91 entity.setText(UNIQUE_TEXT); 92 em.persist(entity); 94 return entity; 99 JpaTestEntity entity = new JpaTestEntity(); local 100 entity.setText(UNIQUE_TEXT_2) [all...] |
ManualLocalTransactionsWithCustomMatcherTest.java | 65 JpaTestEntity entity = injector local 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(); local 94 entity.setText(UNIQUE_TEXT); 95 em.persist(entity); 97 return entity; 102 JpaTestEntity entity = new JpaTestEntity(); local 103 entity.setText(UNIQUE_TEXT_2) [all...] |
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpmime/4.3.2/ |
httpmime-4.3.2.jar | |
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
HasCoverage.java | 28 public int compare(HasCoverage entity, HasCoverage otherEntity) { 29 int lhsPct = Math.round(entity.getCoveragePercentage()); 34 Integer.compare(otherEntity.getMemberSize(), entity.getMemberSize());
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/addlhelp/ |
projects.py | 53 "entity": "group-00b4903a9740e42c29800f53bd5a9a62a2f96eb3f64a4313a115df3f3a776bf7", 58 "entity": "group-00b4903a977fd817e9da167bc81306489181a110456bb635f466d71cf90a0d51", 63 "entity": "00b4903a974898cc8fc309f2f2835308ba3d3df1b889d3fc7e33e187d52d8e71",
|
/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 64 public BufferedHttpEntity(final HttpEntity entity) throws IOException { 65 super(entity); 66 if (!entity.isRepeatable() || entity.getContentLength() < 0) [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/ |
NodeComparator.java | 35 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);
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
edit_config_handler.py | 61 parameters for specific properties of the entity being edited. 76 """Adds adds a new entity according to the request parameters.""" 82 'Entity "%s" already exists, cannot add.' % name) 83 entity = self._model_class(id=name) 84 self._UpdateAndReportResults(entity) 87 """Edits an existing entity according to the request parameters.""" 91 entity = self._model_class.get_by_id(name) 92 if not entity: 94 'Entity "%s" does not exist, cannot edit.' % name) 95 self._UpdateAndReportResults(entity) [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
BaseWorld.java | 50 public void add (final T entity) { 51 entities.add(entity); 55 final T entity = constructors.get(type).construct(x, y, z); local 56 add(entity); 57 return entity; 61 final T entity = constructors.get(type).construct(transform); local 62 add(entity); 63 return entity; 76 public void render (final ModelBatch batch, final Environment lights, final T entity) { 77 batch.render(entity.modelInstance, lights) [all...] |