Lines Matching refs:intern
84 dom_xpath_object *intern; in dom_xpath_ext_function_php() local
92 intern = (dom_xpath_object *) ctxt->context->userData; in dom_xpath_ext_function_php()
93 if (intern == NULL) { in dom_xpath_ext_function_php()
98 else if (intern->registerPhpFunctions == 0) { in dom_xpath_ext_function_php()
161 php_dom_create_object(node, &child, &intern->dom); in dom_xpath_ext_function_php()
196 …} else if (intern->registerPhpFunctions == 2 && zend_hash_exists(intern->registered_phpfunctions, … in dom_xpath_ext_function_php()
206 if (intern->node_list == NULL) { in dom_xpath_ext_function_php()
207 ALLOC_HASHTABLE(intern->node_list); in dom_xpath_ext_function_php()
208 zend_hash_init(intern->node_list, 0, NULL, ZVAL_PTR_DTOR, 0); in dom_xpath_ext_function_php()
211 zend_hash_next_index_insert(intern->node_list, &retval); in dom_xpath_ext_function_php()
257 dom_xpath_object *intern; in PHP_METHOD() local
272 intern = Z_XPATHOBJ_P(id); in PHP_METHOD()
273 if (intern != NULL) { in PHP_METHOD()
274 oldctx = (xmlXPathContextPtr)intern->dom.ptr; in PHP_METHOD()
276 php_libxml_decrement_doc_ref((php_libxml_node_object *) &intern->dom); in PHP_METHOD()
287 intern->dom.ptr = ctx; in PHP_METHOD()
288 ctx->userData = (void *)intern; in PHP_METHOD()
289 intern->dom.document = docobj->document; in PHP_METHOD()
290 php_libxml_increment_doc_ref((php_libxml_node_object *) &intern->dom, docp); in PHP_METHOD()
316 dom_xpath_object *intern; in PHP_FUNCTION() local
323 intern = Z_XPATHOBJ_P(id); in PHP_FUNCTION()
325 ctxp = (xmlXPathContextPtr) intern->dom.ptr; in PHP_FUNCTION()
338 static void dom_xpath_iter(zval *baseobj, dom_object *intern) /* {{{ */ in dom_xpath_iter() argument
340 dom_nnodemap_object *mapptr = (dom_nnodemap_object *) intern->ptr; in dom_xpath_iter()
354 dom_xpath_object *intern; in php_xpath_eval() local
365 intern = Z_XPATHOBJ_P(id); in php_xpath_eval()
367 ctxp = (xmlXPathContextPtr) intern->dom.ptr; in php_xpath_eval()
460 php_dom_create_object(node, &child, &intern->dom); in php_xpath_eval()
509 dom_xpath_object *intern; in PHP_FUNCTION() local
516 intern = Z_XPATHOBJ_P(id); in PHP_FUNCTION()
520 zend_hash_update(intern->registered_phpfunctions, str, &new_string); in PHP_FUNCTION()
523 intern->registerPhpFunctions = 2; in PHP_FUNCTION()
527 intern = Z_XPATHOBJ_P(id); in PHP_FUNCTION()
530 zend_hash_update(intern->registered_phpfunctions, name, &new_string); in PHP_FUNCTION()
531 intern->registerPhpFunctions = 2; in PHP_FUNCTION()
533 intern = Z_XPATHOBJ_P(id); in PHP_FUNCTION()
534 intern->registerPhpFunctions = 1; in PHP_FUNCTION()