Home
last modified time | relevance | path

Searched refs:entity (Results 1 – 25 of 546) sorted by relevance

12345678910>>...22

/external/tagsoup/src/org/ccil/cowan/tagsoup/
DHTMLSchema.java779 entity("Aacgr", 0x0386); in HTMLSchema()
780 entity("aacgr", 0x03AC); in HTMLSchema()
781 entity("Aacute", 0x00C1); in HTMLSchema()
782 entity("aacute", 0x00E1); in HTMLSchema()
783 entity("Abreve", 0x0102); in HTMLSchema()
784 entity("abreve", 0x0103); in HTMLSchema()
785 entity("ac", 0x223E); in HTMLSchema()
786 entity("acd", 0x223F); in HTMLSchema()
787 entity("Acirc", 0x00C2); in HTMLSchema()
788 entity("acirc", 0x00E2); in HTMLSchema()
[all …]
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/data/tokenization/
DnumericEntities.test3 {"description": "Invalid numeric entity character U+0000",
7 {"description": "Invalid numeric entity character U+0001",
11 {"description": "Invalid numeric entity character U+0002",
15 {"description": "Invalid numeric entity character U+0003",
19 {"description": "Invalid numeric entity character U+0004",
23 {"description": "Invalid numeric entity character U+0005",
27 {"description": "Invalid numeric entity character U+0006",
31 {"description": "Invalid numeric entity character U+0007",
35 {"description": "Invalid numeric entity character U+0008",
39 {"description": "Invalid numeric entity character U+000B",
[all …]
DnamedEntities.test5 "description": "Named entity: AElig without a semi-colon",
16 "description": "Named entity: AElig; with a semi-colon",
26 "description": "Named entity: AMP without a semi-colon",
37 "description": "Named entity: AMP; with a semi-colon",
47 "description": "Named entity: Aacute without a semi-colon",
58 "description": "Named entity: Aacute; with a semi-colon",
68 "description": "Bad named entity: Abreve without a semi-colon",
79 "description": "Named entity: Abreve; with a semi-colon",
89 "description": "Named entity: Acirc without a semi-colon",
100 "description": "Named entity: Acirc; with a semi-colon",
[all …]
Dentities.test3 {"description": "Undefined named entity in attribute value ending in semicolon and whose name start…
11 {"description": "CR as numeric entity",
15 {"description": "CR as hexadecimal numeric entity",
19 {"description": "Windows-1252 EURO SIGN numeric entity.",
23 {"description": "Windows-1252 REPLACEMENT CHAR numeric entity.",
27 {"description": "Windows-1252 SINGLE LOW-9 QUOTATION MARK numeric entity.",
31 {"description": "Windows-1252 LATIN SMALL LETTER F WITH HOOK numeric entity.",
35 {"description": "Windows-1252 DOUBLE LOW-9 QUOTATION MARK numeric entity.",
39 {"description": "Windows-1252 HORIZONTAL ELLIPSIS numeric entity.",
43 {"description": "Windows-1252 DAGGER numeric entity.",
[all …]
/external/chromium-trace/catapult/dashboard/dashboard/models/
Dbug_label_patterns.py31 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
57 entity = _Get()
58 if label not in entity.labels_to_patterns:
59 entity.labels_to_patterns[label] = []
[all …]
/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/
DTestNanolets.java112 HttpEntity entity = response.getEntity(); in doSomeBasicMethodTest() local
113 String string = new String(readContents(entity), "UTF-8"); in doSomeBasicMethodTest()
120 entity = response.getEntity(); in doSomeBasicMethodTest()
121 string = new String(readContents(entity), "UTF-8"); in doSomeBasicMethodTest()
128 entity = response.getEntity(); in doSomeBasicMethodTest()
129 string = new String(readContents(entity), "UTF-8"); in doSomeBasicMethodTest()
136 entity = response.getEntity(); in doSomeBasicMethodTest()
137 string = new String(readContents(entity), "UTF-8"); in doSomeBasicMethodTest()
149 HttpEntity entity = response.getEntity(); in doNonRouterRequest() local
150 String string = new String(readContents(entity), "UTF-8"); in doNonRouterRequest()
[all …]
/external/apache-http/src/org/apache/http/impl/entity/
DEntityDeserializer.java32 package org.apache.http.impl.entity;
40 import org.apache.http.entity.BasicHttpEntity;
41 import org.apache.http.entity.ContentLengthStrategy;
80 BasicHttpEntity entity = new BasicHttpEntity(); in doDeserialize() local
84 entity.setChunked(true); in doDeserialize()
85 entity.setContentLength(-1); in doDeserialize()
86 entity.setContent(new ChunkedInputStream(inbuffer)); in doDeserialize()
88 entity.setChunked(false); in doDeserialize()
89 entity.setContentLength(-1); in doDeserialize()
90 entity.setContent(new IdentityInputStream(inbuffer)); in doDeserialize()
[all …]
/external/apache-http/src/org/apache/http/util/
DEntityUtils.java65 public static byte[] toByteArray(final HttpEntity entity) throws IOException { in toByteArray() argument
66 if (entity == null) { in toByteArray()
69 InputStream instream = entity.getContent(); in toByteArray()
73 if (entity.getContentLength() > Integer.MAX_VALUE) { in toByteArray()
76 int i = (int)entity.getContentLength(); in toByteArray()
93 public static String getContentCharSet(final HttpEntity entity) in getContentCharSet() argument
96 if (entity == null) { in getContentCharSet()
100 if (entity.getContentType() != null) { in getContentCharSet()
101 HeaderElement values[] = entity.getContentType().getElements(); in getContentCharSet()
113 … final HttpEntity entity, final String defaultCharset) throws IOException, ParseException { in toString() argument
[all …]
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/
DCounterColumn.java45 public static CounterColumn newTotal(final CounterEntity entity, in newTotal() argument
47 return new CounterColumn(entity, locale, CounterComparator.TOTALITEMS in newTotal()
48 .reverse().on(entity)) { in newTotal()
65 public static CounterColumn newMissed(final CounterEntity entity,
67 return new CounterColumn(entity, locale, CounterComparator.MISSEDITEMS
68 .reverse().on(entity)) {
85 public static CounterColumn newCovered(final CounterEntity entity,
87 return new CounterColumn(entity, locale, CounterComparator.COVEREDITEMS
88 .reverse().on(entity)) {
96 private final CounterEntity entity;
[all …]
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/
DManagedLocalTransactionsAcrossRequestTest.java83 JpaTestEntity entity = injector.getInstance(TransactionalObject.class) in testSimpleTransactionWithMerge() local
86 assertNotNull("Entity was not given an id (was not persisted correctly?)", entity.getId()); in testSimpleTransactionWithMerge()
94 assertTrue("Merge did not store state or did not return persistent copy", em.contains(entity)); in testSimpleTransactionWithMerge()
110 JpaTestEntity entity = injector.getInstance(TransactionalObject.class) in disabled_testSimpleTransactionWithMergeAndDF() local
119 assertTrue("Merge did not store state or did not return persistent copy", em.contains(entity)); in disabled_testSimpleTransactionWithMergeAndDF()
189 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn() local
190 entity.setText(UNIQUE_TEXT); in runOperationInTxn()
191 em.persist(entity); in runOperationInTxn()
196 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnWithMerge() local
197 entity.setText(UNIQUE_TEXT_MERGE); in runOperationInTxnWithMerge()
[all …]
DManualLocalTransactionsWithCustomMatcherTest.java65 JpaTestEntity entity = injector in testSimpleCrossTxnWork() local
73 injector.getInstance(EntityManager.class).contains(entity)); in testSimpleCrossTxnWork()
74 assertTrue("EntityManager appears to have been closed across txns!", em.contains(entity)); in testSimpleCrossTxnWork()
93 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn() local
94 entity.setText(UNIQUE_TEXT); in runOperationInTxn()
95 em.persist(entity); in runOperationInTxn()
97 return entity; in runOperationInTxn()
102 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn2() local
103 entity.setText(UNIQUE_TEXT_2); in runOperationInTxn2()
104 em.persist(entity); in runOperationInTxn2()
DManualLocalTransactionsTest.java62 JpaTestEntity entity = injector.getInstance(TransactionalObject.class).runOperationInTxn(); in testSimpleCrossTxnWork() local
67 injector.getInstance(EntityManager.class).contains(entity)); in testSimpleCrossTxnWork()
68 assertTrue("EntityManager appears to have been closed across txns!", em.contains(entity)); in testSimpleCrossTxnWork()
90 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn() local
91 entity.setText(UNIQUE_TEXT); in runOperationInTxn()
92 em.persist(entity); in runOperationInTxn()
94 return entity; in runOperationInTxn()
99 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn2() local
100 entity.setText(UNIQUE_TEXT_2); in runOperationInTxn2()
101 em.persist(entity); in runOperationInTxn2()
DManagedLocalTransactionsTest.java77 JpaTestEntity entity = injector.getInstance(TransactionalObject.class) in testSimpleTransactionWithMerge() local
148 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn() local
149 entity.setText(UNIQUE_TEXT); in runOperationInTxn()
150 em.persist(entity); in runOperationInTxn()
155 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnWithMerge() local
156 entity.setText(UNIQUE_TEXT_MERGE); in runOperationInTxnWithMerge()
157 return em.merge(entity); in runOperationInTxnWithMerge()
162 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingChecked() local
163 entity.setText(TRANSIENT_UNIQUE_TEXT); in runOperationInTxnThrowingChecked()
164 em.persist(entity); in runOperationInTxnThrowingChecked()
[all …]
DClassLevelManagedLocalTransactionsTest.java155 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn() local
156 entity.setText(UNIQUE_TEXT); in runOperationInTxn()
157 session.persist(entity); in runOperationInTxn()
169 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingUnchecked() local
170 entity.setText(TRANSIENT_UNIQUE_TEXT); in runOperationInTxnThrowingUnchecked()
171 session.persist(entity); in runOperationInTxnThrowingUnchecked()
183 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingCheckedExcepting() local
184 entity.setText(UNIQUE_TEXT_2); in runOperationInTxnThrowingCheckedExcepting()
185 session.persist(entity); in runOperationInTxnThrowingCheckedExcepting()
197 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingChecked() local
[all …]
/external/chromium-trace/catapult/dashboard/dashboard/
Dedit_config_handler.py78 entity = self._model_class(id=name)
79 self._UpdateAndReportResults(entity)
86 entity = self._model_class.get_by_id(name)
87 if not entity:
90 self._UpdateAndReportResults(entity)
92 def _UpdateAndReportResults(self, entity): argument
96 entity.patterns, new_patterns)
97 entity.patterns = new_patterns
98 self._UpdateFromRequestParameters(entity)
99 entity.put()
[all …]
Dmr.py42 def SaveAllMapper(entity): argument
54 entity.put()
73 def DeprecateTestsMapper(entity): argument
90 if entity.key.kind() != 'Test' or not entity.has_rows or entity.deprecated:
94 entity.key.kind(), entity.has_rows, entity.deprecated)
99 query = graph_data.Row.query(graph_data.Row.parent_test == entity.key)
104 logging.error('No rows for %s (but has_rows=True)', entity.key)
109 for operation in _MarkDeprecated(entity):
112 for operation in _CreateStoppageAlerts(entity, last_row):
Dstored_object.py66 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:
93 string_id = entity.key.string_id()
95 for i in xrange(entity.size)]
98 entity.SetData(pickle.loads(serialized))
[all …]
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/operation/
Ddb.py35 def __init__(self, entity): argument
41 self.entity = entity
49 context._mutation_pool.put(self.entity)
58 def __init__(self, entity): argument
64 self.entity = entity
72 context._mutation_pool.delete(self.entity)
/external/libxml2/
Dentities.c96 xmlFreeEntity(xmlEntityPtr entity) in xmlFreeEntity() argument
100 if (entity == NULL) in xmlFreeEntity()
103 if (entity->doc != NULL) in xmlFreeEntity()
104 dict = entity->doc->dict; in xmlFreeEntity()
107 if ((entity->children) && (entity->owner == 1) && in xmlFreeEntity()
108 (entity == (xmlEntityPtr) entity->children->parent)) in xmlFreeEntity()
109 xmlFreeNodeList(entity->children); in xmlFreeEntity()
111 if ((entity->name != NULL) && (!xmlDictOwns(dict, entity->name))) in xmlFreeEntity()
112 xmlFree((char *) entity->name); in xmlFreeEntity()
113 if ((entity->ExternalID != NULL) && in xmlFreeEntity()
[all …]
/external/apache-http/src/org/apache/http/impl/client/
DEntityEnclosingRequestWrapper.java62 private HttpEntity entity; field in EntityEnclosingRequestWrapper
67 this.entity = request.getEntity(); in EntityEnclosingRequestWrapper()
71 return this.entity; in getEntity()
74 public void setEntity(final HttpEntity entity) { in setEntity() argument
75 this.entity = entity; in setEntity()
85 return this.entity == null || this.entity.isRepeatable(); in isRepeatable()
/external/apache-http/src/org/apache/http/client/methods/
DHttpEntityEnclosingRequestBase.java57 private HttpEntity entity; field in HttpEntityEnclosingRequestBase
64 return this.entity; in getEntity()
67 public void setEntity(final HttpEntity entity) { in setEntity() argument
68 this.entity = entity; in setEntity()
80 if (this.entity != null) { in clone()
81 clone.entity = (HttpEntity) CloneUtils.clone(this.entity); in clone()
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DHttpEntityBody.java13 private final HttpEntity entity; field in HttpEntityBody
16 HttpEntityBody(HttpEntity entity, String contentTypeHeader) { in HttpEntityBody() argument
17 this.entity = entity; in HttpEntityBody()
21 } else if (entity.getContentType() != null) { in HttpEntityBody()
22 mediaType = MediaType.parse(entity.getContentType().getValue()); in HttpEntityBody()
31 return entity.getContentLength(); in contentLength()
39 entity.writeTo(sink.outputStream()); in writeTo()
/external/apache-http/src/org/apache/http/protocol/
DRequestContent.java78 HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity(); in process() local
79 if (entity == null) { in process()
84 if (entity.isChunked() || entity.getContentLength() < 0) { in process()
91 request.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
94 if (entity.getContentType() != null && !request.containsHeader( in process()
96 request.addHeader(entity.getContentType()); in process()
99 if (entity.getContentEncoding() != null && !request.containsHeader( in process()
101 request.addHeader(entity.getContentEncoding()); in process()
DResponseContent.java78 HttpEntity entity = response.getEntity(); in process() local
79 if (entity != null) { in process()
80 long len = entity.getContentLength(); in process()
81 if (entity.isChunked() && !ver.lessEquals(HttpVersion.HTTP_1_0)) { in process()
84 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
87 if (entity.getContentType() != null && !response.containsHeader( in process()
89 response.addHeader(entity.getContentType()); in process()
92 if (entity.getContentEncoding() != null && !response.containsHeader( in process()
94 response.addHeader(entity.getContentEncoding()); in process()
/external/apache-http/android/src/android/net/http/
DAndroidHttpClientConnection.java30 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;
381 BasicHttpEntity entity = new BasicHttpEntity(); in receiveResponseEntity() local
385 entity.setChunked(true); in receiveResponseEntity()
386 entity.setContentLength(-1); in receiveResponseEntity()
387 entity.setContent(new ChunkedInputStream(inbuffer)); in receiveResponseEntity()
389 entity.setChunked(false); in receiveResponseEntity()
390 entity.setContentLength(-1); in receiveResponseEntity()
[all …]

12345678910>>...22