Lines Matching refs:nodep

976 	xmlNodePtr nodep, retnodep;  in PHP_FUNCTION()  local
987 DOM_GET_OBJ(nodep, node, xmlNodePtr, nodeobj); in PHP_FUNCTION()
989 if (nodep->type == XML_HTML_DOCUMENT_NODE || nodep->type == XML_DOCUMENT_NODE in PHP_FUNCTION()
990 || nodep->type == XML_DOCUMENT_TYPE_NODE) { in PHP_FUNCTION()
995 if (nodep->doc == docp) { in PHP_FUNCTION()
996 retnodep = nodep; in PHP_FUNCTION()
998 if ((recursive == 0) && (nodep->type == XML_ELEMENT_NODE)) { in PHP_FUNCTION()
1001 retnodep = xmlDocCopyNode(nodep, docp, recursive); in PHP_FUNCTION()
1006 if ((retnodep->type == XML_ATTRIBUTE_NODE) && (nodep->ns != NULL)) { in PHP_FUNCTION()
1010 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href); in PHP_FUNCTION()
1013 nsptr = dom_get_ns(root, (char *) nodep->ns->href, &errorcode, (char *) nodep->ns->prefix); in PHP_FUNCTION()
1031 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
1050 nodep = xmlNewDocNode(docp, NULL, (xmlChar *) localname, (xmlChar *) value); in PHP_FUNCTION()
1051 if (nodep != NULL && uri != NULL) { in PHP_FUNCTION()
1052 nsptr = xmlSearchNsByHref(nodep->doc, nodep, (xmlChar *) uri); in PHP_FUNCTION()
1054 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix); in PHP_FUNCTION()
1056 xmlSetNs(nodep, nsptr); in PHP_FUNCTION()
1069 if (nodep != NULL) { in PHP_FUNCTION()
1070 xmlFreeNode(nodep); in PHP_FUNCTION()
1076 if (nodep == NULL) { in PHP_FUNCTION()
1081 nodep->ns = nsptr; in PHP_FUNCTION()
1083 DOM_RET_OBJ(nodep, &ret, intern); in PHP_FUNCTION()
1095 xmlNodePtr nodep = NULL, root; in PHP_FUNCTION() local
1115 nodep = (xmlNodePtr) xmlNewDocProp(docp, (xmlChar *) localname, NULL); in PHP_FUNCTION()
1116 if (nodep != NULL && uri_len > 0) { in PHP_FUNCTION()
1117 nsptr = xmlSearchNsByHref(nodep->doc, root, (xmlChar *) uri); in PHP_FUNCTION()
1121 xmlSetNs(nodep, nsptr); in PHP_FUNCTION()
1138 if (nodep != NULL) { in PHP_FUNCTION()
1139 xmlFreeProp((xmlAttrPtr) nodep); in PHP_FUNCTION()
1145 if (nodep == NULL) { in PHP_FUNCTION()
1149 DOM_RET_OBJ(nodep, &ret, intern); in PHP_FUNCTION()
1608 zval *id, *nodep = NULL; in PHP_FUNCTION() local
1618 …ters(ZEND_NUM_ARGS(), getThis(), "O|O!l", &id, dom_document_class_entry, &nodep, dom_node_class_en… in PHP_FUNCTION()
1627 if (nodep != NULL) { in PHP_FUNCTION()
1629 DOM_GET_OBJ(node, nodep, xmlNodePtr, nodeobj); in PHP_FUNCTION()
2147 zval *id, *nodep = NULL; in PHP_FUNCTION() local
2158 "O|O!", &id, dom_document_class_entry, &nodep, dom_node_class_entry) in PHP_FUNCTION()
2168 if (nodep != NULL) { in PHP_FUNCTION()
2170 DOM_GET_OBJ(node, nodep, xmlNodePtr, nodeobj); in PHP_FUNCTION()