Lines Matching refs:nodep

1177 	xmlNodePtr nodep, retnodep;  in PHP_FUNCTION()  local
1188 DOM_GET_OBJ(nodep, node, xmlNodePtr, nodeobj); in PHP_FUNCTION()
1190 if (nodep->type == XML_HTML_DOCUMENT_NODE || nodep->type == XML_DOCUMENT_NODE in PHP_FUNCTION()
1191 || nodep->type == XML_DOCUMENT_TYPE_NODE) { in PHP_FUNCTION()
1196 if (nodep->doc == docp) { in PHP_FUNCTION()
1197 retnodep = nodep; in PHP_FUNCTION()
1199 if ((recursive == 0) && (nodep->type == XML_ELEMENT_NODE)) { in PHP_FUNCTION()
1202 retnodep = xmlDocCopyNode(nodep, docp, recursive); in PHP_FUNCTION()
1207 if ((retnodep->type == XML_ATTRIBUTE_NODE) && (nodep->ns != NULL)) { in PHP_FUNCTION()
1211 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href); in PHP_FUNCTION()
1214 nsptr = dom_get_ns(root, nodep->ns->href, &errorcode, nodep->ns->prefix); in PHP_FUNCTION()
1232 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
1250 nodep = xmlNewDocNode (docp, NULL, localname, value); in PHP_FUNCTION()
1251 if (nodep != NULL && uri != NULL) { in PHP_FUNCTION()
1252 nsptr = xmlSearchNsByHref (nodep->doc, nodep, uri); in PHP_FUNCTION()
1254 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix); in PHP_FUNCTION()
1256 xmlSetNs(nodep, nsptr); in PHP_FUNCTION()
1269 if (nodep != NULL) { in PHP_FUNCTION()
1270 xmlFreeNode(nodep); in PHP_FUNCTION()
1276 if (nodep == NULL) { in PHP_FUNCTION()
1281 nodep->ns = nsptr; in PHP_FUNCTION()
1283 DOM_RET_OBJ(rv, nodep, &ret, intern); in PHP_FUNCTION()
1295 xmlNodePtr nodep = NULL, root; in PHP_FUNCTION() local
1314 nodep = (xmlNodePtr) xmlNewDocProp(docp, localname, NULL); in PHP_FUNCTION()
1315 if (nodep != NULL && uri_len > 0) { in PHP_FUNCTION()
1316 nsptr = xmlSearchNsByHref (nodep->doc, root, uri); in PHP_FUNCTION()
1320 xmlSetNs(nodep, nsptr); in PHP_FUNCTION()
1337 if (nodep != NULL) { in PHP_FUNCTION()
1338 xmlFreeProp((xmlAttrPtr) nodep); in PHP_FUNCTION()
1344 if (nodep == NULL) { in PHP_FUNCTION()
1348 DOM_RET_OBJ(rv, nodep, &ret, intern); in PHP_FUNCTION()
1789 zval *id, *nodep = NULL; in PHP_FUNCTION() local
1799 …NUM_ARGS() TSRMLS_CC, getThis(), "O|O!l", &id, dom_document_class_entry, &nodep, dom_node_class_en… in PHP_FUNCTION()
1808 if (nodep != NULL) { in PHP_FUNCTION()
1810 DOM_GET_OBJ(node, nodep, xmlNodePtr, nodeobj); in PHP_FUNCTION()
2287 zval *id, *nodep = NULL; in PHP_FUNCTION() local
2297 "O|O!", &id, dom_document_class_entry, &nodep, dom_node_class_entry) in PHP_FUNCTION()
2307 if (nodep != NULL) { in PHP_FUNCTION()
2309 DOM_GET_OBJ(node, nodep, xmlNodePtr, nodeobj); in PHP_FUNCTION()