Lines Matching refs:intern
700 dom_object *intern; in PHP_FUNCTION() local
709 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
712 php_dom_throw_error(INVALID_CHARACTER_ERR, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
721 DOM_RET_OBJ(node, &ret, intern); in PHP_FUNCTION()
734 dom_object *intern; in PHP_FUNCTION() local
741 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
748 DOM_RET_OBJ(node, &ret, intern); in PHP_FUNCTION()
763 dom_object *intern; in PHP_FUNCTION() local
770 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
777 DOM_RET_OBJ(node, &ret, intern); in PHP_FUNCTION()
792 dom_object *intern; in PHP_FUNCTION() local
799 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
806 DOM_RET_OBJ(node, &ret, intern); in PHP_FUNCTION()
821 dom_object *intern; in PHP_FUNCTION() local
828 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
835 DOM_RET_OBJ(node, &ret, intern); in PHP_FUNCTION()
850 dom_object *intern; in PHP_FUNCTION() local
857 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
860 php_dom_throw_error(INVALID_CHARACTER_ERR, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
871 DOM_RET_OBJ(node, &ret, intern); in PHP_FUNCTION()
886 dom_object *intern; in PHP_FUNCTION() local
893 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
896 php_dom_throw_error(INVALID_CHARACTER_ERR, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
905 DOM_RET_OBJ((xmlNodePtr) node, &ret, intern); in PHP_FUNCTION()
919 dom_object *intern; in PHP_FUNCTION() local
928 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
931 php_dom_throw_error(INVALID_CHARACTER_ERR, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
940 DOM_RET_OBJ((xmlNodePtr) node, &ret, intern); in PHP_FUNCTION()
953 dom_object *intern, *namednode; in PHP_FUNCTION() local
961 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
966 dom_namednode_iter(intern, 0, namednode, NULL, local, NULL); in PHP_FUNCTION()
979 dom_object *intern, *nodeobj; in PHP_FUNCTION() local
987 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
1021 DOM_RET_OBJ((xmlNodePtr) retnodep, &ret, intern); in PHP_FUNCTION()
1040 dom_object *intern; in PHP_FUNCTION() local
1046 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
1074 php_dom_throw_error(errorcode, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
1085 DOM_RET_OBJ(nodep, &ret, intern); in PHP_FUNCTION()
1103 dom_object *intern; in PHP_FUNCTION() local
1110 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
1143 php_dom_throw_error(errorcode, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
1151 DOM_RET_OBJ(nodep, &ret, intern); in PHP_FUNCTION()
1164 dom_object *intern, *namednode; in PHP_FUNCTION() local
1172 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
1178 dom_namednode_iter(intern, 0, namednode, NULL, local, nsuri); in PHP_FUNCTION()
1193 dom_object *intern; in PHP_FUNCTION() local
1200 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
1205 DOM_RET_OBJ((xmlNodePtr) attrp->parent, &ret, intern); in PHP_FUNCTION()
1231 dom_object *intern; in PHP_FUNCTION() local
1237 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
1259 dom_object *intern; in PHP_METHOD() local
1279 intern = Z_DOMOBJ_P(id); in PHP_METHOD()
1280 if (intern != NULL) { in PHP_METHOD()
1281 olddoc = (xmlDocPtr) dom_object_get_node(intern); in PHP_METHOD()
1283 php_libxml_decrement_node_ptr((php_libxml_node_object *) intern); in PHP_METHOD()
1284 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern); in PHP_METHOD()
1289 intern->document = NULL; in PHP_METHOD()
1290 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, docp) == -1) { in PHP_METHOD()
1293 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)docp, (void *)intern); in PHP_METHOD()
1357 dom_object *intern; in dom_document_parser() local
1365 intern = Z_DOMOBJ_P(id); in dom_document_parser()
1366 document = intern->document; in dom_document_parser()
1477 dom_object *intern; in dom_parse_document() local
1511 intern = Z_DOMOBJ_P(id); in dom_parse_document()
1512 if (intern != NULL) { in dom_parse_document()
1513 docp = (xmlDocPtr) dom_object_get_node(intern); in dom_parse_document()
1516 php_libxml_decrement_node_ptr((php_libxml_node_object *) intern); in dom_parse_document()
1517 doc_prop = intern->document->doc_props; in dom_parse_document()
1518 intern->document->doc_props = NULL; in dom_parse_document()
1519 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern); in dom_parse_document()
1524 intern->document = NULL; in dom_parse_document()
1525 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc) == -1) { in dom_parse_document()
1528 intern->document->doc_props = doc_prop; in dom_parse_document()
1531 …hp_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)newdoc, (void *)intern); in dom_parse_document()
1569 dom_object *intern; in PHP_FUNCTION() local
1583 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
1587 doc_props = dom_get_doc_props(intern->document); in PHP_FUNCTION()
1615 dom_object *intern, *nodeobj; in PHP_FUNCTION() local
1624 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
1626 doc_props = dom_get_doc_props(intern->document); in PHP_FUNCTION()
1633 php_dom_throw_error(WRONG_DOCUMENT_ERR, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
1725 dom_object *intern; in PHP_FUNCTION() local
1736 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
1768 dom_object *intern; in PHP_FUNCTION() local
1775 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
1799 dom_object *intern; in _dom_document_schema_validate() local
1819 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in _dom_document_schema_validate()
1854 docp = (xmlDocPtr) dom_object_get_node(intern); in _dom_document_schema_validate()
1901 dom_object *intern; in _dom_document_relaxNG_validate() local
1919 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in _dom_document_relaxNG_validate()
1954 docp = (xmlDocPtr) dom_object_get_node(intern); in _dom_document_relaxNG_validate()
1998 dom_object *intern; in dom_load_html() local
2059 intern = Z_DOMOBJ_P(id); in dom_load_html()
2060 if (intern != NULL) { in dom_load_html()
2061 docp = (xmlDocPtr) dom_object_get_node(intern); in dom_load_html()
2064 php_libxml_decrement_node_ptr((php_libxml_node_object *) intern); in dom_load_html()
2065 doc_prop = intern->document->doc_props; in dom_load_html()
2066 intern->document->doc_props = NULL; in dom_load_html()
2067 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern); in dom_load_html()
2072 intern->document = NULL; in dom_load_html()
2073 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc) == -1) { in dom_load_html()
2076 intern->document->doc_props = doc_prop; in dom_load_html()
2079 …hp_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)newdoc, (void *)intern); in dom_load_html()
2115 dom_object *intern; in PHP_FUNCTION() local
2129 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
2134 doc_props = dom_get_doc_props(intern->document); in PHP_FUNCTION()
2154 dom_object *intern, *nodeobj; in PHP_FUNCTION() local
2165 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_FUNCTION()
2167 doc_props = dom_get_doc_props(intern->document); in PHP_FUNCTION()
2174 php_dom_throw_error(WRONG_DOCUMENT_ERR, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
2239 dom_object *intern; in PHP_METHOD() local
2246 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_METHOD()
2247 dom_set_doc_classmap(intern->document, basece, ce); in PHP_METHOD()