Lines Matching refs:node
115 ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
135 ZEND_ARG_OBJ_INFO(0, node, DOMNode, 1)
844 xmlNode *node; in PHP_FUNCTION() local
861 node = xmlNewDocNode(docp, NULL, name, value); in PHP_FUNCTION()
862 if (!node) { in PHP_FUNCTION()
866 DOM_RET_OBJ(node, &ret, intern); in PHP_FUNCTION()
877 xmlNode *node; in PHP_FUNCTION() local
888 node = xmlNewDocFragment(docp); in PHP_FUNCTION()
889 if (!node) { in PHP_FUNCTION()
893 DOM_RET_OBJ(node, &ret, intern); in PHP_FUNCTION()
904 xmlNode *node; in PHP_FUNCTION() local
916 node = xmlNewDocText(docp, (xmlChar *) value); in PHP_FUNCTION()
917 if (!node) { in PHP_FUNCTION()
921 DOM_RET_OBJ(node, &ret, intern); in PHP_FUNCTION()
932 xmlNode *node; in PHP_FUNCTION() local
944 node = xmlNewDocComment(docp, (xmlChar *) value); in PHP_FUNCTION()
945 if (!node) { in PHP_FUNCTION()
949 DOM_RET_OBJ(node, &ret, intern); in PHP_FUNCTION()
960 xmlNode *node; in PHP_FUNCTION() local
972 node = xmlNewCDataBlock(docp, (xmlChar *) value, value_len); in PHP_FUNCTION()
973 if (!node) { in PHP_FUNCTION()
977 DOM_RET_OBJ(node, &ret, intern); in PHP_FUNCTION()
988 xmlNode *node; in PHP_FUNCTION() local
1005 node = xmlNewPI((xmlChar *) name, (xmlChar *) value); in PHP_FUNCTION()
1006 if (!node) { in PHP_FUNCTION()
1010 node->doc = docp; in PHP_FUNCTION()
1012 DOM_RET_OBJ(node, &ret, intern); in PHP_FUNCTION()
1023 xmlAttrPtr node; in PHP_FUNCTION() local
1040 node = xmlNewDocProp(docp, (xmlChar *) name, NULL); in PHP_FUNCTION()
1041 if (!node) { in PHP_FUNCTION()
1045 DOM_RET_OBJ((xmlNodePtr) node, &ret, intern); in PHP_FUNCTION()
1057 xmlNode *node; in PHP_FUNCTION() local
1074 node = xmlNewReference(docp, name); in PHP_FUNCTION()
1075 if (!node) { in PHP_FUNCTION()
1079 DOM_RET_OBJ((xmlNodePtr) node, &ret, intern); in PHP_FUNCTION()
1115 zval *id, *node; in PHP_FUNCTION() local
1122 …_NUM_ARGS() TSRMLS_CC, getThis(), "OO|l", &id, dom_document_class_entry, &node, dom_node_class_ent… in PHP_FUNCTION()
1128 DOM_GET_OBJ(nodep, node, xmlNodePtr, nodeobj); in PHP_FUNCTION()
1741 xmlNode *node; in PHP_FUNCTION() local
1760 DOM_GET_OBJ(node, nodep, xmlNodePtr, nodeobj); in PHP_FUNCTION()
1761 if (node->doc != docp) { in PHP_FUNCTION()
1774 xmlNodeDump(buf, docp, node, 0, format); in PHP_FUNCTION()
2264 xmlNode *node; in PHP_FUNCTION() local
2284 DOM_GET_OBJ(node, nodep, xmlNodePtr, nodeobj); in PHP_FUNCTION()
2285 if (node->doc != docp) { in PHP_FUNCTION()
2296 if (node->type == XML_DOCUMENT_FRAG_NODE) { in PHP_FUNCTION()
2299 for (node = node->children; node; node = node->next) { in PHP_FUNCTION()
2300 one_size = htmlNodeDump(buf, docp, node); in PHP_FUNCTION()
2310 size = htmlNodeDump(buf, docp, node); in PHP_FUNCTION()