/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...] |
/external/chromium-trace/catapult/dashboard/dashboard/ |
stored_object.py | 13 App Engine datastore limits entity size to less than 1 MB; this module 34 # The limit for data stored in one datastore entity is 1 MB, 39 # Max bytes per entity or value cached with memcache. 66 entity = ndb.Key(MultipartEntity, key).get() 67 if not entity: 68 entity = MultipartEntity(id=key) 69 entity.SetData(value) 70 entity.Save() 89 entity = future.get_result() 90 if entity is None or not entity.size [all...] |
edit_sheriffs.py | 42 sheriff_dicts = {entity.key.string_id(): SheriffData(entity) 43 for entity in sheriff.Sheriff.query()} 54 sheriff_entity: A Sheriff entity.
|
units_to_direction.py | 21 entity = ndb.Key(UnitsToDirection, units).get() 22 if not entity: 24 if entity.bigger_is_better:
|
/external/apache-http/android/src/android/net/http/ |
AndroidHttpClientConnection.java | 30 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; 259 * Sends the request entity over the connection. 260 * @param request the request whose entity to send. 375 * Return the next response entity. 376 * @param headers contains values for parsing entity 381 BasicHttpEntity entity = new BasicHttpEntity(); local 385 entity.setChunked(true) [all...] |
/external/apache-http/src/org/apache/http/client/entity/ |
UrlEncodedFormEntity.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/entity/UrlEncodedFormEntity.java $ 31 package org.apache.http.client.entity; 37 import org.apache.http.entity.StringEntity; 41 * An entity composed of a list of url-encoded pairs.
|
/external/autotest/client/cros/cellular/mbim_compliance/sequences/ |
sequence.py | 8 from autotest_lib.client.cros.cellular.mbim_compliance import entity namespace 12 class Sequence(entity.Entity):
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/ |
Limit.java | 51 private CounterEntity entity; field in class:Limit 62 * <li>counter entity: {@link CounterEntity#INSTRUCTION} 69 this.entity = CounterEntity.INSTRUCTION; 74 * @return the configured counter entity to check 77 return entity; 81 * Sets the counter entity to check. 83 * @param entity 84 * counter entity to check 87 public void setCounter(final String entity) { 88 this.entity = CounterEntity.valueOf(entity) [all...] |
/external/nanohttpd/webserver/src/test/java/fi/iki/elonen/ |
TestHttpServer.java | 120 HttpEntity entity = response.getEntity(); local 121 String string = new String(readContents(entity), "UTF-8"); 127 entity = response.getEntity(); 128 string = new String(readContents(entity), "UTF-8"); 134 entity = response.getEntity(); 135 string = new String(readContents(entity), "UTF-8"); 141 entity = response.getEntity(); 143 byte[] actual = readContents(entity);
|
/external/apache-http/src/org/apache/http/ |
HttpResponse.java | 129 * Obtains the message entity of this response, if any. 130 * The entity is provided by calling {@link #setEntity setEntity}. 132 * @return the response entity, or 138 * Associates a response entity with this response. 140 * @param entity the entity to associate with this response, or 143 void setEntity(HttpEntity entity);
|
/external/apache-http/src/org/apache/http/impl/ |
DefaultConnectionReuseStrategy.java | 52 * request entity can be determined without closing the connection. 101 // Check for a self-terminating entity. If the end of the entity will 103 HttpEntity entity = response.getEntity(); 105 if (entity != null) { 106 if (entity.getContentLength() < 0) { 107 if (!entity.isChunked() ||
|
AbstractHttpClientConnection.java | 44 import org.apache.http.impl.entity.EntityDeserializer; 45 import org.apache.http.impl.entity.EntitySerializer; 46 import org.apache.http.impl.entity.LaxContentLengthStrategy; 47 import org.apache.http.impl.entity.StrictContentLengthStrategy; 198 HttpEntity entity = this.entitydeserializer.deserialize(this.inbuffer, response); local 199 response.setEntity(entity);
|
/external/apache-http/src/org/apache/http/protocol/ |
ResponseConnControl.java | 89 HttpEntity entity = response.getEntity(); local 90 if (entity != null) { 92 if (entity.getContentLength() < 0 && 93 (!entity.isChunked() || ver.lessEquals(HttpVersion.HTTP_1_0))) {
|
RequestExpectContinue.java | 71 HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity(); local 73 if (entity != null && entity.getContentLength() != 0) {
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/ |
ICoverageNode.java | 128 * @param entity 129 * entity we're we want to have the counter for 130 * @return counter for the given entity 132 public ICounter getCounter(CounterEntity entity);
|
/external/apache-http/src/org/apache/http/conn/ |
BasicManagedEntity.java | 38 import org.apache.http.entity.HttpEntityWrapper; 42 * An entity that releases a {@link ManagedClientConnection connection}. 44 * typically <i>not</i> return a managed entity, but you can replace 45 * the unmanaged entity in the response with a managed one. 71 * Creates a new managed entity that can release a connection. 73 * @param entity the entity of which to wrap the content. 74 * Note that the argument entity can no longer be used 76 * managed entity. 80 public BasicManagedEntity(HttpEntity entity, [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
namednodemapgetnameditemns01.java | 34 * Using the method getNamedItemNS, retreive the entity "ent1" and notation "notation1" 76 Entity entity; local 88 entity = (Entity) entities.getNamedItemNS(nullNS, "ent1"); 89 assertNull("entityNull", entity);
|
namednodemapsetnameditemns10.java | 37 * Attempt to add an entity to a NamedNodeMap of attribute nodes, 77 Entity entity; local 86 entity = (Entity) entities.getNamedItem("ent1"); 94 newNode = attributes.setNamedItemNS(entity);
|
/external/apache-http/src/org/apache/http/message/ |
BasicHttpResponse.java | 62 private HttpEntity entity; field in class:BasicHttpResponse 130 return this.entity; 180 public void setEntity(final HttpEntity entity) { 181 this.entity = entity;
|
/external/deqp/executor/ |
xeXMLParser.cpp | 276 error("Invalid entity"); 533 static char getEntityValue (const std::string& entity) 550 if (entity == s_entities[ndx].name) 561 std::string entity; local 562 m_tokenizer.getTokenStr(entity); 564 const char value = getEntityValue(entity); 566 error("Invalid entity '" + entity + "'");
|
/external/libxml2/ |
entities.c | 93 * xmlFreeEntity : clean-up an entity record. 96 xmlFreeEntity(xmlEntityPtr entity) 100 if (entity == NULL) 103 if (entity->doc != NULL) 104 dict = entity->doc->dict; 107 if ((entity->children) && (entity->owner == 1) && 108 (entity == (xmlEntityPtr) entity->children->parent)) 109 xmlFreeNodeList(entity->children) [all...] |
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/ |
OkApacheClientTest.java | 20 import org.apache.http.entity.ByteArrayEntity; 21 import org.apache.http.entity.InputStreamEntity; 22 import org.apache.http.entity.StringEntity; 196 HttpEntity entity = response.getEntity(); local 201 assertNotNull(entity.getContentEncoding()); 202 assertEquals("gzip", entity.getContentEncoding().getValue()); 204 assertEquals(text, gunzip(entity)); 217 HttpEntity entity = response.getEntity(); local 222 assertNotNull(entity.getContentEncoding()); 223 assertEquals("gzip", entity.getContentEncoding().getValue()) 242 HttpEntity entity = response.getEntity(); local [all...] |
/frameworks/base/libs/androidfw/ |
BackupData.cpp | 123 if (kIsDebug) ALOGI("writing entity header, %zu bytes", sizeof(entity_header_v1)); 131 if (kIsDebug) ALOGI("writing entity header key, %zd bytes", keyLen+1); 258 m_header.entity.keyLen = fromlel(m_header.entity.keyLen); 259 if (m_header.entity.keyLen <= 0) { 260 ALOGD("Entity header at %d has keyLen<=0: 0x%08x\n", (int)m_pos, 261 (int)m_header.entity.keyLen); 264 m_header.entity.dataSize = fromlel(m_header.entity.dataSize); 268 size_t size = m_header.entity.keyLen [all...] |
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/ |
context.py | 53 # TODO(user): Do batching by entity size if cheap. b/10427424 72 """Return an entity from an entity or model instance.""" 81 """Return a key from an entity, model instance, key, or key string.""" 188 """Whether to flush before append the next entity. 249 def put(self, entity): 250 """Registers entity to put to datastore. 253 entity: an entity or model instance to put. 255 actual_entity = _normalize_entity(entity) [all...] |
/external/apache-http/src/org/apache/http/client/utils/ |
URLEncodedUtils.java | 88 * {@link HttpEntity}. The encoding is taken from the entity's 93 * @param entity 94 * The entity to parse 96 * If there was an exception getting the entity's data. 99 final HttpEntity entity) throws IOException { 101 if (isEncoded(entity)) { 102 final String content = EntityUtils.toString(entity); 103 final Header encoding = entity.getContentEncoding(); 114 * Returns true if the entity's Content-Type header is 117 public static boolean isEncoded (final HttpEntity entity) { [all...] |