Lines Matching refs:intern

103intern = (reflection_object *) zend_object_store_get_object(getThis() TSRMLS_CC);                 …
104 …if (intern == NULL || intern->ptr == NULL) { …
108 …target = intern->ptr; …
286 reflection_object *intern = (reflection_object *) object; in reflection_free_objects_storage() local
290 if (intern->ptr) { in reflection_free_objects_storage()
291 switch (intern->ref_type) { in reflection_free_objects_storage()
293 reference = (parameter_reference*)intern->ptr; in reflection_free_objects_storage()
295 efree(intern->ptr); in reflection_free_objects_storage()
298 _free_function(intern->ptr TSRMLS_CC); in reflection_free_objects_storage()
301 efree(intern->ptr); in reflection_free_objects_storage()
304 prop_reference = (property_reference*)intern->ptr; in reflection_free_objects_storage()
306 efree(intern->ptr); in reflection_free_objects_storage()
312 intern->ptr = NULL; in reflection_free_objects_storage()
313 if (intern->obj) { in reflection_free_objects_storage()
314 zval_ptr_dtor(&intern->obj); in reflection_free_objects_storage()
323 reflection_object *intern; in reflection_objects_new() local
325 intern = ecalloc(1, sizeof(reflection_object)); in reflection_objects_new()
326 intern->zo.ce = class_type; in reflection_objects_new()
328 zend_object_std_init(&intern->zo, class_type TSRMLS_CC); in reflection_objects_new()
329 object_properties_init(&intern->zo, class_type); in reflection_objects_new()
330 …retval.handle = zend_objects_store_put(intern, NULL, reflection_free_objects_storage, NULL TSRMLS_… in reflection_objects_new()
1179 reflection_object *intern; in _function_check_flag() local
1193 reflection_object *intern; in zend_reflection_class_factory() local
1199 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in zend_reflection_class_factory()
1200 intern->ptr = ce; in zend_reflection_class_factory()
1201 intern->ref_type = REF_TYPE_OTHER; in zend_reflection_class_factory()
1202 intern->ce = ce; in zend_reflection_class_factory()
1210 reflection_object *intern; in reflection_extension_factory() local
1226 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in reflection_extension_factory()
1229 intern->ptr = module; in reflection_extension_factory()
1230 intern->ref_type = REF_TYPE_OTHER; in reflection_extension_factory()
1231 intern->ce = NULL; in reflection_extension_factory()
1239 reflection_object *intern; in reflection_parameter_factory() local
1253 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in reflection_parameter_factory()
1259 intern->ptr = reference; in reflection_parameter_factory()
1260 intern->ref_type = REF_TYPE_PARAMETER; in reflection_parameter_factory()
1261 intern->ce = fptr->common.scope; in reflection_parameter_factory()
1262 intern->obj = closure_object; in reflection_parameter_factory()
1270 reflection_object *intern; in reflection_function_factory() local
1280 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in reflection_function_factory()
1281 intern->ptr = function; in reflection_function_factory()
1282 intern->ref_type = REF_TYPE_FUNCTION; in reflection_function_factory()
1283 intern->ce = NULL; in reflection_function_factory()
1284 intern->obj = closure_object; in reflection_function_factory()
1292 reflection_object *intern; in reflection_method_factory() local
1305 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in reflection_method_factory()
1306 intern->ptr = method; in reflection_method_factory()
1307 intern->ref_type = REF_TYPE_FUNCTION; in reflection_method_factory()
1308 intern->ce = ce; in reflection_method_factory()
1309 intern->obj = closure_object; in reflection_method_factory()
1318 reflection_object *intern; in reflection_property_factory() local
1349 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in reflection_property_factory()
1353 intern->ptr = reference; in reflection_property_factory()
1354 intern->ref_type = REF_TYPE_PROPERTY; in reflection_property_factory()
1355 intern->ce = ce; in reflection_property_factory()
1356 intern->ignore_visibility = 0; in reflection_property_factory()
1464 reflection_object *intern; in _reflection_param_get_default_param() local
1467 intern = (reflection_object *) zend_object_store_get_object(getThis() TSRMLS_CC); in _reflection_param_get_default_param()
1468 if (intern == NULL || intern->ptr == NULL) { in _reflection_param_get_default_param()
1475 param = intern->ptr; in _reflection_param_get_default_param()
1607 reflection_object *intern; in ZEND_METHOD() local
1613 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in ZEND_METHOD()
1614 if (intern == NULL) { in ZEND_METHOD()
1647 intern->ptr = fptr; in ZEND_METHOD()
1648 intern->ref_type = REF_TYPE_FUNCTION; in ZEND_METHOD()
1649 intern->obj = closure; in ZEND_METHOD()
1650 intern->ce = NULL; in ZEND_METHOD()
1658 reflection_object *intern; in ZEND_METHOD() local
1667 _function_string(&str, fptr, intern->ce, "" TSRMLS_CC); in ZEND_METHOD()
1687 reflection_object *intern; in ZEND_METHOD() local
1702 reflection_object *intern; in ZEND_METHOD() local
1710 if (intern->obj) { in ZEND_METHOD()
1711 closure_this = zend_get_closure_this_ptr(intern->obj TSRMLS_CC); in ZEND_METHOD()
1723 reflection_object *intern; in ZEND_METHOD() local
1731 if (intern->obj) { in ZEND_METHOD()
1732 closure_func = zend_get_closure_method_def(intern->obj TSRMLS_CC); in ZEND_METHOD()
1744 reflection_object *intern; in ZEND_METHOD() local
1761 reflection_object *intern; in ZEND_METHOD() local
1776 reflection_object *intern; in ZEND_METHOD() local
1791 reflection_object *intern; in ZEND_METHOD() local
1804 reflection_object *intern; in ZEND_METHOD() local
1822 reflection_object *intern; in ZEND_METHOD() local
1840 reflection_object *intern; in ZEND_METHOD() local
1858 reflection_object *intern; in ZEND_METHOD() local
1877 reflection_object *intern; in ZEND_METHOD() local
1903 reflection_object *intern; in ZEND_METHOD() local
1963 reflection_object *intern; in ZEND_METHOD() local
2016 reflection_object *intern; in ZEND_METHOD() local
2030 reflection_object *intern; in ZEND_METHOD() local
2044 reflection_object *intern; in ZEND_METHOD() local
2058 reflection_object *intern; in ZEND_METHOD() local
2073 …reflection_parameter_factory(_copy_function(fptr TSRMLS_CC), intern->obj, arg_info, i, fptr->commo… in ZEND_METHOD()
2085 reflection_object *intern; in ZEND_METHOD() local
2109 reflection_object *intern; in ZEND_METHOD() local
2145 reflection_object *intern; in ZEND_METHOD() local
2157 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in ZEND_METHOD()
2158 if (intern == NULL) { in ZEND_METHOD()
2304 intern->ptr = ref; in ZEND_METHOD()
2305 intern->ref_type = REF_TYPE_PARAMETER; in ZEND_METHOD()
2306 intern->ce = ce; in ZEND_METHOD()
2308 intern->obj = reference; in ZEND_METHOD()
2317 reflection_object *intern; in ZEND_METHOD() local
2346 reflection_object *intern; in ZEND_METHOD() local
2355 …reflection_function_factory(_copy_function(param->fptr TSRMLS_CC), intern->obj, return_value TSRML… in ZEND_METHOD()
2357 …actory(param->fptr->common.scope, _copy_function(param->fptr TSRMLS_CC), intern->obj, return_value… in ZEND_METHOD()
2366 reflection_object *intern; in ZEND_METHOD() local
2384 reflection_object *intern; in ZEND_METHOD() local
2441 reflection_object *intern; in ZEND_METHOD() local
2457 reflection_object *intern; in ZEND_METHOD() local
2473 reflection_object *intern; in ZEND_METHOD() local
2489 reflection_object *intern; in ZEND_METHOD() local
2505 reflection_object *intern; in ZEND_METHOD() local
2522 reflection_object *intern; in ZEND_METHOD() local
2538 reflection_object *intern; in ZEND_METHOD() local
2554 reflection_object *intern; in ZEND_METHOD() local
2669 reflection_object *intern; in ZEND_METHOD() local
2699 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in ZEND_METHOD()
2700 if (intern == NULL) { in ZEND_METHOD()
2757 intern->ptr = mptr; in ZEND_METHOD()
2758 intern->ref_type = REF_TYPE_FUNCTION; in ZEND_METHOD()
2759 intern->ce = ce; in ZEND_METHOD()
2767 reflection_object *intern; in ZEND_METHOD() local
2776 _function_string(&str, mptr, intern->ce, "" TSRMLS_CC); in ZEND_METHOD()
2785 reflection_object *intern; in ZEND_METHOD() local
2823 reflection_object *intern; in ZEND_METHOD() local
2836 && intern->ignore_visibility == 0) in ZEND_METHOD()
2898 fcc.called_scope = intern->ce; in ZEND_METHOD()
2926 reflection_object *intern; in ZEND_METHOD() local
2945 && intern->ignore_visibility == 0) in ZEND_METHOD()
3007 fcc.called_scope = intern->ce; in ZEND_METHOD()
3171 reflection_object *intern; in ZEND_METHOD() local
3181 …RETURN_BOOL(mptr->common.fn_flags & ZEND_ACC_CTOR && intern->ce->constructor && intern->ce->constr… in ZEND_METHOD()
3189 reflection_object *intern; in ZEND_METHOD() local
3204 reflection_object *intern; in ZEND_METHOD() local
3220 reflection_object *intern; in ZEND_METHOD() local
3238 reflection_object *intern; in ZEND_METHOD() local
3250 "Method %s::%s does not have a prototype", intern->ce->name, mptr->common.function_name); in ZEND_METHOD()
3262 reflection_object *intern; in ZEND_METHOD() local
3269 intern = (reflection_object *) zend_object_store_get_object(getThis() TSRMLS_CC); in ZEND_METHOD()
3271 if (intern == NULL) { in ZEND_METHOD()
3275 intern->ignore_visibility = visible; in ZEND_METHOD()
3293 reflection_object *intern; in reflection_class_object_ctor() local
3307 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in reflection_class_object_ctor()
3308 if (intern == NULL) { in reflection_class_object_ctor()
3316 intern->ptr = Z_OBJCE_P(argument); in reflection_class_object_ctor()
3318 intern->obj = argument; in reflection_class_object_ctor()
3334 intern->ptr = *ce; in reflection_class_object_ctor()
3336 intern->ref_type = REF_TYPE_OTHER; in reflection_class_object_ctor()
3403 reflection_object *intern; in ZEND_METHOD() local
3423 reflection_object *intern; in ZEND_METHOD() local
3455 reflection_object *intern; in ZEND_METHOD() local
3491 reflection_object *intern; in ZEND_METHOD() local
3509 reflection_object *intern; in ZEND_METHOD() local
3518 _class_string(&str, ce, intern->obj, "" TSRMLS_CC); in ZEND_METHOD()
3538 reflection_object *intern; in ZEND_METHOD() local
3553 reflection_object *intern; in ZEND_METHOD() local
3568 reflection_object *intern; in ZEND_METHOD() local
3586 reflection_object *intern; in ZEND_METHOD() local
3604 reflection_object *intern; in ZEND_METHOD() local
3622 reflection_object *intern; in ZEND_METHOD() local
3640 reflection_object *intern; in ZEND_METHOD() local
3660 reflection_object *intern; in ZEND_METHOD() local
3688 reflection_object *intern; in ZEND_METHOD() local
3702 if (ce == zend_ce_closure && intern->obj && (name_len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) in ZEND_METHOD()
3704 && (mptr = zend_get_closure_invoke_method(intern->obj TSRMLS_CC)) != NULL) in ZEND_METHOD()
3710 } else if (ce == zend_ce_closure && !intern->obj && (name_len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) in ZEND_METHOD()
3771 reflection_object *intern; in ZEND_METHOD() local
3789 …ion_table TSRMLS_CC, (apply_func_args_t) _addmethod_va, 4, &ce, return_value, filter, intern->obj); in ZEND_METHOD()
3790 if (intern->obj && instanceof_function(ce, zend_ce_closure TSRMLS_CC)) { in ZEND_METHOD()
3791 zend_function *closure = zend_get_closure_invoke_method(intern->obj TSRMLS_CC); in ZEND_METHOD()
3793 _addmethod(closure, ce, return_value, filter, intern->obj TSRMLS_CC); in ZEND_METHOD()
3804 reflection_object *intern; in ZEND_METHOD() local
3823 if (intern->obj && Z_OBJ_HANDLER_P(intern->obj, has_property)) { in ZEND_METHOD()
3826 if (Z_OBJ_HANDLER_P(intern->obj, has_property)(intern->obj, property, 2, 0 TSRMLS_CC)) { in ZEND_METHOD()
3841 reflection_object *intern; in ZEND_METHOD() local
3858 } else if (intern->obj) { in ZEND_METHOD()
3860 …if (zend_hash_exists(Z_OBJ_HT_P(intern->obj)->get_properties(intern->obj TSRMLS_CC), name, name_le… in ZEND_METHOD()
3870 intern = (reflection_object *) zend_object_store_get_object(return_value TSRMLS_CC); in ZEND_METHOD()
3871 intern->ref_type = REF_TYPE_DYNAMIC_PROPERTY; in ZEND_METHOD()
3961 reflection_object *intern; in ZEND_METHOD() local
3981 if (intern->obj && (filter & ZEND_ACC_PUBLIC) != 0 && Z_OBJ_HT_P(intern->obj)->get_properties) { in ZEND_METHOD()
3982 HashTable *properties = Z_OBJ_HT_P(intern->obj)->get_properties(intern->obj TSRMLS_CC); in ZEND_METHOD()
3992 reflection_object *intern; in ZEND_METHOD() local
4016 reflection_object *intern; in ZEND_METHOD() local
4033 reflection_object *intern; in ZEND_METHOD() local
4056 reflection_object *intern; in _class_check_flag() local
4071 reflection_object *intern; in ZEND_METHOD() local
4096 reflection_object *intern; in ZEND_METHOD() local
4107 if (intern->obj) { in ZEND_METHOD()
4111 RETURN_BOOL(Z_OBJ_HANDLER_P(intern->obj, clone_obj) != NULL); in ZEND_METHOD()
4161 reflection_object *intern; in ZEND_METHOD() local
4177 reflection_object *intern; in ZEND_METHOD() local
4195 reflection_object *intern; in ZEND_METHOD() local
4273 reflection_object *intern; in ZEND_METHOD() local
4292 reflection_object *intern; in ZEND_METHOD() local
4378 reflection_object *intern; in ZEND_METHOD() local
4406 reflection_object *intern; in ZEND_METHOD() local
4428 reflection_object *intern; in ZEND_METHOD() local
4452 reflection_object *intern; in ZEND_METHOD() local
4473 reflection_object *intern; in ZEND_METHOD() local
4504 reflection_object *intern; in ZEND_METHOD() local
4524 reflection_object *intern, *argument; in ZEND_METHOD() local
4569 reflection_object *intern, *argument; in ZEND_METHOD() local
4619 reflection_object *intern; in ZEND_METHOD() local
4637 reflection_object *intern; in ZEND_METHOD() local
4657 reflection_object *intern; in ZEND_METHOD() local
4777 reflection_object *intern; in ZEND_METHOD() local
4788 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in ZEND_METHOD()
4789 if (intern == NULL) { in ZEND_METHOD()
4864 intern->ptr = reference; in ZEND_METHOD()
4865 intern->ref_type = REF_TYPE_PROPERTY; in ZEND_METHOD()
4866 intern->ce = ce; in ZEND_METHOD()
4867 intern->ignore_visibility = 0; in ZEND_METHOD()
4875 reflection_object *intern; in ZEND_METHOD() local
4902 reflection_object *intern; in _property_check_flag() local
4957 reflection_object *intern; in ZEND_METHOD() local
4973 reflection_object *intern; in ZEND_METHOD() local
4981 …if (!(ref->prop.flags & (ZEND_ACC_PUBLIC | ZEND_ACC_IMPLICIT_PUBLIC)) && intern->ignore_visibility… in ZEND_METHOD()
4984 "Cannot access non-public member %s::%s", intern->ce->name, Z_STRVAL(name)); in ZEND_METHOD()
4990 zend_update_class_constants(intern->ce TSRMLS_CC); in ZEND_METHOD()
4991 if (!CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]) { in ZEND_METHOD()
4992 …SRMLS_CC, E_ERROR, "Internal error: Could not find the property %s::%s", intern->ce->name, ref->pr… in ZEND_METHOD()
4995 *return_value= *CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]; in ZEND_METHOD()
5019 reflection_object *intern; in ZEND_METHOD() local
5029 if (!(ref->prop.flags & ZEND_ACC_PUBLIC) && intern->ignore_visibility == 0) { in ZEND_METHOD()
5032 "Cannot access non-public member %s::%s", intern->ce->name, Z_STRVAL(name)); in ZEND_METHOD()
5043 zend_update_class_constants(intern->ce TSRMLS_CC); in ZEND_METHOD()
5045 if (!CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]) { in ZEND_METHOD()
5046 …SRMLS_CC, E_ERROR, "Internal error: Could not find the property %s::%s", intern->ce->name, ref->pr… in ZEND_METHOD()
5049 variable_ptr = &CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]; in ZEND_METHOD()
5089 reflection_object *intern; in ZEND_METHOD() local
5128 reflection_object *intern; in ZEND_METHOD() local
5146 reflection_object *intern; in ZEND_METHOD() local
5153 intern = (reflection_object *) zend_object_store_get_object(getThis() TSRMLS_CC); in ZEND_METHOD()
5155 if (intern == NULL) { in ZEND_METHOD()
5159 intern->ignore_visibility = visible; in ZEND_METHOD()
5178 reflection_object *intern; in ZEND_METHOD() local
5189 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in ZEND_METHOD()
5190 if (intern == NULL) { in ZEND_METHOD()
5205 intern->ptr = module; in ZEND_METHOD()
5206 intern->ref_type = REF_TYPE_OTHER; in ZEND_METHOD()
5207 intern->ce = NULL; in ZEND_METHOD()
5215 reflection_object *intern; in ZEND_METHOD() local
5244 reflection_object *intern; in ZEND_METHOD() local
5265 reflection_object *intern; in ZEND_METHOD() local
5311 reflection_object *intern; in ZEND_METHOD() local
5345 reflection_object *intern; in ZEND_METHOD() local
5394 reflection_object *intern; in ZEND_METHOD() local
5411 reflection_object *intern; in ZEND_METHOD() local
5428 reflection_object *intern; in ZEND_METHOD() local
5482 reflection_object *intern; in ZEND_METHOD() local
5498 reflection_object *intern; in ZEND_METHOD() local
5514 reflection_object *intern; in ZEND_METHOD() local
5540 reflection_object *intern; in ZEND_METHOD() local
5550 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in ZEND_METHOD()
5551 if (intern == NULL) { in ZEND_METHOD()
5564 intern->ptr = extension; in ZEND_METHOD()
5565 intern->ref_type = REF_TYPE_OTHER; in ZEND_METHOD()
5566 intern->ce = NULL; in ZEND_METHOD()
5574 reflection_object *intern; in ZEND_METHOD() local
5592 reflection_object *intern; in ZEND_METHOD() local
5608 reflection_object *intern; in ZEND_METHOD() local
5624 reflection_object *intern; in ZEND_METHOD() local
5640 reflection_object *intern; in ZEND_METHOD() local
5656 reflection_object *intern; in ZEND_METHOD() local