Home | History | Annotate | Download | only in libxml2

Lines Matching refs:oldNs

1248     if (cur->oldNs != NULL) xmlFreeNsList(cur->oldNs);
4548 if (doc->oldNs != NULL)
4549 ret->oldNs = xmlCopyNamespaceList(doc->oldNs);
5963 if (doc->oldNs != NULL)
5964 return (doc->oldNs);
5977 doc->oldNs = ns;
6034 if (doc->oldNs == NULL)
6037 return(doc->oldNs);
6167 if (doc->oldNs == NULL)
6170 return(doc->oldNs);
6290 xmlNsPtr *oldNs = NULL;
6313 oldNs = (xmlNsPtr *) xmlMalloc(sizeCache *
6315 if (oldNs == NULL) {
6323 xmlFree(oldNs);
6328 if (oldNs[i] == node->ns) {
6344 oldNs = (xmlNsPtr *) xmlRealloc(oldNs, sizeCache *
6346 if (oldNs == NULL) {
6355 xmlFree(oldNs);
6360 oldNs[nbCache++] = node->ns;
6377 oldNs = (xmlNsPtr *) xmlMalloc(sizeCache *
6379 if (oldNs == NULL) {
6387 xmlFree(oldNs);
6392 if (oldNs[i] == attr->ns) {
6408 oldNs = (xmlNsPtr *) xmlRealloc(oldNs,
6410 if (oldNs == NULL) {
6419 xmlFree(oldNs);
6424 oldNs[nbCache++] = attr->ns;
6462 if (oldNs != NULL)
6463 xmlFree(oldNs);
7801 xmlNsPtr oldNs; /* old ns decl reference */
7808 * -2 == the doc->oldNs XML ns-decl
7809 * -3 == the doc->oldNs storage ns-decls
7865 * @oldNs: the old ns-struct
7873 xmlNsPtr oldNs, xmlNsPtr newNs, int depth)
7938 ret->oldNs = oldNs;
7951 * Creates or reuses an xmlNs struct on doc->oldNs with
8165 xmlNsPtr oldNs, xmlNsPtr newNs)
8184 (*list)[2 * (*number)] = oldNs;
8199 * ns-references to doc->oldNs, thus ensuring the removed
8238 * Save out-of-scope ns-references in doc->oldNs.
8273 * Add to doc's oldNs.
8579 * found it will either declare it on @elem, or store it in doc->oldNs.
8646 mi->oldNs = ns;
8659 * Store ns-decls in "oldNs" of the document-node.
8878 (cur->ns == mi->oldNs)) {
8980 * @destDoc->oldNs otherwise.
9145 (cur->ns == mi->oldNs)) {
9174 /* ns-decls on curElem or on destDoc->oldNs */
9342 * 2) If *no* @destParent is given, then @destDoc->oldNs entries are used.
9686 (cur->ns == mi->oldNs)) {
9716 /* ns-decls on curElem or on destDoc->oldNs */
9882 * @destDoc->oldNs otherwise.
9912 * Store in @destDoc->oldNs.
10003 * 2) If *no* @destParent is given, then @destDoc->oldNs entries are used