Lines Matching refs:nodep

1178 	xmlNodePtr nodep, retnodep;  in PHP_FUNCTION()  local
1189 DOM_GET_OBJ(nodep, node, xmlNodePtr, nodeobj); in PHP_FUNCTION()
1191 if (nodep->type == XML_HTML_DOCUMENT_NODE || nodep->type == XML_DOCUMENT_NODE in PHP_FUNCTION()
1192 || nodep->type == XML_DOCUMENT_TYPE_NODE) { in PHP_FUNCTION()
1197 if (nodep->doc == docp) { in PHP_FUNCTION()
1198 retnodep = nodep; in PHP_FUNCTION()
1200 if ((recursive == 0) && (nodep->type == XML_ELEMENT_NODE)) { in PHP_FUNCTION()
1203 retnodep = xmlDocCopyNode(nodep, docp, recursive); in PHP_FUNCTION()
1208 if ((retnodep->type == XML_ATTRIBUTE_NODE) && (nodep->ns != NULL)) { in PHP_FUNCTION()
1212 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href); in PHP_FUNCTION()
1215 nsptr = dom_get_ns(root, (char *) nodep->ns->href, &errorcode, (char *) nodep->ns->prefix); in PHP_FUNCTION()
1233 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
1251 nodep = xmlNewDocNode (docp, NULL, localname, value); in PHP_FUNCTION()
1252 if (nodep != NULL && uri != NULL) { in PHP_FUNCTION()
1253 nsptr = xmlSearchNsByHref (nodep->doc, nodep, uri); in PHP_FUNCTION()
1255 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix); in PHP_FUNCTION()
1257 xmlSetNs(nodep, nsptr); in PHP_FUNCTION()
1270 if (nodep != NULL) { in PHP_FUNCTION()
1271 xmlFreeNode(nodep); in PHP_FUNCTION()
1277 if (nodep == NULL) { in PHP_FUNCTION()
1282 nodep->ns = nsptr; in PHP_FUNCTION()
1284 DOM_RET_OBJ(nodep, &ret, intern); in PHP_FUNCTION()
1296 xmlNodePtr nodep = NULL, root; in PHP_FUNCTION() local
1315 nodep = (xmlNodePtr) xmlNewDocProp(docp, localname, NULL); in PHP_FUNCTION()
1316 if (nodep != NULL && uri_len > 0) { in PHP_FUNCTION()
1317 nsptr = xmlSearchNsByHref (nodep->doc, root, uri); in PHP_FUNCTION()
1321 xmlSetNs(nodep, nsptr); in PHP_FUNCTION()
1338 if (nodep != NULL) { in PHP_FUNCTION()
1339 xmlFreeProp((xmlAttrPtr) nodep); in PHP_FUNCTION()
1345 if (nodep == NULL) { in PHP_FUNCTION()
1349 DOM_RET_OBJ(nodep, &ret, intern); in PHP_FUNCTION()
1800 zval *id, *nodep = NULL; in PHP_FUNCTION() local
1810 …NUM_ARGS() TSRMLS_CC, getThis(), "O|O!l", &id, dom_document_class_entry, &nodep, dom_node_class_en… in PHP_FUNCTION()
1819 if (nodep != NULL) { in PHP_FUNCTION()
1821 DOM_GET_OBJ(node, nodep, xmlNodePtr, nodeobj); in PHP_FUNCTION()
2323 zval *id, *nodep = NULL; in PHP_FUNCTION() local
2333 "O|O!", &id, dom_document_class_entry, &nodep, dom_node_class_entry) in PHP_FUNCTION()
2343 if (nodep != NULL) { in PHP_FUNCTION()
2345 DOM_GET_OBJ(node, nodep, xmlNodePtr, nodeobj); in PHP_FUNCTION()