Home | History | Annotate | Download | only in libxml2

Lines Matching refs:oldNs

1236     if (cur->oldNs != NULL) xmlFreeNsList(cur->oldNs);
4474 if (doc->oldNs != NULL)
4475 ret->oldNs = xmlCopyNamespaceList(doc->oldNs);
5817 if (doc->oldNs != NULL)
5818 return (doc->oldNs);
5831 doc->oldNs = ns;
5888 if (doc->oldNs == NULL)
5891 return(doc->oldNs);
6021 if (doc->oldNs == NULL)
6024 return(doc->oldNs);
6144 xmlNsPtr *oldNs = NULL;
6167 oldNs = (xmlNsPtr *) xmlMalloc(sizeCache *
6169 if (oldNs == NULL) {
6177 oldNs);
6182 if (oldNs[i] == node->ns) {
6198 oldNs = (xmlNsPtr *) xmlRealloc(oldNs, sizeCache *
6200 if (oldNs == NULL) {
6209 xmlFree(oldNs);
6214 oldNs[nbCache++] = node->ns;
6231 oldNs = (xmlNsPtr *) xmlMalloc(sizeCache *
6233 if (oldNs == NULL) {
6241 xmlFree(oldNs);
6246 if (oldNs[i] == attr->ns) {
6262 oldNs = (xmlNsPtr *) xmlRealloc(oldNs,
6264 if (oldNs == NULL) {
6273 xmlFree(oldNs);
6278 oldNs[nbCache++] = attr->ns;
6316 if (oldNs != NULL)
6317 xmlFree(oldNs);
7611 xmlNsPtr oldNs; /* old ns decl reference */
7618 * -2 == the doc->oldNs XML ns-decl
7619 * -3 == the doc->oldNs storage ns-decls
7675 * @oldNs: the old ns-struct
7683 xmlNsPtr oldNs, xmlNsPtr newNs, int depth)
7749 ret->oldNs = oldNs;
7762 * Creates or reuses an xmlNs struct on doc->oldNs with
7974 xmlNsPtr oldNs, xmlNsPtr newNs)
7993 (*list)[2 * (*number)] = oldNs;
8008 * ns-references to doc->oldNs, thus ensuring the removed
8047 * Save out-of-scope ns-references in doc->oldNs.
8082 * Add to doc's oldNs.
8383 * found it will either declare it on @elem, or store it in doc->oldNs.
8450 mi->oldNs = ns;
8463 * Store ns-decls in "oldNs" of the document-node.
8682 (cur->ns == mi->oldNs)) {
8784 * @destDoc->oldNs otherwise.
8946 (cur->ns == mi->oldNs)) {
8975 /* ns-decls on curElem or on destDoc->oldNs */
9143 * 2) If *no* @destParent is given, then @destDoc->oldNs entries are used.
9484 (cur->ns == mi->oldNs)) {
9514 /* ns-decls on curElem or on destDoc->oldNs */
9679 * @destDoc->oldNs otherwise.
9709 * Store in @destDoc->oldNs.
9798 * 2) If *no* @destParent is given, then @destDoc->oldNs entries are used