Lines Matching refs:oldParser
563 static int dtdCopy(XML_Parser oldParser, DTD *newDtd, const DTD *oldDtd,
565 static int copyEntityTable(XML_Parser oldParser, HASH_TABLE *newTable,
1432 XML_ExternalEntityParserCreate(XML_Parser oldParser, const XML_Char *context, in XML_ExternalEntityParserCreate() argument
1434 XML_Parser parser = oldParser; in XML_ExternalEntityParserCreate()
1477 if (oldParser == NULL) in XML_ExternalEntityParserCreate()
1567 if (oldExternalEntityRefHandlerArg != oldParser) in XML_ExternalEntityParserCreate()
1573 parser->m_parentParser = oldParser; in XML_ExternalEntityParserCreate()
1579 if (! dtdCopy(oldParser, parser->m_dtd, oldDtd, &parser->m_mem) in XML_ExternalEntityParserCreate()
7228 dtdCopy(XML_Parser oldParser, DTD *newDtd, const DTD *oldDtd, in dtdCopy() argument
7243 if (! lookup(oldParser, &(newDtd->prefixes), name, sizeof(PREFIX))) in dtdCopy()
7265 newA = (ATTRIBUTE_ID *)lookup(oldParser, &(newDtd->attributeIds), name, in dtdCopy()
7275 newA->prefix = (PREFIX *)lookup(oldParser, &(newDtd->prefixes), in dtdCopy()
7294 newE = (ELEMENT_TYPE *)lookup(oldParser, &(newDtd->elementTypes), name, in dtdCopy()
7316 newE->idAtt = (ATTRIBUTE_ID *)lookup(oldParser, &(newDtd->attributeIds), in dtdCopy()
7320 newE->prefix = (PREFIX *)lookup(oldParser, &(newDtd->prefixes), in dtdCopy()
7324 oldParser, &(newDtd->attributeIds), oldE->defaultAtts[i].id->name, 0); in dtdCopy()
7337 if (! copyEntityTable(oldParser, &(newDtd->generalEntities), &(newDtd->pool), in dtdCopy()
7342 if (! copyEntityTable(oldParser, &(newDtd->paramEntities), &(newDtd->pool), in dtdCopy()
7364 copyEntityTable(XML_Parser oldParser, HASH_TABLE *newTable, in copyEntityTable() argument
7381 newE = (ENTITY *)lookup(oldParser, newTable, name, sizeof(ENTITY)); in copyEntityTable()