Lines Matching refs:newNs
6145 xmlNsPtr *newNs = NULL;
6173 newNs = (xmlNsPtr *) xmlMalloc(sizeCache *
6175 if (newNs == NULL) {
6183 node->ns = newNs[i];
6202 xmlFree(newNs);
6205 newNs = (xmlNsPtr *) xmlRealloc(newNs, sizeCache *
6207 if (newNs == NULL) {
6213 newNs[nbCache] = n;
6237 newNs = (xmlNsPtr *) xmlMalloc(sizeCache *
6239 if (newNs == NULL) {
6247 attr->ns = newNs[i];
6266 xmlFree(newNs);
6269 newNs = (xmlNsPtr *) xmlRealloc(newNs,
6271 if (newNs == NULL) {
6277 newNs[nbCache] = n;
6318 if (newNs != NULL)
6319 xmlFree(newNs);
7612 xmlNsPtr newNs; /* new ns decl reference */
7676 * @newNs: the new ns-struct
7683 xmlNsPtr oldNs, xmlNsPtr newNs, int depth)
7750 ret->newNs = newNs;
7907 if ((ns->prefix == mi->newNs->prefix) ||
7908 xmlStrEqual(ns->prefix, mi->newNs->prefix)) {
7974 xmlNsPtr oldNs, xmlNsPtr newNs)
7994 (*list)[2 * (*number) +1] = newNs;
8442 ((mi->newNs->href != NULL) &&
8443 (mi->newNs->href[0] != 0)) &&
8445 ((! prefixed) || (mi->newNs->prefix != NULL)) &&
8447 ((mi->newNs->href == ns->href) ||
8448 xmlStrEqual(mi->newNs->href, ns->href))) {
8451 *retNs = mi->newNs;
8492 ((ns->prefix == mi->newNs->prefix) ||
8493 xmlStrEqual(ns->prefix, mi->newNs->prefix))) {
8589 ((ns->prefix == mi->newNs->prefix) ||
8590 xmlStrEqual(ns->prefix, mi->newNs->prefix)) &&
8591 ((ns->href == mi->newNs->href) ||
8592 xmlStrEqual(ns->href, mi->newNs->href)))
8599 &sizeRedund, &nbRedund, ns, mi->newNs) == -1)
8626 ((ns->prefix == mi->newNs->prefix) ||
8627 xmlStrEqual(ns->prefix, mi->newNs->prefix))) {
8684 cur->ns = mi->newNs;
8909 ((ns->prefix == mi->newNs->prefix) ||
8911 mi->newNs->prefix))) {
8948 cur->ns = mi->newNs;
9389 ((ns->prefix == mi->newNs->prefix) ||
9391 mi->newNs->prefix))) {
9488 clone->ns = mi->newNs;