Lines Matching refs:intern
57 xsl_object *intern = php_xsl_fetch_object(object); in ZEND_GET_MODULE() local
58 return php_dom_xpath_callbacks_get_gc_for_whole_object(&intern->xpath_callbacks, object, table, n); in ZEND_GET_MODULE()
61 void xsl_free_sheet(xsl_object *intern) in xsl_free_sheet() argument
63 if (intern->ptr) { in xsl_free_sheet()
64 xsltStylesheetPtr sheet = intern->ptr; in xsl_free_sheet()
72 intern->ptr = NULL; in xsl_free_sheet()
79 xsl_object *intern = php_xsl_fetch_object(object); in xsl_objects_free_storage() local
81 zend_object_std_dtor(&intern->std); in xsl_objects_free_storage()
83 if (intern->parameter) { in xsl_objects_free_storage()
84 zend_hash_destroy(intern->parameter); in xsl_objects_free_storage()
85 FREE_HASHTABLE(intern->parameter); in xsl_objects_free_storage()
88 php_dom_xpath_callbacks_dtor(&intern->xpath_callbacks); in xsl_objects_free_storage()
90 xsl_free_sheet(intern); in xsl_objects_free_storage()
92 if (intern->doc) { in xsl_objects_free_storage()
93 php_libxml_decrement_doc_ref(intern->doc); in xsl_objects_free_storage()
94 efree(intern->doc); in xsl_objects_free_storage()
97 if (intern->sheet_ref_obj) { in xsl_objects_free_storage()
98 php_libxml_decrement_doc_ref_directly(intern->sheet_ref_obj); in xsl_objects_free_storage()
101 if (intern->profiling) { in xsl_objects_free_storage()
102 zend_string_release(intern->profiling); in xsl_objects_free_storage()
110 xsl_object *intern; in xsl_objects_new() local
112 intern = zend_object_alloc(sizeof(xsl_object), class_type); in xsl_objects_new()
113 intern->securityPrefs = XSL_SECPREF_DEFAULT; in xsl_objects_new()
115 zend_object_std_init(&intern->std, class_type); in xsl_objects_new()
116 object_properties_init(&intern->std, class_type); in xsl_objects_new()
117 intern->parameter = zend_new_array(0); in xsl_objects_new()
118 php_dom_xpath_callbacks_ctor(&intern->xpath_callbacks); in xsl_objects_new()
122 ZVAL_LONG(xsl_prop_max_template_depth(&intern->std), xsltMaxDepth); in xsl_objects_new()
123 ZVAL_LONG(xsl_prop_max_template_vars(&intern->std), xsltMaxVars); in xsl_objects_new()
125 return &intern->std; in xsl_objects_new()