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

123456789

/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/chromium_org/sync/syncable/
H A Dsyncable_proto_util.cc19 bool IsFolder(const sync_pb::SyncEntity& entity) { argument
23 return ((entity.has_folder() && entity.folder()) ||
24 (entity.has_bookmarkdata() &&
25 entity.bookmarkdata().bookmark_folder()));
28 bool IsRoot(const sync_pb::SyncEntity& entity) { argument
29 return SyncableIdFromProto(entity.id_string()).IsRoot();
H A Dsyncable_proto_util.h30 bool IsFolder(const sync_pb::SyncEntity& entity);
34 bool IsRoot(const sync_pb::SyncEntity& entity);
/external/chromium_org/sync/engine/
H A Dmodel_type_entity_unittest.cc49 scoped_ptr<ModelTypeEntity> entity(
52 EXPECT_TRUE(entity->IsWriteRequired());
53 EXPECT_TRUE(entity->IsUnsynced());
54 EXPECT_FALSE(entity->UpdateIsReflection(1));
55 EXPECT_TRUE(entity->UpdateIsInConflict(1));
59 scoped_ptr<ModelTypeEntity> entity(
70 EXPECT_TRUE(entity->IsWriteRequired());
71 EXPECT_FALSE(entity->IsUnsynced());
72 EXPECT_TRUE(entity->UpdateIsReflection(9));
73 EXPECT_TRUE(entity
[all...]
H A Dentity_tracker_unittest.cc47 // Construct a new entity from a server update. Then receive another update.
49 scoped_ptr<EntityTracker> entity(
51 EXPECT_FALSE(entity->IsCommitPending());
53 entity->ReceiveUpdate(20);
54 EXPECT_FALSE(entity->IsCommitPending());
57 // Construct a new entity from a commit request. Then serialize it.
59 scoped_ptr<EntityTracker> entity(
70 ASSERT_TRUE(entity->IsCommitPending());
73 entity->PrepareCommitProto(&pb_entity, &sequence_number);
87 // Start with a server initiated entity
[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();
H A DBasicResponseHandler.java80 HttpEntity entity = response.getEntity();
81 return entity == null ? null : EntityUtils.toString(entity);
/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/chromium_org/sync/test/engine/
H A Dsingle_type_mock_server.cc21 sync_pb::SyncEntity entity; local
23 entity.set_id_string(type_root_id_);
24 entity.set_parent_id_string("r");
25 entity.set_version(1000);
26 entity.set_ctime(TimeToProtoTime(base::Time::UnixEpoch()));
27 entity.set_mtime(TimeToProtoTime(base::Time::UnixEpoch()));
28 entity.set_server_defined_unique_tag(ModelTypeToRootTag(type_));
29 entity.set_deleted(false);
30 AddDefaultFieldValue(type_, entity.mutable_specifics());
32 return entity;
45 sync_pb::SyncEntity entity; local
73 sync_pb::SyncEntity entity; local
[all...]
/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/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/chromium_org/sync/test/fake_server/
H A Dfake_server.cc79 // Determines whether the server should send an |entity| to the client as
81 bool ClientWantsItem(FakeServerEntity* entity) const {
82 int64 version = entity->GetVersion();
85 } else if (entity->IsDeleted()) {
90 request_from_version_.find(entity->GetModelType());
213 void FakeServer::SaveEntity(FakeServerEntity* entity) { argument
214 delete entities_[entity->GetId()];
215 entity->SetVersion(++version_);
216 entities_[entity->GetId()] = entity;
288 FakeServerEntity* entity = it->second; local
324 FakeServerEntity* entity; local
363 BuildEntryResponseForSuccessfulCommit( sync_pb::CommitResponse_EntryResponse* entry_response, FakeServerEntity* entity) argument
445 FakeServerEntity* entity = entities_[entity_id]; local
465 FakeServerEntity* entity = it->second; local
486 InjectEntity(scoped_ptr<FakeServerEntity> entity) argument
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dapp_sync_data_unittest.cc38 sync_pb::EntitySpecifics entity; local
39 sync_pb::AppSpecifics* app_specifics = entity.mutable_app();
48 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity);
60 sync_pb::EntitySpecifics entity; local
61 sync_pb::AppSpecifics* input_specifics = entity.mutable_app();
70 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity);
83 sync_pb::EntitySpecifics entity; local
84 sync_pb::AppSpecifics* app_specifics = entity.mutable_app();
92 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity);
H A Dextension_sync_data_unittest.cc27 sync_pb::EntitySpecifics entity; local
28 sync_pb::ExtensionSpecifics* extension_specifics = entity.mutable_extension();
36 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity);
52 sync_pb::EntitySpecifics entity; local
53 sync_pb::ExtensionSpecifics* input_extension = entity.mutable_extension();
61 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity);
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
H A DXMLTokener.java36 /** The table of entity values. It initially contains Character values for
39 public static final java.util.HashMap entity; field in class: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);
121 * Return the next entity. These entities are translated to Characters:
124 * @return A Character or an entity Strin
[all...]
/external/jsilver/src/com/google/streamhtmlparser/util/
H A DEntityResolver.java28 * 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...]
/external/smack/src/com/kenai/jbosh/
H A DApacheHTTPResponse.java27 import org.apache.http.entity.ByteArrayEntity;
146 ByteArrayEntity entity = new ByteArrayEntity(data);
147 entity.setContentType(CONTENT_TYPE);
149 entity.setContentEncoding(encoding);
151 post.setEntity(entity);
228 HttpEntity entity = null;
231 entity = httpResp.getEntity();
232 byte[] data = EntityUtils.toByteArray(entity);
233 String encoding = entity.getContentEncoding() != null ?
234 entity
[all...]

Completed in 2899 milliseconds

123456789