Lines Matching refs:oldParser
517 static int dtdCopy(XML_Parser oldParser, DTD *newDtd, const DTD *oldDtd,
519 static int copyEntityTable(XML_Parser oldParser, HASH_TABLE *, STRING_POOL *,
1248 XML_ExternalEntityParserCreate(XML_Parser oldParser, const XML_Char *context, in XML_ExternalEntityParserCreate() argument
1250 XML_Parser parser = oldParser; in XML_ExternalEntityParserCreate()
1292 if (oldParser == NULL) in XML_ExternalEntityParserCreate()
1381 if (oldExternalEntityRefHandlerArg != oldParser) in XML_ExternalEntityParserCreate()
1386 parser->m_parentParser = oldParser; in XML_ExternalEntityParserCreate()
1392 if (! dtdCopy(oldParser, parser->m_dtd, oldDtd, &parser->m_mem) in XML_ExternalEntityParserCreate()
6667 dtdCopy(XML_Parser oldParser, DTD *newDtd, const DTD *oldDtd, in dtdCopy() argument
6682 if (! lookup(oldParser, &(newDtd->prefixes), name, sizeof(PREFIX))) in dtdCopy()
6704 newA = (ATTRIBUTE_ID *)lookup(oldParser, &(newDtd->attributeIds), name, in dtdCopy()
6714 newA->prefix = (PREFIX *)lookup(oldParser, &(newDtd->prefixes), in dtdCopy()
6733 newE = (ELEMENT_TYPE *)lookup(oldParser, &(newDtd->elementTypes), name, in dtdCopy()
6745 newE->idAtt = (ATTRIBUTE_ID *)lookup(oldParser, &(newDtd->attributeIds), in dtdCopy()
6749 newE->prefix = (PREFIX *)lookup(oldParser, &(newDtd->prefixes), in dtdCopy()
6753 oldParser, &(newDtd->attributeIds), oldE->defaultAtts[i].id->name, 0); in dtdCopy()
6766 if (! copyEntityTable(oldParser, &(newDtd->generalEntities), &(newDtd->pool), in dtdCopy()
6771 if (! copyEntityTable(oldParser, &(newDtd->paramEntities), &(newDtd->pool), in dtdCopy()
6793 copyEntityTable(XML_Parser oldParser, HASH_TABLE *newTable, in copyEntityTable() argument
6810 newE = (ENTITY *)lookup(oldParser, newTable, name, sizeof(ENTITY)); in copyEntityTable()