Lines Matching refs:oldParser
518 static int dtdCopy(XML_Parser oldParser, DTD *newDtd, const DTD *oldDtd,
520 static int copyEntityTable(XML_Parser oldParser, HASH_TABLE *, STRING_POOL *,
1250 XML_ExternalEntityParserCreate(XML_Parser oldParser, const XML_Char *context, in XML_ExternalEntityParserCreate() argument
1252 XML_Parser parser = oldParser; in XML_ExternalEntityParserCreate()
1294 if (oldParser == NULL) in XML_ExternalEntityParserCreate()
1383 if (oldExternalEntityRefHandlerArg != oldParser) in XML_ExternalEntityParserCreate()
1388 parser->m_parentParser = oldParser; in XML_ExternalEntityParserCreate()
1394 if (! dtdCopy(oldParser, parser->m_dtd, oldDtd, &parser->m_mem) in XML_ExternalEntityParserCreate()
6794 dtdCopy(XML_Parser oldParser, DTD *newDtd, const DTD *oldDtd, in dtdCopy() argument
6809 if (! lookup(oldParser, &(newDtd->prefixes), name, sizeof(PREFIX))) in dtdCopy()
6831 newA = (ATTRIBUTE_ID *)lookup(oldParser, &(newDtd->attributeIds), name, in dtdCopy()
6841 newA->prefix = (PREFIX *)lookup(oldParser, &(newDtd->prefixes), in dtdCopy()
6860 newE = (ELEMENT_TYPE *)lookup(oldParser, &(newDtd->elementTypes), name, in dtdCopy()
6872 newE->idAtt = (ATTRIBUTE_ID *)lookup(oldParser, &(newDtd->attributeIds), in dtdCopy()
6876 newE->prefix = (PREFIX *)lookup(oldParser, &(newDtd->prefixes), in dtdCopy()
6880 oldParser, &(newDtd->attributeIds), oldE->defaultAtts[i].id->name, 0); in dtdCopy()
6893 if (! copyEntityTable(oldParser, &(newDtd->generalEntities), &(newDtd->pool), in dtdCopy()
6898 if (! copyEntityTable(oldParser, &(newDtd->paramEntities), &(newDtd->pool), in dtdCopy()
6920 copyEntityTable(XML_Parser oldParser, HASH_TABLE *newTable, in copyEntityTable() argument
6937 newE = (ENTITY *)lookup(oldParser, newTable, name, sizeof(ENTITY)); in copyEntityTable()