Lines Matching refs:nodep
978 xmlNodePtr nodep, retnodep; in PHP_FUNCTION() local
989 DOM_GET_OBJ(nodep, node, xmlNodePtr, nodeobj); in PHP_FUNCTION()
991 if (nodep->type == XML_HTML_DOCUMENT_NODE || nodep->type == XML_DOCUMENT_NODE in PHP_FUNCTION()
992 || nodep->type == XML_DOCUMENT_TYPE_NODE) { in PHP_FUNCTION()
997 if (nodep->doc == docp) { in PHP_FUNCTION()
998 retnodep = nodep; in PHP_FUNCTION()
1000 if ((recursive == 0) && (nodep->type == XML_ELEMENT_NODE)) { in PHP_FUNCTION()
1003 retnodep = xmlDocCopyNode(nodep, docp, recursive); in PHP_FUNCTION()
1008 if ((retnodep->type == XML_ATTRIBUTE_NODE) && (nodep->ns != NULL)) { in PHP_FUNCTION()
1012 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href); in PHP_FUNCTION()
1015 nsptr = dom_get_ns(root, (char *) nodep->ns->href, &errorcode, (char *) nodep->ns->prefix); in PHP_FUNCTION()
1033 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
1052 nodep = xmlNewDocNode(docp, NULL, (xmlChar *) localname, (xmlChar *) value); in PHP_FUNCTION()
1053 if (nodep != NULL && uri != NULL) { in PHP_FUNCTION()
1054 nsptr = xmlSearchNsByHref(nodep->doc, nodep, (xmlChar *) uri); in PHP_FUNCTION()
1056 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix); in PHP_FUNCTION()
1058 xmlSetNs(nodep, nsptr); in PHP_FUNCTION()
1071 if (nodep != NULL) { in PHP_FUNCTION()
1072 xmlFreeNode(nodep); in PHP_FUNCTION()
1078 if (nodep == NULL) { in PHP_FUNCTION()
1083 nodep->ns = nsptr; in PHP_FUNCTION()
1085 DOM_RET_OBJ(nodep, &ret, intern); in PHP_FUNCTION()
1097 xmlNodePtr nodep = NULL, root; in PHP_FUNCTION() local
1117 nodep = (xmlNodePtr) xmlNewDocProp(docp, (xmlChar *) localname, NULL); in PHP_FUNCTION()
1118 if (nodep != NULL && uri_len > 0) { in PHP_FUNCTION()
1119 nsptr = xmlSearchNsByHref(nodep->doc, root, (xmlChar *) uri); in PHP_FUNCTION()
1123 xmlSetNs(nodep, nsptr); in PHP_FUNCTION()
1140 if (nodep != NULL) { in PHP_FUNCTION()
1141 xmlFreeProp((xmlAttrPtr) nodep); in PHP_FUNCTION()
1147 if (nodep == NULL) { in PHP_FUNCTION()
1151 DOM_RET_OBJ(nodep, &ret, intern); in PHP_FUNCTION()
1610 zval *id, *nodep = NULL; in PHP_FUNCTION() local
1620 …ters(ZEND_NUM_ARGS(), getThis(), "O|O!l", &id, dom_document_class_entry, &nodep, dom_node_class_en… in PHP_FUNCTION()
1629 if (nodep != NULL) { in PHP_FUNCTION()
1631 DOM_GET_OBJ(node, nodep, xmlNodePtr, nodeobj); in PHP_FUNCTION()
2150 zval *id, *nodep = NULL; in PHP_FUNCTION() local
2160 "O|O!", &id, dom_document_class_entry, &nodep, dom_node_class_entry) in PHP_FUNCTION()
2170 if (nodep != NULL) { in PHP_FUNCTION()
2172 DOM_GET_OBJ(node, nodep, xmlNodePtr, nodeobj); in PHP_FUNCTION()