Lines Matching refs:intern
44 dom_xpath_object *intern; in dom_xpath_ext_function_php() local
52 intern = (dom_xpath_object *) ctxt->context->userData; in dom_xpath_ext_function_php()
53 if (intern == NULL) { in dom_xpath_ext_function_php()
58 else if (intern->registerPhpFunctions == 0) { in dom_xpath_ext_function_php()
114 php_dom_create_object(nsparent, &parent_zval, &intern->dom); in dom_xpath_ext_function_php()
119 php_dom_create_object(node, &child, &intern->dom); in dom_xpath_ext_function_php()
156 …} else if (intern->registerPhpFunctions == 2 && zend_hash_exists(intern->registered_phpfunctions, … in dom_xpath_ext_function_php()
165 if (intern->node_list == NULL) { in dom_xpath_ext_function_php()
166 intern->node_list = zend_new_array(0); in dom_xpath_ext_function_php()
169 zend_hash_next_index_insert(intern->node_list, &retval); in dom_xpath_ext_function_php()
218 dom_xpath_object *intern; in PHP_METHOD() local
233 intern = Z_XPATHOBJ_P(ZEND_THIS); in PHP_METHOD()
234 if (intern != NULL) { in PHP_METHOD()
235 oldctx = (xmlXPathContextPtr)intern->dom.ptr; in PHP_METHOD()
237 php_libxml_decrement_doc_ref((php_libxml_node_object *) &intern->dom); in PHP_METHOD()
248 intern->dom.ptr = ctx; in PHP_METHOD()
249 ctx->userData = (void *)intern; in PHP_METHOD()
250 intern->dom.document = docobj->document; in PHP_METHOD()
251 intern->register_node_ns = register_node_ns; in PHP_METHOD()
252 php_libxml_increment_doc_ref((php_libxml_node_object *) &intern->dom, docp); in PHP_METHOD()
303 dom_xpath_object *intern; in PHP_METHOD() local
311 intern = Z_XPATHOBJ_P(id); in PHP_METHOD()
313 ctxp = (xmlXPathContextPtr) intern->dom.ptr; in PHP_METHOD()
326 static void dom_xpath_iter(zval *baseobj, dom_object *intern) /* {{{ */ in dom_xpath_iter() argument
328 dom_nnodemap_object *mapptr = (dom_nnodemap_object *) intern->ptr; in dom_xpath_iter()
342 dom_xpath_object *intern; in php_xpath_eval() local
350 intern = Z_XPATHOBJ_P(id); in php_xpath_eval()
351 register_node_ns = intern->register_node_ns; in php_xpath_eval()
357 ctxp = (xmlXPathContextPtr) intern->dom.ptr; in php_xpath_eval()
438 php_dom_create_object(nsparent, &parent_zval, &intern->dom); in php_xpath_eval()
443 php_dom_create_object(node, &child, &intern->dom); in php_xpath_eval()
495 dom_xpath_object *intern = Z_XPATHOBJ_P(id); in PHP_METHOD() local
509 zend_hash_update(intern->registered_phpfunctions, str, &new_string); in PHP_METHOD()
512 intern->registerPhpFunctions = 2; in PHP_METHOD()
515 zend_hash_update(intern->registered_phpfunctions, name, &new_string); in PHP_METHOD()
516 intern->registerPhpFunctions = 2; in PHP_METHOD()
518 intern->registerPhpFunctions = 1; in PHP_METHOD()