Lines Matching refs:sourceDoc
8132 if ((sourceDoc == NULL) || (sourceDoc->dict == NULL) || \
8133 (!xmlDictOwns(sourceDoc->dict, old))) \
8135 } else if ((sourceDoc) && (sourceDoc->dict) && \
8136 xmlDictOwns(sourceDoc->dict, str)) { \
8146 if (adoptStr && (str != NULL) && (sourceDoc != NULL) && \
8147 (sourceDoc->dict != NULL) && \
8148 xmlDictOwns(sourceDoc->dict, cur->content)) { \
8993 xmlDocPtr sourceDoc, in xmlDOMWrapAdoptBranch() argument
9013 if ((sourceDoc != NULL) && in xmlDOMWrapAdoptBranch()
9014 (sourceDoc->dict == destDoc->dict)) in xmlDOMWrapAdoptBranch()
9045 if (cur->doc != sourceDoc) { in xmlDOMWrapAdoptBranch()
9208 if ((sourceDoc != NULL) && in xmlDOMWrapAdoptBranch()
9211 xmlRemoveID(sourceDoc, (xmlAttrPtr) cur); in xmlDOMWrapAdoptBranch()
9361 xmlDocPtr sourceDoc, in xmlDOMWrapCloneNode() argument
9398 if ((node->doc != NULL) && (sourceDoc != NULL) && in xmlDOMWrapCloneNode()
9399 (node->doc != sourceDoc)) { in xmlDOMWrapCloneNode()
9405 if (sourceDoc == NULL) in xmlDOMWrapCloneNode()
9406 sourceDoc = node->doc; in xmlDOMWrapCloneNode()
9407 if (sourceDoc == NULL) in xmlDOMWrapCloneNode()
9424 if (cur->doc != sourceDoc) { in xmlDOMWrapCloneNode()
9628 if (sourceDoc != destDoc) { in xmlDOMWrapCloneNode()
9888 xmlDocPtr sourceDoc, in xmlDOMWrapAdoptAttr() argument
10021 xmlDocPtr sourceDoc, in xmlDOMWrapAdoptNode() argument
10034 if ((node->doc != NULL) && (sourceDoc != NULL) && in xmlDOMWrapAdoptNode()
10035 (node->doc != sourceDoc)) { in xmlDOMWrapAdoptNode()
10041 if (sourceDoc == NULL) in xmlDOMWrapAdoptNode()
10042 sourceDoc = node->doc; in xmlDOMWrapAdoptNode()
10043 if (sourceDoc == destDoc) in xmlDOMWrapAdoptNode()
10067 return (xmlDOMWrapAdoptBranch(ctxt, sourceDoc, node, in xmlDOMWrapAdoptNode()
10070 return (xmlDOMWrapAdoptAttr(ctxt, sourceDoc, in xmlDOMWrapAdoptNode()
10080 if ((sourceDoc != NULL) && in xmlDOMWrapAdoptNode()
10081 (sourceDoc->dict == destDoc->dict)) in xmlDOMWrapAdoptNode()