Lines Matching refs:nsptr

164 	xmlNsPtr nsptr = NULL;  in PHP_METHOD()  local
186 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix); in PHP_METHOD()
187 xmlSetNs(nodep, nsptr); in PHP_METHOD()
665 xmlNsPtr nsptr; in PHP_FUNCTION() local
684 nsptr = dom_get_nsdecl(elemp, (xmlChar *)name); in PHP_FUNCTION()
685 if (nsptr != NULL) { in PHP_FUNCTION()
686 RETVAL_STRING((char *) nsptr->href, 1); in PHP_FUNCTION()
745 xmlNsPtr nsptr; in PHP_FUNCTION() local
785 nsptr = dom_get_nsdecl(elemp, NULL); in PHP_FUNCTION()
787 nsptr = dom_get_nsdecl(elemp, (xmlChar *)localname); in PHP_FUNCTION()
790 nsptr = xmlSearchNsByHref(elemp->doc, elemp, (xmlChar *)uri); in PHP_FUNCTION()
791 if (nsptr && nsptr->prefix == NULL) { in PHP_FUNCTION()
794 tmpnsptr = nsptr->next; in PHP_FUNCTION()
798 nsptr = tmpnsptr; in PHP_FUNCTION()
804 nsptr = _dom_new_reconNs(elemp->doc, elemp, nsptr); in PHP_FUNCTION()
809 if (nsptr == NULL) { in PHP_FUNCTION()
821 nsptr = dom_get_ns(elemp, uri, &errorcode, prefix); in PHP_FUNCTION()
827 if (nsptr->href) { in PHP_FUNCTION()
828 xmlFree((xmlChar *) nsptr->href); in PHP_FUNCTION()
830 nsptr->href = xmlStrdup((xmlChar *)value); in PHP_FUNCTION()
835 xmlSetNsProp(elemp, nsptr, (xmlChar *)localname, (xmlChar *)value); in PHP_FUNCTION()
874 xmlNsPtr nsptr; in PHP_FUNCTION() local
892 nsptr = dom_get_nsdecl(nodep, (xmlChar *)name); in PHP_FUNCTION()
893 if (nsptr != NULL) { in PHP_FUNCTION()
894 if (xmlStrEqual((xmlChar *)uri, nsptr->href)) { in PHP_FUNCTION()
895 if (nsptr->href != NULL) { in PHP_FUNCTION()
896 xmlFree((char *) nsptr->href); in PHP_FUNCTION()
897 nsptr->href = NULL; in PHP_FUNCTION()
899 if (nsptr->prefix != NULL) { in PHP_FUNCTION()
900 xmlFree((char *) nsptr->prefix); in PHP_FUNCTION()
901 nsptr->prefix = NULL; in PHP_FUNCTION()