Home
last modified time | relevance | path

Searched refs:dtd (Results 1 – 25 of 133) sorted by relevance

123456

/third_party/parse5/test/data/parser-feedback/
Ddoctype01.test473 …PE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\\n \"http://www.w3.org/TR/html4/strict.dtd\">Hello",
474 …YPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\n \"http://www.w3.org/TR/html4/strict.dtd\">Hello",
480 "http://www.w3.org/TR/html4/strict.dtd",
509 …//DTD XHTML 1.0 Transitional//EN\"\\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">",
510 …C//DTD XHTML 1.0 Transitional//EN\"\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">",
516 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd",
523 …\"-//W3C//DTD XHTML 1.0 Frameset//EN\"\\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">",
524 … \"-//W3C//DTD XHTML 1.0 Frameset//EN\"\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">",
530 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd",
555 …-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"\\n \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">",
[all …]
/third_party/libxml2/
Dentities.c185 xmlAddEntity(xmlDtdPtr dtd, const xmlChar *name, int type, in xmlAddEntity() argument
194 if (dtd == NULL) in xmlAddEntity()
196 if (dtd->doc != NULL) in xmlAddEntity()
197 dict = dtd->doc->dict; in xmlAddEntity()
241 if (dtd->entities == NULL) in xmlAddEntity()
242 dtd->entities = xmlHashCreateDict(0, dict); in xmlAddEntity()
243 table = dtd->entities; in xmlAddEntity()
247 if (dtd->pentities == NULL) in xmlAddEntity()
248 dtd->pentities = xmlHashCreateDict(0, dict); in xmlAddEntity()
249 table = dtd->pentities; in xmlAddEntity()
[all …]
Dvalid.c29 static xmlElementPtr xmlGetDtdElementDesc2(xmlDtdPtr dtd, const xmlChar *name,
1460 xmlDtdPtr dtd, const xmlChar *name, in xmlAddElementDecl() argument
1468 if (dtd == NULL) { in xmlAddElementDecl()
1525 table = (xmlElementTablePtr) dtd->elements; in xmlAddElementDecl()
1529 if (dtd->doc != NULL) in xmlAddElementDecl()
1530 dict = dtd->doc->dict; in xmlAddElementDecl()
1532 dtd->elements = (void *) table; in xmlAddElementDecl()
1548 if ((dtd->doc != NULL) && (dtd->doc->intSubset != NULL)) { in xmlAddElementDecl()
1549 ret = xmlHashLookup2(dtd->doc->intSubset->elements, name, ns); in xmlAddElementDecl()
1553 xmlHashRemoveEntry2(dtd->doc->intSubset->elements, name, ns, NULL); in xmlAddElementDecl()
[all …]
Dxmlsave.c705 xmlDtdDumpOutput(xmlSaveCtxtPtr ctxt, xmlDtdPtr dtd) { in xmlDtdDumpOutput() argument
710 if (dtd == NULL) return; in xmlDtdDumpOutput()
715 xmlOutputBufferWriteString(buf, (const char *)dtd->name); in xmlDtdDumpOutput()
716 if (dtd->ExternalID != NULL) { in xmlDtdDumpOutput()
718 xmlBufWriteQuotedString(buf->buffer, dtd->ExternalID); in xmlDtdDumpOutput()
720 xmlBufWriteQuotedString(buf->buffer, dtd->SystemID); in xmlDtdDumpOutput()
721 } else if (dtd->SystemID != NULL) { in xmlDtdDumpOutput()
723 xmlBufWriteQuotedString(buf->buffer, dtd->SystemID); in xmlDtdDumpOutput()
725 if ((dtd->entities == NULL) && (dtd->elements == NULL) && in xmlDtdDumpOutput()
726 (dtd->attributes == NULL) && (dtd->notations == NULL) && in xmlDtdDumpOutput()
[all …]
/third_party/libxml2/python/tests/
DvalidDTD.py21 dtd="""<!ELEMENT foo EMPTY>""" variable
28 dtd = libxml2.parseDTD(None, 'test.dtd') variable
35 ret = doc.validateDtd(ctxt, dtd)
43 ret = doc.validateDtd(ctxt, dtd)
48 dtd.freeDtd()
49 del dtd
Ddtdvalid.py8 dtd="""<!ELEMENT foo EMPTY>""" variable
12 dtd = libxml2.parseDTD(None, 'test.dtd') variable
15 ret = doc.validateDtd(ctxt, dtd)
21 dtd.freeDtd()
22 del dtd
Dtstmem.py17 dtd="""<!ELEMENT foo EMPTY>""" variable
21 dtd = libxml2.parseDTD(None, 'test.dtd') variable
25 ret = doc.validateDtd(ctxt, dtd)
31 dtd.freeDtd()
32 del dtd
/third_party/python/Modules/expat/
Dxmlparse.c557 const XML_Char *nameSep, DTD *dtd);
971 DTD *dtd) { in parserCreate() argument
1028 if (dtd) in parserCreate()
1029 parser->m_dtd = dtd; in parserCreate()
2731 DTD *const dtd = parser->m_dtd; in doContent() local
2827 name = poolStoreString(&dtd->pool, enc, s + enc->minBytesPerChar, in doContent()
2831 entity = (ENTITY *)lookup(parser, &dtd->generalEntities, name, 0); in doContent()
2832 poolDiscard(&dtd->pool); in doContent()
2837 if (! dtd->hasParamEntityRefs || dtd->standalone) { in doContent()
3232 DTD *const dtd = parser->m_dtd; /* save one level of indirection */ in storeAtts() local
[all …]
/third_party/skia/third_party/externals/expat/expat/lib/
Dxmlparse.c557 const XML_Char *nameSep, DTD *dtd);
971 DTD *dtd) { in parserCreate() argument
1028 if (dtd) in parserCreate()
1029 parser->m_dtd = dtd; in parserCreate()
2731 DTD *const dtd = parser->m_dtd; in doContent() local
2827 name = poolStoreString(&dtd->pool, enc, s + enc->minBytesPerChar, in doContent()
2831 entity = (ENTITY *)lookup(parser, &dtd->generalEntities, name, 0); in doContent()
2832 poolDiscard(&dtd->pool); in doContent()
2837 if (! dtd->hasParamEntityRefs || dtd->standalone) { in doContent()
3232 DTD *const dtd = parser->m_dtd; /* save one level of indirection */ in storeAtts() local
[all …]
/third_party/expat/
D08-backport-CVE-2022-25313-Prevent-stack-exhaustion-in-build_model.patch95 - DTD *const dtd = parser->m_dtd; /* save one level of indirection */
96 - dest->type = dtd->scaffold[src_node].type;
97 - dest->quant = dtd->scaffold[src_node].quant;
101 - src = dtd->scaffold[src_node].name;
113 - dest->numchildren = dtd->scaffold[src_node].childcnt;
116 - for (i = 0, cn = dtd->scaffold[src_node].firstchild; i < dest->numchildren;
117 - i++, cn = dtd->scaffold[cn].nextsib) {
130 DTD *const dtd = parser->m_dtd; /* save one level of indirection */
142 - str = (XML_Char *)(&ret[dtd->scaffCount]);
174 + XML_Content *const destLimit = &ret[dtd->scaffCount];
[all …]
D02-backport-CVE-2022-22822-CVE-2022-22823-CVE-2022-22824-CVE-2022-22825-CVE-2022-22826-CVE-2022-22827.patch202 if (dtd->scaffCount >= dtd->scaffSize) {
204 if (dtd->scaffold) {
206 + if (dtd->scaffSize > UINT_MAX / 2u) {
214 + if (dtd->scaffSize > (size_t)(-1) / 2u / sizeof(CONTENT_SCAFFOLD)) {
220 parser, dtd->scaffold, dtd->scaffSize * 2 * sizeof(CONTENT_SCAFFOLD));
226 - int allocsize = (dtd->scaffCount * sizeof(XML_Content)
227 - + (dtd->contentStringLen * sizeof(XML_Char)));
234 + if (dtd->scaffCount > (size_t)(-1) / sizeof(XML_Content)) {
237 + if (dtd->contentStringLen > (size_t)(-1) / sizeof(XML_Char)) {
241 + if (dtd->scaffCount * sizeof(XML_Content)
[all …]
D14-backport-Fix-build_model-regression.patch49 + * to array dtd->scaffold) in field "numchildren".
61 + * at that time) and puts the real data from dtd->scaffold in.
92 XML_Content *const destLimit = &ret[dtd->scaffCount];
93 - XML_Content *const stackBottom = &ret[dtd->scaffCount];
96 str = (XML_Char *)&ret[dtd->scaffCount];
110 dest->type = dtd->scaffold[src_node].type;
114 dest->numchildren = dtd->scaffold[src_node].childcnt;
123 for (i = 0, cn = dtd->scaffold[src_node].firstchild;
124 - i < dest->numchildren; i++, cn = dtd->scaffold[cn].nextsib) {
127 + i < dest->numchildren; i++, cn = dtd->scaffold[cn].nextsib)
D05-backport-CVE-2022-23990-lib-Prevent-integer-overflow-in-doProlog-CVE-2022-23.patch20 if (dtd->in_eldecl) {
32 - dtd->contentStringLen += nameLen;
35 + if (nameLen > UINT_MAX - dtd->contentStringLen) {
39 + dtd->contentStringLen += (unsigned)nameLen;
/third_party/libxml2/result/catalogs/
Dwhites1 > test/catalogs/calstblx.dtd
2 > test/catalogs/docbook.dtd
3 > test/catalogs/soextblx.dtd
Dcatal1 > test/catalogs/calstblx.dtd
2 > test/catalogs/docbook.dtd
3 > test/catalogs/soextblx.dtd
Ddocbook3 > http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd
4 > http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd
5 > file:///usr/share/xml/toto/toto.dtd
Dwhitex5 > http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd
6 > http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd
7 > file:///usr/share/xml/toto/toto.dtd
/third_party/libxml2/include/libxml/
Dvalid.h155 xmlDtdPtr dtd,
211 xmlDtdPtr dtd,
243 xmlDtdPtr dtd,
346 xmlDtdPtr dtd);
390 xmlGetDtdAttrDesc (xmlDtdPtr dtd,
394 xmlGetDtdQAttrDesc (xmlDtdPtr dtd,
399 xmlGetDtdNotationDesc (xmlDtdPtr dtd,
402 xmlGetDtdQElementDesc (xmlDtdPtr dtd,
406 xmlGetDtdElementDesc (xmlDtdPtr dtd,
/third_party/libxml2/test/catalogs/
Dwhites.sgml1 PUBLIC " -//OASIS//DTD DocBook XML CALS Table Model V4.1//EN" "calstblx.dtd"
2 PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN " "soextblx.dtd"
4 V3.0//EN" "docbook.dtd"
/third_party/libxml2/test/valid/dtds/
Dxhtml.cat4 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd"
5 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1-transitional.dtd"
6 PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "xhtml1-frameset.dtd"
/third_party/icu/tools/multi/proj/icu4cscan/
DMakefile_j176 DTDOVR=$(ICUMETA)/dtd
180 #//$(DTD)/Makefile: $(ICUMETA)/dtd/Makfile
183 #//dtd/icucaps.dtd: $(DTD)/Makefile dtd/icucaps.rnc
214 # ln -s $(ICUMETA)/dtd/*.dtd ./dtdtmp/
215 # ln -s ./dtd/*.dtd ./dtdtmp/
/third_party/libxml2/os400/
Dxmllintcl.c44 vary2 * dtd; /* DTD location or public identifier. */ member
150 if (args->dtd && args->dtd->len) { in main()
156 vary4vargquote(&cmd, args->dtd); in main()
/third_party/libxml2/result/valid/
D766956.xml.err1 test/valid/dtds/766956.dtd:2: parser error : PEReference: expecting ';'
4 test/valid/dtds/766956.dtd:2: parser error : Content error in the external subset
Dt4.dtd.err1 ./test/valid/t4.dtd:1: parser error : StartTag: invalid element name
4 ./test/valid/t4.dtd:1: parser error : Extra content at the end of the document
Dt4a.dtd.err.rdr1 ./test/valid/t4a.dtd:1: parser error : StartTag: invalid element name
4 ./test/valid/t4a.dtd:1: parser error : Extra content at the end of the document

123456