Lines Matching refs:intern
71 xsl_object *intern = php_xsl_fetch_object(object); in ZEND_GET_MODULE() local
73 zend_object_std_dtor(&intern->std); in ZEND_GET_MODULE()
75 zend_hash_destroy(intern->parameter); in ZEND_GET_MODULE()
76 FREE_HASHTABLE(intern->parameter); in ZEND_GET_MODULE()
78 zend_hash_destroy(intern->registered_phpfunctions); in ZEND_GET_MODULE()
79 FREE_HASHTABLE(intern->registered_phpfunctions); in ZEND_GET_MODULE()
81 if (intern->node_list) { in ZEND_GET_MODULE()
82 zend_hash_destroy(intern->node_list); in ZEND_GET_MODULE()
83 FREE_HASHTABLE(intern->node_list); in ZEND_GET_MODULE()
86 if (intern->doc) { in ZEND_GET_MODULE()
87 php_libxml_decrement_doc_ref(intern->doc); in ZEND_GET_MODULE()
88 efree(intern->doc); in ZEND_GET_MODULE()
91 if (intern->ptr) { in ZEND_GET_MODULE()
93 if (((xsltStylesheetPtr) intern->ptr)->_private != NULL) { in ZEND_GET_MODULE()
94 ((xsltStylesheetPtr) intern->ptr)->_private = NULL; in ZEND_GET_MODULE()
97 xsltFreeStylesheet((xsltStylesheetPtr) intern->ptr); in ZEND_GET_MODULE()
98 intern->ptr = NULL; in ZEND_GET_MODULE()
100 if (intern->profiling) { in ZEND_GET_MODULE()
101 efree(intern->profiling); in ZEND_GET_MODULE()
109 xsl_object *intern; in xsl_objects_new() local
111 intern = ecalloc(1, sizeof(xsl_object) + zend_object_properties_size(class_type)); in xsl_objects_new()
112 intern->securityPrefs = XSL_SECPREF_DEFAULT; in xsl_objects_new()
114 zend_object_std_init(&intern->std, class_type); in xsl_objects_new()
115 object_properties_init(&intern->std, class_type); in xsl_objects_new()
116 ALLOC_HASHTABLE(intern->parameter); in xsl_objects_new()
117 zend_hash_init(intern->parameter, 0, NULL, ZVAL_PTR_DTOR, 0); in xsl_objects_new()
118 ALLOC_HASHTABLE(intern->registered_phpfunctions); in xsl_objects_new()
119 zend_hash_init(intern->registered_phpfunctions, 0, NULL, ZVAL_PTR_DTOR, 0); in xsl_objects_new()
121 intern->std.handlers = &xsl_object_handlers; in xsl_objects_new()
122 return &intern->std; in xsl_objects_new()