Lines Matching refs:intern

49 static void xsl_proxy_factory(xmlNodePtr node, zval *child, dom_object *intern, xmlXPathParserConte…  in xsl_proxy_factory()  argument
64 node = xmlDocCopyNode(node, intern->document->ptr, 1); in xsl_proxy_factory()
66 php_dom_create_object(node, child, intern); in xsl_proxy_factory()
84 xsl_object *intern = (xsl_object *) tctxt->_private; in xsl_ext_fetch_intern() local
85 if (UNEXPECTED(intern == NULL)) { in xsl_ext_fetch_intern()
90 return intern; in xsl_ext_fetch_intern()
95 xsl_object *intern = xsl_ext_fetch_intern(ctxt); in xsl_ext_function_php() local
96 if (!intern) { in xsl_ext_function_php()
99 …php_dom_xpath_callbacks_call_php_ns(&intern->xpath_callbacks, ctxt, nargs, evaluation_mode, (dom_o… in xsl_ext_function_php()
118 xsl_object *intern = xsl_ext_fetch_intern(ctxt); in xsl_ext_function_trampoline() local
119 if (!intern) { in xsl_ext_function_trampoline()
122 …allbacks_call_custom_ns(&intern->xpath_callbacks, ctxt, nargs, PHP_DOM_XPATH_EVALUATE_NODESET_TO_N… in xsl_ext_function_trampoline()
233 xsl_object *intern = Z_XSL_P(id); in PHP_METHOD() local
244 if (intern->sheet_ref_obj) { in PHP_METHOD()
245 php_libxml_decrement_doc_ref_directly(intern->sheet_ref_obj); in PHP_METHOD()
247 intern->sheet_ref_obj = Z_LIBXML_NODE_P(docp)->document; in PHP_METHOD()
248 intern->sheet_ref_obj->refcount++; in PHP_METHOD()
264 intern->hasKeys = true; in PHP_METHOD()
271 intern->hasKeys = true; in PHP_METHOD()
274 xsl_free_sheet(intern); in PHP_METHOD()
287 static xmlDocPtr php_xsl_apply_stylesheet(zval *id, xsl_object *intern, xsltStylesheetPtr style, zv… in php_xsl_apply_stylesheet() argument
319 if (intern->profiling) { in php_xsl_apply_stylesheet()
320 if (php_check_open_basedir(ZSTR_VAL(intern->profiling))) { in php_xsl_apply_stylesheet()
323 f = VCWD_FOPEN(ZSTR_VAL(intern->profiling), "w"); in php_xsl_apply_stylesheet()
329 intern->doc = emalloc(sizeof(php_libxml_node_object)); in php_xsl_apply_stylesheet()
330 memset(intern->doc, 0, sizeof(php_libxml_node_object)); in php_xsl_apply_stylesheet()
332 if (intern->hasKeys) { in php_xsl_apply_stylesheet()
336 intern->doc->document = object->document; in php_xsl_apply_stylesheet()
339 php_libxml_increment_doc_ref(intern->doc, doc); in php_xsl_apply_stylesheet()
342 ctxt->_private = (void *) intern; in php_xsl_apply_stylesheet()
344 if (intern->parameter) { in php_xsl_apply_stylesheet()
345 zend_result status = php_xsl_xslt_apply_params(ctxt, intern->parameter); in php_xsl_apply_stylesheet()
364 zend_long secPrefsValue = intern->securityPrefs; in php_xsl_apply_stylesheet()
400 …php_dom_xpath_callbacks_delayed_lib_registration(&intern->xpath_callbacks, ctxt, php_xsl_delayed_l… in php_xsl_apply_stylesheet()
418 php_dom_xpath_callbacks_clean_node_list(&intern->xpath_callbacks); in php_xsl_apply_stylesheet()
420 php_libxml_decrement_doc_ref(intern->doc); in php_xsl_apply_stylesheet()
421 efree(intern->doc); in php_xsl_apply_stylesheet()
422 intern->doc = NULL; in php_xsl_apply_stylesheet()
438 xsl_object *intern; in PHP_METHOD() local
441 intern = Z_XSL_P(id); in PHP_METHOD()
442 sheetp = (xsltStylesheetPtr) intern->ptr; in PHP_METHOD()
448 newdocp = php_xsl_apply_stylesheet(id, intern, sheetp, docp); in PHP_METHOD()
493 xsl_object *intern; in PHP_METHOD() local
496 intern = Z_XSL_P(id); in PHP_METHOD()
497 sheetp = (xsltStylesheetPtr) intern->ptr; in PHP_METHOD()
503 newdocp = php_xsl_apply_stylesheet(id, intern, sheetp, docp); in PHP_METHOD()
524 xsl_object *intern; in PHP_METHOD() local
527 intern = Z_XSL_P(id); in PHP_METHOD()
528 sheetp = (xsltStylesheetPtr) intern->ptr; in PHP_METHOD()
534 newdocp = php_xsl_apply_stylesheet(id, intern, sheetp, docp); in PHP_METHOD()
585 xsl_object *intern; in PHP_METHOD() local
595 intern = Z_XSL_P(id); in PHP_METHOD()
636 zend_hash_update(intern->parameter, ht_key, &tmp); in PHP_METHOD()
658 zend_hash_update(intern->parameter, key, &new_string); in PHP_METHOD()
671 xsl_object *intern; in PHP_METHOD() local
680 intern = Z_XSL_P(id); in PHP_METHOD()
681 value = zend_hash_find(intern->parameter, key); in PHP_METHOD()
696 xsl_object *intern; in PHP_METHOD() local
705 intern = Z_XSL_P(id); in PHP_METHOD()
706 if (zend_hash_del(intern->parameter, key) == SUCCESS) { in PHP_METHOD()
718 xsl_object *intern = Z_XSL_P(ZEND_THIS); in PHP_METHOD() local
729 &intern->xpath_callbacks, in PHP_METHOD()
742 xsl_object *intern = Z_XSL_P(ZEND_THIS); in PHP_METHOD() local
761 &intern->xpath_callbacks, in PHP_METHOD()
777 xsl_object *intern; in PHP_METHOD() local
784 intern = Z_XSL_P(id); in PHP_METHOD()
785 if (intern->profiling) { in PHP_METHOD()
786 zend_string_release(intern->profiling); in PHP_METHOD()
789 intern->profiling = zend_string_copy(filename); in PHP_METHOD()
791 intern->profiling = NULL; in PHP_METHOD()
802 xsl_object *intern; in PHP_METHOD() local
808 intern = Z_XSL_P(id); in PHP_METHOD()
809 oldSecurityPrefs = intern->securityPrefs; in PHP_METHOD()
810 intern->securityPrefs = securityPrefs; in PHP_METHOD()
819 xsl_object *intern; in PHP_METHOD() local
825 intern = Z_XSL_P(id); in PHP_METHOD()
827 RETURN_LONG(intern->securityPrefs); in PHP_METHOD()