Searched refs:maxns (Results 1 – 2 of 2) sorted by relevance
1061 int maxns = 10; in xsltGetInheritedNsList() local1088 (xmlNsPtr *) xmlMalloc((maxns + 1) * in xsltGetInheritedNsList()1106 if (nbns >= maxns) { in xsltGetInheritedNsList()1107 maxns *= 2; in xsltGetInheritedNsList()1109 (maxns + in xsltGetInheritedNsList()2505 int i, maxns = 5; in xsltCompilerBuildInScopeNsList() local2528 (xmlNsPtr *) xmlMalloc(maxns * sizeof(xmlNsPtr)); in xsltCompilerBuildInScopeNsList()2546 if (nsi->totalNumber +1 >= maxns) { in xsltCompilerBuildInScopeNsList()2547 maxns *= 2; in xsltCompilerBuildInScopeNsList()2550 maxns * sizeof(xmlNsPtr)); in xsltCompilerBuildInScopeNsList()
5757 int maxns = 10; in xmlGetNsList() local5766 (xmlNsPtr *) xmlMalloc((maxns + 1) * in xmlGetNsList()5780 if (nbns >= maxns) { in xmlGetNsList()5781 maxns *= 2; in xmlGetNsList()5783 (maxns + in xmlGetNsList()