Lines Matching refs:intern

188 	xsl_object *intern;  in xsl_ext_function_php()  local
203 intern = (xsl_object*)tctxt->_private; in xsl_ext_function_php()
204 if (intern == NULL) { in xsl_ext_function_php()
209 else if (intern->registerPhpFunctions == 0) { in xsl_ext_function_php()
255 dom_object *domintern = (dom_object *)intern->doc; in xsl_ext_function_php()
331 …} else if ( intern->registerPhpFunctions == 2 && zend_hash_exists(intern->registered_phpfunctions,… in xsl_ext_function_php()
348 if (intern->node_list == NULL) { in xsl_ext_function_php()
349 intern->node_list = zend_new_array(0); in xsl_ext_function_php()
352 zend_hash_next_index_insert(intern->node_list, &retval); in xsl_ext_function_php()
400 xsl_object *intern; in PHP_FUNCTION() local
437 intern = Z_XSL_P(id); in PHP_FUNCTION()
452 intern->hasKeys = 1; in PHP_FUNCTION()
459 intern->hasKeys = clone_docu; in PHP_FUNCTION()
462 if ((oldsheetp = (xsltStylesheetPtr)intern->ptr)) { in PHP_FUNCTION()
464 if (((xsltStylesheetPtr) intern->ptr)->_private != NULL) { in PHP_FUNCTION()
465 ((xsltStylesheetPtr) intern->ptr)->_private = NULL; in PHP_FUNCTION()
467 xsltFreeStylesheet((xsltStylesheetPtr) intern->ptr); in PHP_FUNCTION()
468 intern->ptr = NULL; in PHP_FUNCTION()
476 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()
543 secPrefsValue = intern->securityPrefs; in php_xsl_apply_stylesheet()
593 if (intern->node_list != NULL) { in php_xsl_apply_stylesheet()
594 zend_hash_destroy(intern->node_list); in php_xsl_apply_stylesheet()
595 FREE_HASHTABLE(intern->node_list); in php_xsl_apply_stylesheet()
596 intern->node_list = NULL; in php_xsl_apply_stylesheet()
599 php_libxml_decrement_doc_ref(intern->doc); in php_xsl_apply_stylesheet()
600 efree(intern->doc); in php_xsl_apply_stylesheet()
601 intern->doc = NULL; in php_xsl_apply_stylesheet()
626 xsl_object *intern; in PHP_FUNCTION() local
629 intern = Z_XSL_P(id); in PHP_FUNCTION()
630 sheetp = (xsltStylesheetPtr) intern->ptr; in PHP_FUNCTION()
636 newdocp = php_xsl_apply_stylesheet(id, intern, sheetp, docp); in PHP_FUNCTION()
683 xsl_object *intern; in PHP_FUNCTION() local
686 intern = Z_XSL_P(id); in PHP_FUNCTION()
687 sheetp = (xsltStylesheetPtr) intern->ptr; in PHP_FUNCTION()
693 newdocp = php_xsl_apply_stylesheet(id, intern, sheetp, docp); in PHP_FUNCTION()
715 xsl_object *intern; in PHP_FUNCTION() local
718 intern = Z_XSL_P(id); in PHP_FUNCTION()
719 sheetp = (xsltStylesheetPtr) intern->ptr; in PHP_FUNCTION()
725 newdocp = php_xsl_apply_stylesheet(id, intern, sheetp, docp); in PHP_FUNCTION()
750 xsl_object *intern; in PHP_FUNCTION() local
757 intern = Z_XSL_P(id); in PHP_FUNCTION()
771 zend_hash_update(intern->parameter, string_key, &tmp); in PHP_FUNCTION()
776 intern = Z_XSL_P(id); in PHP_FUNCTION()
780 zend_hash_update(intern->parameter, name, &new_string); in PHP_FUNCTION()
798 xsl_object *intern; in PHP_FUNCTION() local
805 intern = Z_XSL_P(id); in PHP_FUNCTION()
806 if ((value = zend_hash_find(intern->parameter, name)) != NULL) { in PHP_FUNCTION()
822 xsl_object *intern; in PHP_FUNCTION() local
829 intern = Z_XSL_P(id); in PHP_FUNCTION()
830 if (zend_hash_del(intern->parameter, name) == SUCCESS) { in PHP_FUNCTION()
843 xsl_object *intern; in PHP_FUNCTION() local
850 intern = Z_XSL_P(id); in PHP_FUNCTION()
858 zend_hash_update(intern->registered_phpfunctions, str, &new_string); in PHP_FUNCTION()
862 intern->registerPhpFunctions = 2; in PHP_FUNCTION()
864 intern = Z_XSL_P(id); in PHP_FUNCTION()
867 zend_hash_update(intern->registered_phpfunctions, name, &new_string); in PHP_FUNCTION()
868 intern->registerPhpFunctions = 2; in PHP_FUNCTION()
871 intern = Z_XSL_P(id); in PHP_FUNCTION()
872 intern->registerPhpFunctions = 1; in PHP_FUNCTION()
882 xsl_object *intern; in PHP_FUNCTION() local
888 intern = Z_XSL_P(id); in PHP_FUNCTION()
889 if (intern->profiling) { in PHP_FUNCTION()
890 efree(intern->profiling); in PHP_FUNCTION()
893 intern->profiling = estrndup(filename, filename_len); in PHP_FUNCTION()
895 intern->profiling = NULL; in PHP_FUNCTION()
908 xsl_object *intern; in PHP_FUNCTION() local
915 intern = Z_XSL_P(id); in PHP_FUNCTION()
916 oldSecurityPrefs = intern->securityPrefs; in PHP_FUNCTION()
917 intern->securityPrefs = securityPrefs; in PHP_FUNCTION()
919 intern->securityPrefsSet = 1; in PHP_FUNCTION()
928 xsl_object *intern; in PHP_FUNCTION() local
932 intern = Z_XSL_P(id); in PHP_FUNCTION()
933 RETURN_LONG(intern->securityPrefs); in PHP_FUNCTION()