Lines Matching refs:nsMap
8590 xmlNsMapPtr *nsMap, in xmlDOMWrapNSNormAquireNormalizedNs() argument
8599 (nsMap == NULL)) in xmlDOMWrapNSNormAquireNormalizedNs()
8619 if ((XML_NSMAP_NOTEMPTY(*nsMap)) && in xmlDOMWrapNSNormAquireNormalizedNs()
8625 XML_NSMAP_FOREACH(*nsMap, mi) { in xmlDOMWrapNSNormAquireNormalizedNs()
8666 if (xmlDOMWrapNsMapAddItem(nsMap, -1, ns, in xmlDOMWrapNSNormAquireNormalizedNs()
8680 if (*nsMap != NULL) { in xmlDOMWrapNSNormAquireNormalizedNs()
8684 XML_NSMAP_FOREACH(*nsMap, mi) { in xmlDOMWrapNSNormAquireNormalizedNs()
8697 if (xmlDOMWrapNsMapAddItem(nsMap, -1, ns, tmpns, depth) == NULL) { in xmlDOMWrapNSNormAquireNormalizedNs()
8736 xmlNsMapPtr nsMap = NULL; in xmlDOMWrapReconcileNamespaces() local
8770 if (xmlDOMWrapNSNormGatherInScopeNs(&nsMap, in xmlDOMWrapReconcileNamespaces()
8780 if (optRemoveRedundantNS && XML_NSMAP_NOTEMPTY(nsMap)) { in xmlDOMWrapReconcileNamespaces()
8781 XML_NSMAP_FOREACH(nsMap, mi) { in xmlDOMWrapReconcileNamespaces()
8817 if (XML_NSMAP_NOTEMPTY(nsMap)) { in xmlDOMWrapReconcileNamespaces()
8818 XML_NSMAP_FOREACH(nsMap, mi) { in xmlDOMWrapReconcileNamespaces()
8831 if (xmlDOMWrapNsMapAddItem(&nsMap, -1, ns, ns, in xmlDOMWrapReconcileNamespaces()
8851 if (xmlDOMWrapNSNormGatherInScopeNs(&nsMap, in xmlDOMWrapReconcileNamespaces()
8871 if (XML_NSMAP_NOTEMPTY(nsMap)) { in xmlDOMWrapReconcileNamespaces()
8875 XML_NSMAP_FOREACH(nsMap, mi) { in xmlDOMWrapReconcileNamespaces()
8889 &nsMap, depth, in xmlDOMWrapReconcileNamespaces()
8921 if (XML_NSMAP_NOTEMPTY(nsMap)) { in xmlDOMWrapReconcileNamespaces()
8925 while ((nsMap->last != NULL) && in xmlDOMWrapReconcileNamespaces()
8926 (nsMap->last->depth >= depth)) in xmlDOMWrapReconcileNamespaces()
8928 XML_NSMAP_POP(nsMap, mi) in xmlDOMWrapReconcileNamespaces()
8933 XML_NSMAP_FOREACH(nsMap, mi) { in xmlDOMWrapReconcileNamespaces()
8963 if (nsMap != NULL) in xmlDOMWrapReconcileNamespaces()
8964 xmlDOMWrapNsMapFree(nsMap); in xmlDOMWrapReconcileNamespaces()
9000 xmlNsMapPtr nsMap = NULL; in xmlDOMWrapAdoptBranch() local
9022 nsMap = (xmlNsMapPtr) ctxt->namespaceMap; in xmlDOMWrapAdoptBranch()
9089 if (xmlDOMWrapNSNormGatherInScopeNs(&nsMap, in xmlDOMWrapAdoptBranch()
9103 if (XML_NSMAP_NOTEMPTY(nsMap)) { in xmlDOMWrapAdoptBranch()
9104 XML_NSMAP_FOREACH(nsMap, mi) { in xmlDOMWrapAdoptBranch()
9118 if (xmlDOMWrapNsMapAddItem(&nsMap, -1, in xmlDOMWrapAdoptBranch()
9130 if (xmlDOMWrapNSNormGatherInScopeNs(&nsMap, in xmlDOMWrapAdoptBranch()
9138 if (XML_NSMAP_NOTEMPTY(nsMap)) { in xmlDOMWrapAdoptBranch()
9142 XML_NSMAP_FOREACH(nsMap, mi) { in xmlDOMWrapAdoptBranch()
9164 if (xmlDOMWrapNsMapAddItem(&nsMap, -1, in xmlDOMWrapAdoptBranch()
9176 &nsMap, depth, in xmlDOMWrapAdoptBranch()
9271 if (XML_NSMAP_NOTEMPTY(nsMap)) { in xmlDOMWrapAdoptBranch()
9275 while ((nsMap->last != NULL) && in xmlDOMWrapAdoptBranch()
9276 (nsMap->last->depth >= depth)) in xmlDOMWrapAdoptBranch()
9278 XML_NSMAP_POP(nsMap, mi) in xmlDOMWrapAdoptBranch()
9283 XML_NSMAP_FOREACH(nsMap, mi) { in xmlDOMWrapAdoptBranch()
9311 if (nsMap != NULL) { in xmlDOMWrapAdoptBranch()
9312 if ((ctxt) && (ctxt->namespaceMap == nsMap)) { in xmlDOMWrapAdoptBranch()
9316 if (nsMap->first) { in xmlDOMWrapAdoptBranch()
9317 if (nsMap->pool) in xmlDOMWrapAdoptBranch()
9318 nsMap->last->next = nsMap->pool; in xmlDOMWrapAdoptBranch()
9319 nsMap->pool = nsMap->first; in xmlDOMWrapAdoptBranch()
9320 nsMap->first = NULL; in xmlDOMWrapAdoptBranch()
9323 xmlDOMWrapNsMapFree(nsMap); in xmlDOMWrapAdoptBranch()
9370 xmlNsMapPtr nsMap = NULL; in xmlDOMWrapCloneNode() local
9414 nsMap = (xmlNsMapPtr) ctxt->namespaceMap; in xmlDOMWrapCloneNode()
9544 if (xmlDOMWrapNSNormGatherInScopeNs(&nsMap, in xmlDOMWrapCloneNode()
9586 if (XML_NSMAP_NOTEMPTY(nsMap)) { in xmlDOMWrapCloneNode()
9587 XML_NSMAP_FOREACH(nsMap, mi) { in xmlDOMWrapCloneNode()
9604 if (xmlDOMWrapNsMapAddItem(&nsMap, -1, in xmlDOMWrapCloneNode()
9671 if (xmlDOMWrapNSNormGatherInScopeNs(&nsMap, destParent) == -1) in xmlDOMWrapCloneNode()
9679 if (XML_NSMAP_NOTEMPTY(nsMap)) { in xmlDOMWrapCloneNode()
9683 XML_NSMAP_FOREACH(nsMap, mi) { in xmlDOMWrapCloneNode()
9706 if (xmlDOMWrapNsMapAddItem(&nsMap, -1, in xmlDOMWrapCloneNode()
9718 &nsMap, depth, in xmlDOMWrapCloneNode()
9791 if (XML_NSMAP_NOTEMPTY(nsMap)) { in xmlDOMWrapCloneNode()
9795 while ((nsMap->last != NULL) && in xmlDOMWrapCloneNode()
9796 (nsMap->last->depth >= depth)) in xmlDOMWrapCloneNode()
9798 XML_NSMAP_POP(nsMap, mi) in xmlDOMWrapCloneNode()
9803 XML_NSMAP_FOREACH(nsMap, mi) { in xmlDOMWrapCloneNode()
9847 if (nsMap != NULL) { in xmlDOMWrapCloneNode()
9848 if ((ctxt) && (ctxt->namespaceMap == nsMap)) { in xmlDOMWrapCloneNode()
9852 if (nsMap->first) { in xmlDOMWrapCloneNode()
9853 if (nsMap->pool) in xmlDOMWrapCloneNode()
9854 nsMap->last->next = nsMap->pool; in xmlDOMWrapCloneNode()
9855 nsMap->pool = nsMap->first; in xmlDOMWrapCloneNode()
9856 nsMap->first = NULL; in xmlDOMWrapCloneNode()
9859 xmlDOMWrapNsMapFree(nsMap); in xmlDOMWrapCloneNode()