/third_party/parse5/test/data/parser-feedback/ |
D | doctype01.test | 473 …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/ |
D | entities.c | 185 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 …]
|
D | valid.c | 29 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 …]
|
D | xmlsave.c | 705 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/ |
D | validDTD.py | 21 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
|
D | dtdvalid.py | 8 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
|
D | tstmem.py | 17 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/ |
D | xmlparse.c | 557 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/ |
D | xmlparse.c | 557 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/ |
D | 08-backport-CVE-2022-25313-Prevent-stack-exhaustion-in-build_model.patch | 95 - 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 …]
|
D | 02-backport-CVE-2022-22822-CVE-2022-22823-CVE-2022-22824-CVE-2022-22825-CVE-2022-22826-CVE-2022-22827.patch | 202 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 …]
|
D | 14-backport-Fix-build_model-regression.patch | 49 + * 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)
|
D | 05-backport-CVE-2022-23990-lib-Prevent-integer-overflow-in-doProlog-CVE-2022-23.patch | 20 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/ |
D | whites | 1 > test/catalogs/calstblx.dtd 2 > test/catalogs/docbook.dtd 3 > test/catalogs/soextblx.dtd
|
D | catal | 1 > test/catalogs/calstblx.dtd 2 > test/catalogs/docbook.dtd 3 > test/catalogs/soextblx.dtd
|
D | docbook | 3 > 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
|
D | whitex | 5 > 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/ |
D | valid.h | 155 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/ |
D | whites.sgml | 1 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/ |
D | xhtml.cat | 4 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/ |
D | Makefile_j | 176 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/ |
D | xmllintcl.c | 44 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/ |
D | 766956.xml.err | 1 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
|
D | t4.dtd.err | 1 ./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
|
D | t4a.dtd.err.rdr | 1 ./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
|