Lines Matching refs:intern

187 	xsl_object *intern;  in xsl_ext_function_php()  local
202 intern = (xsl_object*)tctxt->_private; in xsl_ext_function_php()
203 if (intern == NULL) { in xsl_ext_function_php()
208 else if (intern->registerPhpFunctions == 0) { in xsl_ext_function_php()
254 dom_object *domintern = (dom_object *)intern->doc; in xsl_ext_function_php()
328 …} else if ( intern->registerPhpFunctions == 2 && zend_hash_exists(intern->registered_phpfunctions,… in xsl_ext_function_php()
345 if (intern->node_list == NULL) { in xsl_ext_function_php()
346 ALLOC_HASHTABLE(intern->node_list); in xsl_ext_function_php()
347 zend_hash_init(intern->node_list, 0, NULL, ZVAL_PTR_DTOR, 0); in xsl_ext_function_php()
350 zend_hash_next_index_insert(intern->node_list, &retval); in xsl_ext_function_php()
398 xsl_object *intern; in PHP_FUNCTION() local
435 intern = Z_XSL_P(id); in PHP_FUNCTION()
451 intern->hasKeys = 1; in PHP_FUNCTION()
458 intern->hasKeys = clone_docu; in PHP_FUNCTION()
461 if ((oldsheetp = (xsltStylesheetPtr)intern->ptr)) { in PHP_FUNCTION()
463 if (((xsltStylesheetPtr) intern->ptr)->_private != NULL) { in PHP_FUNCTION()
464 ((xsltStylesheetPtr) intern->ptr)->_private = NULL; in PHP_FUNCTION()
466 xsltFreeStylesheet((xsltStylesheetPtr) intern->ptr); in PHP_FUNCTION()
467 intern->ptr = NULL; in PHP_FUNCTION()
475 static xmlDocPtr php_xsl_apply_stylesheet(zval *id, xsl_object *intern, xsltStylesheetPtr style, zv… in php_xsl_apply_stylesheet() argument
506 if (intern->profiling) { in php_xsl_apply_stylesheet()
507 if (php_check_open_basedir(intern->profiling)) { in php_xsl_apply_stylesheet()
510 f = VCWD_FOPEN(intern->profiling, "w"); in php_xsl_apply_stylesheet()
516 if (intern->parameter) { in php_xsl_apply_stylesheet()
517 params = php_xsl_xslt_make_params(intern->parameter, 0); in php_xsl_apply_stylesheet()
520 intern->doc = emalloc(sizeof(php_libxml_node_object)); in php_xsl_apply_stylesheet()
521 memset(intern->doc, 0, sizeof(php_libxml_node_object)); in php_xsl_apply_stylesheet()
523 if (intern->hasKeys == 1) { in php_xsl_apply_stylesheet()
527 intern->doc->document = object->document; in php_xsl_apply_stylesheet()
530 php_libxml_increment_doc_ref(intern->doc, doc); in php_xsl_apply_stylesheet()
533 ctxt->_private = (void *) intern; in php_xsl_apply_stylesheet()
545 secPrefsValue = intern->securityPrefs; in php_xsl_apply_stylesheet()
595 if (intern->node_list != NULL) { in php_xsl_apply_stylesheet()
596 zend_hash_destroy(intern->node_list); in php_xsl_apply_stylesheet()
597 FREE_HASHTABLE(intern->node_list); in php_xsl_apply_stylesheet()
598 intern->node_list = NULL; in php_xsl_apply_stylesheet()
601 php_libxml_decrement_doc_ref(intern->doc); in php_xsl_apply_stylesheet()
602 efree(intern->doc); in php_xsl_apply_stylesheet()
603 intern->doc = NULL; in php_xsl_apply_stylesheet()
628 xsl_object *intern; in PHP_FUNCTION() local
631 intern = Z_XSL_P(id); in PHP_FUNCTION()
632 sheetp = (xsltStylesheetPtr) intern->ptr; in PHP_FUNCTION()
638 newdocp = php_xsl_apply_stylesheet(id, intern, sheetp, docp); in PHP_FUNCTION()
685 xsl_object *intern; in PHP_FUNCTION() local
688 intern = Z_XSL_P(id); in PHP_FUNCTION()
689 sheetp = (xsltStylesheetPtr) intern->ptr; in PHP_FUNCTION()
695 newdocp = php_xsl_apply_stylesheet(id, intern, sheetp, docp); in PHP_FUNCTION()
717 xsl_object *intern; in PHP_FUNCTION() local
720 intern = Z_XSL_P(id); in PHP_FUNCTION()
721 sheetp = (xsltStylesheetPtr) intern->ptr; in PHP_FUNCTION()
727 newdocp = php_xsl_apply_stylesheet(id, intern, sheetp, docp); in PHP_FUNCTION()
752 xsl_object *intern; in PHP_FUNCTION() local
759 intern = Z_XSL_P(id); in PHP_FUNCTION()
769 zend_hash_update(intern->parameter, string_key, entry); in PHP_FUNCTION()
774 intern = Z_XSL_P(id); in PHP_FUNCTION()
778 zend_hash_update(intern->parameter, name, &new_string); in PHP_FUNCTION()
796 xsl_object *intern; in PHP_FUNCTION() local
803 intern = Z_XSL_P(id); in PHP_FUNCTION()
804 if ((value = zend_hash_find(intern->parameter, name)) != NULL) { in PHP_FUNCTION()
821 xsl_object *intern; in PHP_FUNCTION() local
828 intern = Z_XSL_P(id); in PHP_FUNCTION()
829 if (zend_hash_del(intern->parameter, name) == SUCCESS) { in PHP_FUNCTION()
842 xsl_object *intern; in PHP_FUNCTION() local
849 intern = Z_XSL_P(id); in PHP_FUNCTION()
854 zend_hash_update(intern->registered_phpfunctions, Z_STR_P(entry), &new_string); in PHP_FUNCTION()
857 intern->registerPhpFunctions = 2; in PHP_FUNCTION()
859 intern = Z_XSL_P(id); in PHP_FUNCTION()
862 zend_hash_update(intern->registered_phpfunctions, name, &new_string); in PHP_FUNCTION()
863 intern->registerPhpFunctions = 2; in PHP_FUNCTION()
866 intern = Z_XSL_P(id); in PHP_FUNCTION()
867 intern->registerPhpFunctions = 1; in PHP_FUNCTION()
877 xsl_object *intern; in PHP_FUNCTION() local
883 intern = Z_XSL_P(id); in PHP_FUNCTION()
884 if (intern->profiling) { in PHP_FUNCTION()
885 efree(intern->profiling); in PHP_FUNCTION()
888 intern->profiling = estrndup(filename, filename_len); in PHP_FUNCTION()
890 intern->profiling = NULL; in PHP_FUNCTION()
903 xsl_object *intern; in PHP_FUNCTION() local
910 intern = Z_XSL_P(id); in PHP_FUNCTION()
911 oldSecurityPrefs = intern->securityPrefs; in PHP_FUNCTION()
912 intern->securityPrefs = securityPrefs; in PHP_FUNCTION()
914 intern->securityPrefsSet = 1; in PHP_FUNCTION()
923 xsl_object *intern; in PHP_FUNCTION() local
927 intern = Z_XSL_P(id); in PHP_FUNCTION()
928 RETURN_LONG(intern->securityPrefs); in PHP_FUNCTION()