Lines Matching refs:intern

105 	xsl_object *intern;  in xsl_ext_function_php()  local
120 intern = (xsl_object*)tctxt->_private; in xsl_ext_function_php()
121 if (intern == NULL) { in xsl_ext_function_php()
126 else if (intern->registerPhpFunctions == 0) { in xsl_ext_function_php()
172 dom_object *domintern = (dom_object *)intern->doc; in xsl_ext_function_php()
249 …} else if ( intern->registerPhpFunctions == 2 && zend_hash_exists(intern->registered_phpfunctions,… in xsl_ext_function_php()
266 if (intern->node_list == NULL) { in xsl_ext_function_php()
267 intern->node_list = zend_new_array(0); in xsl_ext_function_php()
270 zend_hash_next_index_insert(intern->node_list, &retval); in xsl_ext_function_php()
317 xsl_object *intern; in PHP_METHOD() local
354 intern = Z_XSL_P(id); in PHP_METHOD()
369 intern->hasKeys = 1; in PHP_METHOD()
376 intern->hasKeys = clone_docu; in PHP_METHOD()
379 if ((oldsheetp = (xsltStylesheetPtr)intern->ptr)) { in PHP_METHOD()
381 if (((xsltStylesheetPtr) intern->ptr)->_private != NULL) { in PHP_METHOD()
382 ((xsltStylesheetPtr) intern->ptr)->_private = NULL; in PHP_METHOD()
384 xsltFreeStylesheet((xsltStylesheetPtr) intern->ptr); in PHP_METHOD()
385 intern->ptr = NULL; in PHP_METHOD()
393 static xmlDocPtr php_xsl_apply_stylesheet(zval *id, xsl_object *intern, xsltStylesheetPtr style, zv… in php_xsl_apply_stylesheet() argument
428 if (intern->profiling) { in php_xsl_apply_stylesheet()
429 if (php_check_open_basedir(intern->profiling)) { in php_xsl_apply_stylesheet()
432 f = VCWD_FOPEN(intern->profiling, "w"); in php_xsl_apply_stylesheet()
438 if (intern->parameter) { in php_xsl_apply_stylesheet()
439 params = php_xsl_xslt_make_params(intern->parameter, 0); in php_xsl_apply_stylesheet()
442 intern->doc = emalloc(sizeof(php_libxml_node_object)); in php_xsl_apply_stylesheet()
443 memset(intern->doc, 0, sizeof(php_libxml_node_object)); in php_xsl_apply_stylesheet()
445 if (intern->hasKeys == 1) { in php_xsl_apply_stylesheet()
449 intern->doc->document = object->document; in php_xsl_apply_stylesheet()
452 php_libxml_increment_doc_ref(intern->doc, doc); in php_xsl_apply_stylesheet()
455 ctxt->_private = (void *) intern; in php_xsl_apply_stylesheet()
465 secPrefsValue = intern->securityPrefs; in php_xsl_apply_stylesheet()
515 if (intern->node_list != NULL) { in php_xsl_apply_stylesheet()
516 zend_hash_destroy(intern->node_list); in php_xsl_apply_stylesheet()
517 FREE_HASHTABLE(intern->node_list); in php_xsl_apply_stylesheet()
518 intern->node_list = NULL; in php_xsl_apply_stylesheet()
521 php_libxml_decrement_doc_ref(intern->doc); in php_xsl_apply_stylesheet()
522 efree(intern->doc); in php_xsl_apply_stylesheet()
523 intern->doc = NULL; in php_xsl_apply_stylesheet()
547 xsl_object *intern; in PHP_METHOD() local
550 intern = Z_XSL_P(id); in PHP_METHOD()
551 sheetp = (xsltStylesheetPtr) intern->ptr; in PHP_METHOD()
557 newdocp = php_xsl_apply_stylesheet(id, intern, sheetp, docp); in PHP_METHOD()
604 xsl_object *intern; in PHP_METHOD() local
607 intern = Z_XSL_P(id); in PHP_METHOD()
608 sheetp = (xsltStylesheetPtr) intern->ptr; in PHP_METHOD()
614 newdocp = php_xsl_apply_stylesheet(id, intern, sheetp, docp); in PHP_METHOD()
635 xsl_object *intern; in PHP_METHOD() local
638 intern = Z_XSL_P(id); in PHP_METHOD()
639 sheetp = (xsltStylesheetPtr) intern->ptr; in PHP_METHOD()
645 newdocp = php_xsl_apply_stylesheet(id, intern, sheetp, docp); in PHP_METHOD()
670 xsl_object *intern; in PHP_METHOD() local
682 intern = Z_XSL_P(id); in PHP_METHOD()
703 zend_hash_update(intern->parameter, string_key, &tmp); in PHP_METHOD()
714 zend_hash_update(intern->parameter, name, &new_string); in PHP_METHOD()
728 xsl_object *intern; in PHP_METHOD() local
733 intern = Z_XSL_P(id); in PHP_METHOD()
734 if ((value = zend_hash_find(intern->parameter, name)) != NULL) { in PHP_METHOD()
749 xsl_object *intern; in PHP_METHOD() local
754 intern = Z_XSL_P(id); in PHP_METHOD()
755 if (zend_hash_del(intern->parameter, name) == SUCCESS) { in PHP_METHOD()
767 xsl_object *intern; in PHP_METHOD() local
777 intern = Z_XSL_P(id); in PHP_METHOD()
786 zend_hash_update(intern->registered_phpfunctions, str, &new_string); in PHP_METHOD()
790 intern->registerPhpFunctions = 2; in PHP_METHOD()
793 zend_hash_update(intern->registered_phpfunctions, restrict_str, &new_string); in PHP_METHOD()
794 intern->registerPhpFunctions = 2; in PHP_METHOD()
796 intern->registerPhpFunctions = 1; in PHP_METHOD()
805 xsl_object *intern; in PHP_METHOD() local
813 intern = Z_XSL_P(id); in PHP_METHOD()
814 if (intern->profiling) { in PHP_METHOD()
815 efree(intern->profiling); in PHP_METHOD()
818 intern->profiling = estrndup(filename, filename_len); in PHP_METHOD()
820 intern->profiling = NULL; in PHP_METHOD()
831 xsl_object *intern; in PHP_METHOD() local
837 intern = Z_XSL_P(id); in PHP_METHOD()
838 oldSecurityPrefs = intern->securityPrefs; in PHP_METHOD()
839 intern->securityPrefs = securityPrefs; in PHP_METHOD()
841 intern->securityPrefsSet = 1; in PHP_METHOD()
850 xsl_object *intern; in PHP_METHOD() local
856 intern = Z_XSL_P(id); in PHP_METHOD()
858 RETURN_LONG(intern->securityPrefs); in PHP_METHOD()