Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/libxml/src/
Dentities.c201 xmlAddEntity(xmlDtdPtr dtd, const xmlChar *name, int type, in xmlAddEntity() argument
210 if (dtd == NULL) in xmlAddEntity()
212 if (dtd->doc != NULL) in xmlAddEntity()
213 dict = dtd->doc->dict; in xmlAddEntity()
219 if (dtd->entities == NULL) in xmlAddEntity()
220 dtd->entities = xmlHashCreateDict(0, dict); in xmlAddEntity()
221 table = dtd->entities; in xmlAddEntity()
225 if (dtd->pentities == NULL) in xmlAddEntity()
226 dtd->pentities = xmlHashCreateDict(0, dict); in xmlAddEntity()
227 table = dtd->pentities; in xmlAddEntity()
[all …]
Dvalid.c29 static xmlElementPtr xmlGetDtdElementDesc2(xmlDtdPtr dtd, const xmlChar *name,
1382 xmlDtdPtr dtd, const xmlChar *name, in xmlAddElementDecl() argument
1390 if (dtd == NULL) { in xmlAddElementDecl()
1447 table = (xmlElementTablePtr) dtd->elements; in xmlAddElementDecl()
1451 if (dtd->doc != NULL) in xmlAddElementDecl()
1452 dict = dtd->doc->dict; in xmlAddElementDecl()
1454 dtd->elements = (void *) table; in xmlAddElementDecl()
1470 if ((dtd->doc != NULL) && (dtd->doc->intSubset != NULL)) { in xmlAddElementDecl()
1471 ret = xmlHashLookup2(dtd->doc->intSubset->elements, name, ns); in xmlAddElementDecl()
1475 xmlHashRemoveEntry2(dtd->doc->intSubset->elements, name, ns, NULL); in xmlAddElementDecl()
[all …]
Dxmlsave.c553 xmlDtdDumpOutput(xmlSaveCtxtPtr ctxt, xmlDtdPtr dtd) { in xmlDtdDumpOutput() argument
558 if (dtd == NULL) return; in xmlDtdDumpOutput()
563 xmlOutputBufferWriteString(buf, (const char *)dtd->name); in xmlDtdDumpOutput()
564 if (dtd->ExternalID != NULL) { in xmlDtdDumpOutput()
566 xmlBufferWriteQuotedString(buf->buffer, dtd->ExternalID); in xmlDtdDumpOutput()
568 xmlBufferWriteQuotedString(buf->buffer, dtd->SystemID); in xmlDtdDumpOutput()
569 } else if (dtd->SystemID != NULL) { in xmlDtdDumpOutput()
571 xmlBufferWriteQuotedString(buf->buffer, dtd->SystemID); in xmlDtdDumpOutput()
573 if ((dtd->entities == NULL) && (dtd->elements == NULL) && in xmlDtdDumpOutput()
574 (dtd->attributes == NULL) && (dtd->notations == NULL) && in xmlDtdDumpOutput()
[all …]
DdebugXML.c445 xmlCtxtDumpDtdNode(xmlDebugCtxtPtr ctxt, xmlDtdPtr dtd) in xmlCtxtDumpDtdNode() argument
449 if (dtd == NULL) { in xmlCtxtDumpDtdNode()
455 if (dtd->type != XML_DTD_NODE) { in xmlCtxtDumpDtdNode()
461 if (dtd->name != NULL) in xmlCtxtDumpDtdNode()
462 fprintf(ctxt->output, "DTD(%s)", (char *) dtd->name); in xmlCtxtDumpDtdNode()
465 if (dtd->ExternalID != NULL) in xmlCtxtDumpDtdNode()
466 fprintf(ctxt->output, ", PUBLIC %s", (char *) dtd->ExternalID); in xmlCtxtDumpDtdNode()
467 if (dtd->SystemID != NULL) in xmlCtxtDumpDtdNode()
468 fprintf(ctxt->output, ", SYSTEM %s", (char *) dtd->SystemID); in xmlCtxtDumpDtdNode()
474 xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) dtd); in xmlCtxtDumpDtdNode()
[all …]
Drunsuite.c439 xmlChar *dtd; in xsdTestCase() local
498 dtd = xmlGetProp(tmp, BAD_CAST "dtd"); in xsdTestCase()
506 if (dtd != NULL) in xsdTestCase()
507 xmlBufferAdd(buf, dtd, -1); in xsdTestCase()
549 if (dtd != NULL) in xsdTestCase()
550 xmlFree(dtd); in xsdTestCase()
/external/libxml2/
Dentities.c201 xmlAddEntity(xmlDtdPtr dtd, const xmlChar *name, int type, in xmlAddEntity() argument
210 if (dtd == NULL) in xmlAddEntity()
212 if (dtd->doc != NULL) in xmlAddEntity()
213 dict = dtd->doc->dict; in xmlAddEntity()
219 if (dtd->entities == NULL) in xmlAddEntity()
220 dtd->entities = xmlHashCreateDict(0, dict); in xmlAddEntity()
221 table = dtd->entities; in xmlAddEntity()
225 if (dtd->pentities == NULL) in xmlAddEntity()
226 dtd->pentities = xmlHashCreateDict(0, dict); in xmlAddEntity()
227 table = dtd->pentities; in xmlAddEntity()
[all …]
Dvalid.c29 static xmlElementPtr xmlGetDtdElementDesc2(xmlDtdPtr dtd, const xmlChar *name,
1382 xmlDtdPtr dtd, const xmlChar *name, in xmlAddElementDecl() argument
1390 if (dtd == NULL) { in xmlAddElementDecl()
1447 table = (xmlElementTablePtr) dtd->elements; in xmlAddElementDecl()
1451 if (dtd->doc != NULL) in xmlAddElementDecl()
1452 dict = dtd->doc->dict; in xmlAddElementDecl()
1454 dtd->elements = (void *) table; in xmlAddElementDecl()
1470 if ((dtd->doc != NULL) && (dtd->doc->intSubset != NULL)) { in xmlAddElementDecl()
1471 ret = xmlHashLookup2(dtd->doc->intSubset->elements, name, ns); in xmlAddElementDecl()
1475 xmlHashRemoveEntry2(dtd->doc->intSubset->elements, name, ns, NULL); in xmlAddElementDecl()
[all …]
Dxmlsave.c613 xmlDtdDumpOutput(xmlSaveCtxtPtr ctxt, xmlDtdPtr dtd) { in xmlDtdDumpOutput() argument
618 if (dtd == NULL) return; in xmlDtdDumpOutput()
623 xmlOutputBufferWriteString(buf, (const char *)dtd->name); in xmlDtdDumpOutput()
624 if (dtd->ExternalID != NULL) { in xmlDtdDumpOutput()
626 xmlBufferWriteQuotedString(buf->buffer, dtd->ExternalID); in xmlDtdDumpOutput()
628 xmlBufferWriteQuotedString(buf->buffer, dtd->SystemID); in xmlDtdDumpOutput()
629 } else if (dtd->SystemID != NULL) { in xmlDtdDumpOutput()
631 xmlBufferWriteQuotedString(buf->buffer, dtd->SystemID); in xmlDtdDumpOutput()
633 if ((dtd->entities == NULL) && (dtd->elements == NULL) && in xmlDtdDumpOutput()
634 (dtd->attributes == NULL) && (dtd->notations == NULL) && in xmlDtdDumpOutput()
[all …]
DdebugXML.c446 xmlCtxtDumpDtdNode(xmlDebugCtxtPtr ctxt, xmlDtdPtr dtd) in xmlCtxtDumpDtdNode() argument
450 if (dtd == NULL) { in xmlCtxtDumpDtdNode()
456 if (dtd->type != XML_DTD_NODE) { in xmlCtxtDumpDtdNode()
462 if (dtd->name != NULL) in xmlCtxtDumpDtdNode()
463 fprintf(ctxt->output, "DTD(%s)", (char *) dtd->name); in xmlCtxtDumpDtdNode()
466 if (dtd->ExternalID != NULL) in xmlCtxtDumpDtdNode()
467 fprintf(ctxt->output, ", PUBLIC %s", (char *) dtd->ExternalID); in xmlCtxtDumpDtdNode()
468 if (dtd->SystemID != NULL) in xmlCtxtDumpDtdNode()
469 fprintf(ctxt->output, ", SYSTEM %s", (char *) dtd->SystemID); in xmlCtxtDumpDtdNode()
475 xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) dtd); in xmlCtxtDumpDtdNode()
[all …]
/external/expat/lib/
Dxmlparse.c442 DTD *dtd);
728 DTD *dtd) in parserCreate() argument
785 if (dtd) in parserCreate()
786 _dtd = dtd; in parserCreate()
2240 DTD * const dtd = _dtd; in doContent() local
2321 name = poolStoreString(&dtd->pool, enc, in doContent()
2326 entity = (ENTITY *)lookup(parser, &dtd->generalEntities, name, 0); in doContent()
2327 poolDiscard(&dtd->pool); in doContent()
2332 if (!dtd->hasParamEntityRefs || dtd->standalone) { in doContent()
2702 DTD * const dtd = _dtd; /* save one level of indirection */ in storeAtts() local
[all …]
/external/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,
DdebugXML.h59 xmlDtdPtr dtd);
186 char *dtd,
/external/chromium_org/third_party/libxml/src/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,
DdebugXML.h59 xmlDtdPtr dtd);
186 char *dtd,
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DDOM3TreeWalker.java515 StringBuffer dtd = new StringBuffer(); in serializeDocType() local
517 dtd.append("<!DOCTYPE "); in serializeDocType()
518 dtd.append(docTypeName); in serializeDocType()
520 dtd.append(" PUBLIC \""); in serializeDocType()
521 dtd.append(publicId); in serializeDocType()
522 dtd.append('\"'); in serializeDocType()
527 dtd.append(" SYSTEM \""); in serializeDocType()
529 dtd.append(" \""); in serializeDocType()
531 dtd.append(systemId); in serializeDocType()
532 dtd.append('\"'); in serializeDocType()
[all …]
/external/bzip2/
Dxmlproc.sh75 dtd='--dtdvalid http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd'
76 xmllint $flags $dtd $xmlfmtfile 2> $OUT
DREADME.XML.STUFF27 Validates an xml file to ensure no dtd-compliance errors
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Dt012lexerXML.g33 ( dtd=INTERNAL_DTD
34 {this.output("INTERNAL DTD: "+$dtd.text)}
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt012lexerXMLLexer.g38 ( dtd=INTERNAL_DTD
39 {self.output("INTERNAL DTD: "+dtd.text)}
/external/chromium_org/third_party/icu/source/data/
Dcldr-icu-readme.txt56 # caching the CLDR xml dtd, to speed up data generation.
106 # common/dtd/ldml.dtd - update cldrVersion
107 # common/dtd/ldmlBCP47.dtd - update cldrVersion
108 # common/dtd/ldmlSupplemental.dtd - update cldrVersion
/external/icu4c/data/
Dcldr-icu-readme.txt59 # caching the CLDR xml dtd, to speed up data generation.
115 # common/dtd/ldml.dtd - update cldrVersion
116 # common/dtd/ldmlBCP47.dtd - update cldrVersion
117 # common/dtd/ldmlSupplemental.dtd - update cldrVersion
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/
DDOM2DTM.java1286 DocumentType dtd = doc.getDoctype(); in getDocumentTypeDeclarationSystemIdentifier() local
1288 if (null != dtd) in getDocumentTypeDeclarationSystemIdentifier()
1290 return dtd.getSystemId(); in getDocumentTypeDeclarationSystemIdentifier()
1317 DocumentType dtd = doc.getDoctype(); in getDocumentTypeDeclarationPublicIdentifier() local
1319 if (null != dtd) in getDocumentTypeDeclarationPublicIdentifier()
1321 return dtd.getPublicId(); in getDocumentTypeDeclarationPublicIdentifier()
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DXMLFormatterTest.java142 String dtd = "<!DOCTYPE log SYSTEM \"logger.dtd\">";
146 int dtdPos = result.indexOf(dtd);
/external/oprofile/m4/
Ddocbook.m437 … "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
/external/clang/test/ARCMT/
Dmigrate-plist-output.m14 …ist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

12