Home | History | Annotate | Download | only in libxml2

Lines Matching full:nsmap

7651 xmlDOMWrapNsMapFree(xmlNsMapPtr nsmap)
7655 if (nsmap == NULL)
7657 cur = nsmap->pool;
7663 cur = nsmap->first;
7669 xmlFree(nsmap);
7682 xmlDOMWrapNsMapAddItem(xmlNsMapPtr *nsmap, int position,
7688 if (nsmap == NULL)
7692 map = *nsmap;
7704 *nsmap = map;
8377 * @nsMap: the ns-map
8382 * Searches for a matching ns-name in the ns-decls of @nsMap, if not
8395 xmlNsMapPtr *nsMap,
8404 (nsMap == NULL))
8424 if ((XML_NSMAP_NOTEMPTY(*nsMap)) &&
8430 XML_NSMAP_FOREACH(*nsMap, mi) {
8471 if (xmlDOMWrapNsMapAddItem(nsMap, -1, ns,
8485 if (*nsMap != NULL) {
8489 XML_NSMAP_FOREACH(*nsMap, mi) {
8502 if (xmlDOMWrapNsMapAddItem(nsMap, -1, ns, tmpns, depth) == NULL) {
8541 xmlNsMapPtr nsMap = NULL;
8575 if (xmlDOMWrapNSNormGatherInScopeNs(&nsMap,
8585 if (optRemoveRedundantNS && XML_NSMAP_NOTEMPTY(nsMap)) {
8586 XML_NSMAP_FOREACH(nsMap, mi) {
8622 if (XML_NSMAP_NOTEMPTY(nsMap)) {
8623 XML_NSMAP_FOREACH(nsMap, mi) {
8636 if (xmlDOMWrapNsMapAddItem(&nsMap, -1, ns, ns,
8656 if (xmlDOMWrapNSNormGatherInScopeNs(&nsMap,
8676 if (XML_NSMAP_NOTEMPTY(nsMap)) {
8680 XML_NSMAP_FOREACH(nsMap, mi) {
8694 &nsMap, depth,
8726 if (XML_NSMAP_NOTEMPTY(nsMap)) {
8730 while ((nsMap->last != NULL) &&
8731 (nsMap->last->depth >= depth))
8733 XML_NSMAP_POP(nsMap, mi)
8738 XML_NSMAP_FOREACH(nsMap, mi) {
8768 if (nsMap != NULL)
8769 xmlDOMWrapNsMapFree(nsMap);
8805 xmlNsMapPtr nsMap = NULL;
8827 nsMap = (xmlNsMapPtr) ctxt->namespaceMap;
8891 if (xmlDOMWrapNSNormGatherInScopeNs(&nsMap,
8905 if (XML_NSMAP_NOTEMPTY(nsMap)) {
8906 XML_NSMAP_FOREACH(nsMap, mi) {
8920 if (xmlDOMWrapNsMapAddItem(&nsMap, -1,
8932 if (xmlDOMWrapNSNormGatherInScopeNs(&nsMap,
8940 if (XML_NSMAP_NOTEMPTY(nsMap)) {
8944 XML_NSMAP_FOREACH(nsMap, mi) {
8966 if (xmlDOMWrapNsMapAddItem(&nsMap, -1,
8978 &nsMap, depth,
9073 if (XML_NSMAP_NOTEMPTY(nsMap)) {
9077 while ((nsMap->last != NULL) &&
9078 (nsMap->last->depth >= depth))
9080 XML_NSMAP_POP(nsMap, mi)
9085 XML_NSMAP_FOREACH(nsMap, mi) {
9113 if (nsMap != NULL) {
9114 if ((ctxt) && (ctxt->namespaceMap == nsMap)) {
9118 if (nsMap->first) {
9119 if (nsMap->pool)
9120 nsMap->last->next = nsMap->pool;
9121 nsMap->pool = nsMap->first;
9122 nsMap->first = NULL;
9125 xmlDOMWrapNsMapFree(nsMap);
9172 xmlNsMapPtr nsMap = NULL;
9216 nsMap = (xmlNsMapPtr) ctxt->namespaceMap;
9343 if (xmlDOMWrapNSNormGatherInScopeNs(&nsMap,
9385 if (XML_NSMAP_NOTEMPTY(nsMap)) {
9386 XML_NSMAP_FOREACH(nsMap, mi) {
9403 if (xmlDOMWrapNsMapAddItem(&nsMap, -1,
9470 if (xmlDOMWrapNSNormGatherInScopeNs(&nsMap, destParent) == -1)
9478 if (XML_NSMAP_NOTEMPTY(nsMap)) {
9482 XML_NSMAP_FOREACH(nsMap, mi) {
9505 if (xmlDOMWrapNsMapAddItem(&nsMap, -1,
9517 &nsMap, depth,
9590 if (XML_NSMAP_NOTEMPTY(nsMap)) {
9594 while ((nsMap->last != NULL) &&
9595 (nsMap->last->depth >= depth))
9597 XML_NSMAP_POP(nsMap, mi)
9602 XML_NSMAP_FOREACH(nsMap, mi) {
9645 if (nsMap != NULL) {
9646 if ((ctxt) && (ctxt->namespaceMap == nsMap)) {
9650 if (nsMap->first) {
9651 if (nsMap->pool)
9652 nsMap->last->next = nsMap->pool;
9653 nsMap->pool = nsMap->first;
9654 nsMap->first = NULL;
9657 xmlDOMWrapNsMapFree(nsMap);