Searched refs:cloneNs (Results 1 – 2 of 2) sorted by relevance
/external/libxml2/ |
D | tree.c | 9186 xmlNsPtr cloneNs = NULL, *cloneNsDefSlot = NULL; in xmlDOMWrapCloneNode() local 9357 cloneNs = (xmlNsPtr) xmlMalloc(sizeof(xmlNs)); in xmlDOMWrapCloneNode() 9358 if (cloneNs == NULL) { in xmlDOMWrapCloneNode() 9363 memset(cloneNs, 0, sizeof(xmlNs)); in xmlDOMWrapCloneNode() 9364 cloneNs->type = XML_LOCAL_NAMESPACE; in xmlDOMWrapCloneNode() 9367 cloneNs->href = xmlStrdup(ns->href); in xmlDOMWrapCloneNode() 9369 cloneNs->prefix = xmlStrdup(ns->prefix); in xmlDOMWrapCloneNode() 9371 *cloneNsDefSlot = cloneNs; in xmlDOMWrapCloneNode() 9372 cloneNsDefSlot = &(cloneNs->next); in xmlDOMWrapCloneNode() 9404 ns, cloneNs, depth) == NULL) in xmlDOMWrapCloneNode()
|
/external/chromium_org/third_party/libxml/src/ |
D | tree.c | 9173 xmlNsPtr cloneNs = NULL, *cloneNsDefSlot = NULL; in xmlDOMWrapCloneNode() local 9344 cloneNs = (xmlNsPtr) xmlMalloc(sizeof(xmlNs)); in xmlDOMWrapCloneNode() 9345 if (cloneNs == NULL) { in xmlDOMWrapCloneNode() 9350 memset(cloneNs, 0, sizeof(xmlNs)); in xmlDOMWrapCloneNode() 9351 cloneNs->type = XML_LOCAL_NAMESPACE; in xmlDOMWrapCloneNode() 9354 cloneNs->href = xmlStrdup(ns->href); in xmlDOMWrapCloneNode() 9356 cloneNs->prefix = xmlStrdup(ns->prefix); in xmlDOMWrapCloneNode() 9358 *cloneNsDefSlot = cloneNs; in xmlDOMWrapCloneNode() 9359 cloneNsDefSlot = &(cloneNs->next); in xmlDOMWrapCloneNode() 9391 ns, cloneNs, depth) == NULL) in xmlDOMWrapCloneNode()
|