Lines Matching refs:intern
39 dom_xpath_object *intern = php_xpath_obj_from_obj(object); in dom_xpath_objects_free_storage() local
41 zend_object_std_dtor(&intern->dom.std); in dom_xpath_objects_free_storage()
43 if (intern->dom.ptr != NULL) { in dom_xpath_objects_free_storage()
44 xmlXPathFreeContext((xmlXPathContextPtr) intern->dom.ptr); in dom_xpath_objects_free_storage()
45 php_libxml_decrement_doc_ref((php_libxml_node_object *) &intern->dom); in dom_xpath_objects_free_storage()
48 php_dom_xpath_callbacks_dtor(&intern->xpath_callbacks); in dom_xpath_objects_free_storage()
53 dom_xpath_object *intern = php_xpath_obj_from_obj(object); in dom_xpath_get_gc() local
54 return php_dom_xpath_callbacks_get_gc_for_whole_object(&intern->xpath_callbacks, object, table, n); in dom_xpath_get_gc()
57 static void dom_xpath_proxy_factory(xmlNodePtr node, zval *child, dom_object *intern, xmlXPathParse… in dom_xpath_proxy_factory() argument
63 php_dom_create_object(node, child, intern); in dom_xpath_proxy_factory()
74 dom_xpath_object *intern = (dom_xpath_object *) ctxt->context->userData; in dom_xpath_ext_fetch_intern() local
75 if (UNEXPECTED(intern == NULL)) { in dom_xpath_ext_fetch_intern()
81 return intern; in dom_xpath_ext_fetch_intern()
86 dom_xpath_object *intern = dom_xpath_ext_fetch_intern(ctxt); in dom_xpath_ext_function_php() local
87 if (!intern) { in dom_xpath_ext_function_php()
90 …php_dom_xpath_callbacks_call_php_ns(&intern->xpath_callbacks, ctxt, nargs, evaluation_mode, &inter… in dom_xpath_ext_function_php()
109 dom_xpath_object *intern = dom_xpath_ext_fetch_intern(ctxt); in dom_xpath_ext_function_trampoline() local
110 if (!intern) { in dom_xpath_ext_function_trampoline()
113 …xpath_callbacks_call_custom_ns(&intern->xpath_callbacks, ctxt, nargs, PHP_DOM_XPATH_EVALUATE_NODES… in dom_xpath_ext_function_trampoline()
137 dom_xpath_object *intern = Z_XPATHOBJ_P(ZEND_THIS); in dom_xpath_construct() local
138 xmlXPathContextPtr oldctx = intern->dom.ptr; in dom_xpath_construct()
140 php_libxml_decrement_doc_ref((php_libxml_node_object *) &intern->dom); in dom_xpath_construct()
142 php_dom_xpath_callbacks_dtor(&intern->xpath_callbacks); in dom_xpath_construct()
143 php_dom_xpath_callbacks_ctor(&intern->xpath_callbacks); in dom_xpath_construct()
153 intern->dom.ptr = ctx; in dom_xpath_construct()
154 ctx->userData = (void *)intern; in dom_xpath_construct()
155 intern->dom.document = docobj->document; in dom_xpath_construct()
156 intern->register_node_ns = register_node_ns; in dom_xpath_construct()
157 php_libxml_increment_doc_ref((php_libxml_node_object *) &intern->dom, docp); in dom_xpath_construct()
221 dom_xpath_object *intern = Z_XPATHOBJ_P(ZEND_THIS); in PHP_METHOD() local
223 xmlXPathContextPtr ctxp = intern->dom.ptr; in PHP_METHOD()
236 static void dom_xpath_iter(zval *baseobj, dom_object *intern) /* {{{ */ in dom_xpath_iter() argument
238 dom_nnodemap_object *mapptr = (dom_nnodemap_object *) intern->ptr; in dom_xpath_iter()
253 dom_xpath_object *intern = Z_XPATHOBJ_P(ZEND_THIS); in php_xpath_eval() local
254 bool register_node_ns = intern->register_node_ns; in php_xpath_eval()
260 xmlXPathContextPtr ctxp = intern->dom.ptr; in php_xpath_eval()
295 php_dom_libxml_ns_mapper *ns_mapper = php_dom_get_ns_mapper(&intern->dom); in php_xpath_eval()
362 php_dom_create_object(nsparent, &parent_zval, &intern->dom); in php_xpath_eval()
367 php_dom_create_object(node, &child, &intern->dom); in php_xpath_eval()
428 dom_xpath_object *intern = Z_XPATHOBJ_P(ZEND_THIS); in PHP_METHOD() local
439 &intern->xpath_callbacks, in PHP_METHOD()
440 intern->dom.ptr, in PHP_METHOD()
457 dom_xpath_object *intern = Z_XPATHOBJ_P(ZEND_THIS); in PHP_METHOD() local
476 &intern->xpath_callbacks, in PHP_METHOD()
477 intern->dom.ptr, in PHP_METHOD()