Home | History | Annotate | Download | only in libxml2

Lines Matching defs:oldNs

1224     if (cur->oldNs != NULL) xmlFreeNsList(cur->oldNs);
4449 if (doc->oldNs != NULL)
4450 ret->oldNs = xmlCopyNamespaceList(doc->oldNs);
5792 if (doc->oldNs != NULL)
5793 return (doc->oldNs);
5806 doc->oldNs = ns;
5863 if (doc->oldNs == NULL)
5866 return(doc->oldNs);
5996 if (doc->oldNs == NULL)
5999 return(doc->oldNs);
6119 xmlNsPtr *oldNs = NULL;
6142 oldNs = (xmlNsPtr *) xmlMalloc(sizeCache *
6144 if (oldNs == NULL) {
6152 xmlFree(oldNs);
6157 if (oldNs[i] == node->ns) {
6173 oldNs = (xmlNsPtr *) xmlRealloc(oldNs, sizeCache *
6175 if (oldNs == NULL) {
6184 xmlFree(oldNs);
6189 oldNs[nbCache++] = node->ns;
6206 oldNs = (xmlNsPtr *) xmlMalloc(sizeCache *
6208 if (oldNs == NULL) {
6216 xmlFree(oldNs);
6221 if (oldNs[i] == attr->ns) {
6237 oldNs = (xmlNsPtr *) xmlRealloc(oldNs,
6239 if (oldNs == NULL) {
6248 xmlFree(oldNs);
6253 oldNs[nbCache++] = attr->ns;
6291 if (oldNs != NULL)
6292 xmlFree(oldNs);
7584 xmlNsPtr oldNs; /* old ns decl reference */
7591 * -2 == the doc->oldNs XML ns-decl
7592 * -3 == the doc->oldNs storage ns-decls
7648 * @oldNs: the old ns-struct
7656 xmlNsPtr oldNs, xmlNsPtr newNs, int depth)
7722 ret->oldNs = oldNs;
7735 * Creates or reuses an xmlNs struct on doc->oldNs with
7944 xmlNsPtr oldNs, xmlNsPtr newNs)
7963 (*list)[2 * (*number)] = oldNs;
7978 * ns-references to doc->oldNs, thus ensuring the removed
8017 * Save out-of-scope ns-references in doc->oldNs.
8052 * Add to doc's oldNs.
8353 * found it will either declare it on @elem, or store it in doc->oldNs.
8420 mi->oldNs = ns;
8433 * Store ns-decls in "oldNs" of the document-node.
8652 (cur->ns == mi->oldNs)) {
8754 * @destDoc->oldNs otherwise.
8916 (cur->ns == mi->oldNs)) {
8945 /* ns-decls on curElem or on destDoc->oldNs */
9113 * 2) If *no* @destParent is given, then @destDoc->oldNs entries are used.
9454 (cur->ns == mi->oldNs)) {
9484 /* ns-decls on curElem or on destDoc->oldNs */
9649 * @destDoc->oldNs otherwise.
9679 * Store in @destDoc->oldNs.
9768 * 2) If *no* @destParent is given, then @destDoc->oldNs entries are used