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()
1176 reflection_object *intern; in _function_check_flag() local
1190 reflection_object *intern; in zend_reflection_class_factory() local
1196 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in zend_reflection_class_factory()
1197 intern->ptr = ce; in zend_reflection_class_factory()
1198 intern->ref_type = REF_TYPE_OTHER; in zend_reflection_class_factory()
1199 intern->ce = ce; in zend_reflection_class_factory()
1207 reflection_object *intern; in reflection_extension_factory() local
1223 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in reflection_extension_factory()
1226 intern->ptr = module; in reflection_extension_factory()
1227 intern->ref_type = REF_TYPE_OTHER; in reflection_extension_factory()
1228 intern->ce = NULL; in reflection_extension_factory()
1236 reflection_object *intern; in reflection_parameter_factory() local
1250 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in reflection_parameter_factory()
1256 intern->ptr = reference; in reflection_parameter_factory()
1257 intern->ref_type = REF_TYPE_PARAMETER; in reflection_parameter_factory()
1258 intern->ce = fptr->common.scope; in reflection_parameter_factory()
1259 intern->obj = closure_object; in reflection_parameter_factory()
1267 reflection_object *intern; in reflection_function_factory() local
1277 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in reflection_function_factory()
1278 intern->ptr = function; in reflection_function_factory()
1279 intern->ref_type = REF_TYPE_FUNCTION; in reflection_function_factory()
1280 intern->ce = NULL; in reflection_function_factory()
1281 intern->obj = closure_object; in reflection_function_factory()
1289 reflection_object *intern; in reflection_method_factory() local
1302 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in reflection_method_factory()
1303 intern->ptr = method; in reflection_method_factory()
1304 intern->ref_type = REF_TYPE_FUNCTION; in reflection_method_factory()
1305 intern->ce = ce; in reflection_method_factory()
1306 intern->obj = closure_object; in reflection_method_factory()
1315 reflection_object *intern; in reflection_property_factory() local
1346 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in reflection_property_factory()
1350 intern->ptr = reference; in reflection_property_factory()
1351 intern->ref_type = REF_TYPE_PROPERTY; in reflection_property_factory()
1352 intern->ce = ce; in reflection_property_factory()
1353 intern->ignore_visibility = 0; in reflection_property_factory()
1461 reflection_object *intern; in _reflection_param_get_default_param() local
1464 intern = (reflection_object *) zend_object_store_get_object(getThis() TSRMLS_CC); in _reflection_param_get_default_param()
1465 if (intern == NULL || intern->ptr == NULL) { in _reflection_param_get_default_param()
1472 param = intern->ptr; in _reflection_param_get_default_param()
1604 reflection_object *intern; in ZEND_METHOD() local
1610 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in ZEND_METHOD()
1611 if (intern == NULL) { in ZEND_METHOD()
1644 intern->ptr = fptr; in ZEND_METHOD()
1645 intern->ref_type = REF_TYPE_FUNCTION; in ZEND_METHOD()
1646 intern->obj = closure; in ZEND_METHOD()
1647 intern->ce = NULL; in ZEND_METHOD()
1655 reflection_object *intern; in ZEND_METHOD() local
1664 _function_string(&str, fptr, intern->ce, "" TSRMLS_CC); in ZEND_METHOD()
1684 reflection_object *intern; in ZEND_METHOD() local
1699 reflection_object *intern; in ZEND_METHOD() local
1707 if (intern->obj) { in ZEND_METHOD()
1708 closure_this = zend_get_closure_this_ptr(intern->obj TSRMLS_CC); in ZEND_METHOD()
1720 reflection_object *intern; in ZEND_METHOD() local
1728 if (intern->obj) { in ZEND_METHOD()
1729 closure_func = zend_get_closure_method_def(intern->obj TSRMLS_CC); in ZEND_METHOD()
1741 reflection_object *intern; in ZEND_METHOD() local
1758 reflection_object *intern; in ZEND_METHOD() local
1773 reflection_object *intern; in ZEND_METHOD() local
1788 reflection_object *intern; in ZEND_METHOD() local
1801 reflection_object *intern; in ZEND_METHOD() local
1819 reflection_object *intern; in ZEND_METHOD() local
1837 reflection_object *intern; in ZEND_METHOD() local
1855 reflection_object *intern; in ZEND_METHOD() local
1874 reflection_object *intern; in ZEND_METHOD() local
1900 reflection_object *intern; in ZEND_METHOD() local
1960 reflection_object *intern; in ZEND_METHOD() local
2013 reflection_object *intern; in ZEND_METHOD() local
2027 reflection_object *intern; in ZEND_METHOD() local
2041 reflection_object *intern; in ZEND_METHOD() local
2055 reflection_object *intern; in ZEND_METHOD() local
2070 …reflection_parameter_factory(_copy_function(fptr TSRMLS_CC), intern->obj, arg_info, i, fptr->commo… in ZEND_METHOD()
2082 reflection_object *intern; in ZEND_METHOD() local
2106 reflection_object *intern; in ZEND_METHOD() local
2142 reflection_object *intern; in ZEND_METHOD() local
2154 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in ZEND_METHOD()
2155 if (intern == NULL) { in ZEND_METHOD()
2301 intern->ptr = ref; in ZEND_METHOD()
2302 intern->ref_type = REF_TYPE_PARAMETER; in ZEND_METHOD()
2303 intern->ce = ce; in ZEND_METHOD()
2305 intern->obj = reference; in ZEND_METHOD()
2314 reflection_object *intern; in ZEND_METHOD() local
2343 reflection_object *intern; in ZEND_METHOD() local
2352 …reflection_function_factory(_copy_function(param->fptr TSRMLS_CC), intern->obj, return_value TSRML… in ZEND_METHOD()
2354 …actory(param->fptr->common.scope, _copy_function(param->fptr TSRMLS_CC), intern->obj, return_value… in ZEND_METHOD()
2363 reflection_object *intern; in ZEND_METHOD() local
2381 reflection_object *intern; in ZEND_METHOD() local
2438 reflection_object *intern; in ZEND_METHOD() local
2454 reflection_object *intern; in ZEND_METHOD() local
2470 reflection_object *intern; in ZEND_METHOD() local
2486 reflection_object *intern; in ZEND_METHOD() local
2502 reflection_object *intern; in ZEND_METHOD() local
2519 reflection_object *intern; in ZEND_METHOD() local
2535 reflection_object *intern; in ZEND_METHOD() local
2551 reflection_object *intern; in ZEND_METHOD() local
2666 reflection_object *intern; in ZEND_METHOD() local
2696 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in ZEND_METHOD()
2697 if (intern == NULL) { in ZEND_METHOD()
2754 intern->ptr = mptr; in ZEND_METHOD()
2755 intern->ref_type = REF_TYPE_FUNCTION; in ZEND_METHOD()
2756 intern->ce = ce; in ZEND_METHOD()
2764 reflection_object *intern; in ZEND_METHOD() local
2773 _function_string(&str, mptr, intern->ce, "" TSRMLS_CC); in ZEND_METHOD()
2782 reflection_object *intern; in ZEND_METHOD() local
2820 reflection_object *intern; in ZEND_METHOD() local
2833 && intern->ignore_visibility == 0) in ZEND_METHOD()
2895 fcc.called_scope = intern->ce; in ZEND_METHOD()
2923 reflection_object *intern; in ZEND_METHOD() local
2942 && intern->ignore_visibility == 0) in ZEND_METHOD()
3004 fcc.called_scope = intern->ce; in ZEND_METHOD()
3160 reflection_object *intern; in ZEND_METHOD() local
3170 …RETURN_BOOL(mptr->common.fn_flags & ZEND_ACC_CTOR && intern->ce->constructor && intern->ce->constr… in ZEND_METHOD()
3178 reflection_object *intern; in ZEND_METHOD() local
3193 reflection_object *intern; in ZEND_METHOD() local
3209 reflection_object *intern; in ZEND_METHOD() local
3227 reflection_object *intern; in ZEND_METHOD() local
3239 "Method %s::%s does not have a prototype", intern->ce->name, mptr->common.function_name); in ZEND_METHOD()
3251 reflection_object *intern; in ZEND_METHOD() local
3258 intern = (reflection_object *) zend_object_store_get_object(getThis() TSRMLS_CC); in ZEND_METHOD()
3260 if (intern == NULL) { in ZEND_METHOD()
3264 intern->ignore_visibility = visible; in ZEND_METHOD()
3282 reflection_object *intern; in reflection_class_object_ctor() local
3296 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in reflection_class_object_ctor()
3297 if (intern == NULL) { in reflection_class_object_ctor()
3305 intern->ptr = Z_OBJCE_P(argument); in reflection_class_object_ctor()
3307 intern->obj = argument; in reflection_class_object_ctor()
3323 intern->ptr = *ce; in reflection_class_object_ctor()
3325 intern->ref_type = REF_TYPE_OTHER; in reflection_class_object_ctor()
3392 reflection_object *intern; in ZEND_METHOD() local
3412 reflection_object *intern; in ZEND_METHOD() local
3444 reflection_object *intern; in ZEND_METHOD() local
3480 reflection_object *intern; in ZEND_METHOD() local
3498 reflection_object *intern; in ZEND_METHOD() local
3507 _class_string(&str, ce, intern->obj, "" TSRMLS_CC); in ZEND_METHOD()
3527 reflection_object *intern; in ZEND_METHOD() local
3542 reflection_object *intern; in ZEND_METHOD() local
3557 reflection_object *intern; in ZEND_METHOD() local
3575 reflection_object *intern; in ZEND_METHOD() local
3593 reflection_object *intern; in ZEND_METHOD() local
3611 reflection_object *intern; in ZEND_METHOD() local
3629 reflection_object *intern; in ZEND_METHOD() local
3649 reflection_object *intern; in ZEND_METHOD() local
3677 reflection_object *intern; in ZEND_METHOD() local
3691 if (ce == zend_ce_closure && intern->obj && (name_len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) in ZEND_METHOD()
3693 && (mptr = zend_get_closure_invoke_method(intern->obj TSRMLS_CC)) != NULL) in ZEND_METHOD()
3699 } else if (ce == zend_ce_closure && !intern->obj && (name_len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) in ZEND_METHOD()
3760 reflection_object *intern; in ZEND_METHOD() local
3778 …ion_table TSRMLS_CC, (apply_func_args_t) _addmethod_va, 4, &ce, return_value, filter, intern->obj); in ZEND_METHOD()
3779 if (intern->obj && instanceof_function(ce, zend_ce_closure TSRMLS_CC)) { in ZEND_METHOD()
3780 zend_function *closure = zend_get_closure_invoke_method(intern->obj TSRMLS_CC); in ZEND_METHOD()
3782 _addmethod(closure, ce, return_value, filter, intern->obj TSRMLS_CC); in ZEND_METHOD()
3793 reflection_object *intern; in ZEND_METHOD() local
3812 if (intern->obj && Z_OBJ_HANDLER_P(intern->obj, has_property)) { in ZEND_METHOD()
3815 if (Z_OBJ_HANDLER_P(intern->obj, has_property)(intern->obj, property, 2, 0 TSRMLS_CC)) { in ZEND_METHOD()
3830 reflection_object *intern; in ZEND_METHOD() local
3847 } else if (intern->obj) { in ZEND_METHOD()
3849 …if (zend_hash_exists(Z_OBJ_HT_P(intern->obj)->get_properties(intern->obj TSRMLS_CC), name, name_le… in ZEND_METHOD()
3859 intern = (reflection_object *) zend_object_store_get_object(return_value TSRMLS_CC); in ZEND_METHOD()
3860 intern->ref_type = REF_TYPE_DYNAMIC_PROPERTY; in ZEND_METHOD()
3950 reflection_object *intern; in ZEND_METHOD() local
3970 if (intern->obj && (filter & ZEND_ACC_PUBLIC) != 0 && Z_OBJ_HT_P(intern->obj)->get_properties) { in ZEND_METHOD()
3971 HashTable *properties = Z_OBJ_HT_P(intern->obj)->get_properties(intern->obj TSRMLS_CC); in ZEND_METHOD()
3981 reflection_object *intern; in ZEND_METHOD() local
4005 reflection_object *intern; in ZEND_METHOD() local
4022 reflection_object *intern; in ZEND_METHOD() local
4045 reflection_object *intern; in _class_check_flag() local
4060 reflection_object *intern; in ZEND_METHOD() local
4085 reflection_object *intern; in ZEND_METHOD() local
4096 if (intern->obj) { in ZEND_METHOD()
4100 RETURN_BOOL(Z_OBJ_HANDLER_P(intern->obj, clone_obj) != NULL); in ZEND_METHOD()
4150 reflection_object *intern; in ZEND_METHOD() local
4166 reflection_object *intern; in ZEND_METHOD() local
4184 reflection_object *intern; in ZEND_METHOD() local
4255 reflection_object *intern; in ZEND_METHOD() local
4274 reflection_object *intern; in ZEND_METHOD() local
4353 reflection_object *intern; in ZEND_METHOD() local
4381 reflection_object *intern; in ZEND_METHOD() local
4403 reflection_object *intern; in ZEND_METHOD() local
4427 reflection_object *intern; in ZEND_METHOD() local
4448 reflection_object *intern; in ZEND_METHOD() local
4479 reflection_object *intern; in ZEND_METHOD() local
4499 reflection_object *intern, *argument; in ZEND_METHOD() local
4544 reflection_object *intern, *argument; in ZEND_METHOD() local
4594 reflection_object *intern; in ZEND_METHOD() local
4612 reflection_object *intern; in ZEND_METHOD() local
4632 reflection_object *intern; in ZEND_METHOD() local
4752 reflection_object *intern; in ZEND_METHOD() local
4763 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in ZEND_METHOD()
4764 if (intern == NULL) { in ZEND_METHOD()
4839 intern->ptr = reference; in ZEND_METHOD()
4840 intern->ref_type = REF_TYPE_PROPERTY; in ZEND_METHOD()
4841 intern->ce = ce; in ZEND_METHOD()
4842 intern->ignore_visibility = 0; in ZEND_METHOD()
4850 reflection_object *intern; in ZEND_METHOD() local
4877 reflection_object *intern; in _property_check_flag() local
4932 reflection_object *intern; in ZEND_METHOD() local
4948 reflection_object *intern; in ZEND_METHOD() local
4956 …if (!(ref->prop.flags & (ZEND_ACC_PUBLIC | ZEND_ACC_IMPLICIT_PUBLIC)) && intern->ignore_visibility… in ZEND_METHOD()
4959 "Cannot access non-public member %s::%s", intern->ce->name, Z_STRVAL(name)); in ZEND_METHOD()
4965 zend_update_class_constants(intern->ce TSRMLS_CC); in ZEND_METHOD()
4966 if (!CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]) { in ZEND_METHOD()
4967 …SRMLS_CC, E_ERROR, "Internal error: Could not find the property %s::%s", intern->ce->name, ref->pr… in ZEND_METHOD()
4970 *return_value= *CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]; in ZEND_METHOD()
4994 reflection_object *intern; in ZEND_METHOD() local
5004 if (!(ref->prop.flags & ZEND_ACC_PUBLIC) && intern->ignore_visibility == 0) { in ZEND_METHOD()
5007 "Cannot access non-public member %s::%s", intern->ce->name, Z_STRVAL(name)); in ZEND_METHOD()
5018 zend_update_class_constants(intern->ce TSRMLS_CC); in ZEND_METHOD()
5020 if (!CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]) { in ZEND_METHOD()
5021 …SRMLS_CC, E_ERROR, "Internal error: Could not find the property %s::%s", intern->ce->name, ref->pr… in ZEND_METHOD()
5024 variable_ptr = &CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]; in ZEND_METHOD()
5064 reflection_object *intern; in ZEND_METHOD() local
5103 reflection_object *intern; in ZEND_METHOD() local
5121 reflection_object *intern; in ZEND_METHOD() local
5128 intern = (reflection_object *) zend_object_store_get_object(getThis() TSRMLS_CC); in ZEND_METHOD()
5130 if (intern == NULL) { in ZEND_METHOD()
5134 intern->ignore_visibility = visible; in ZEND_METHOD()
5153 reflection_object *intern; in ZEND_METHOD() local
5164 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in ZEND_METHOD()
5165 if (intern == NULL) { in ZEND_METHOD()
5180 intern->ptr = module; in ZEND_METHOD()
5181 intern->ref_type = REF_TYPE_OTHER; in ZEND_METHOD()
5182 intern->ce = NULL; in ZEND_METHOD()
5190 reflection_object *intern; in ZEND_METHOD() local
5219 reflection_object *intern; in ZEND_METHOD() local
5240 reflection_object *intern; in ZEND_METHOD() local
5286 reflection_object *intern; in ZEND_METHOD() local
5320 reflection_object *intern; in ZEND_METHOD() local
5357 reflection_object *intern; in ZEND_METHOD() local
5374 reflection_object *intern; in ZEND_METHOD() local
5391 reflection_object *intern; in ZEND_METHOD() local
5445 reflection_object *intern; in ZEND_METHOD() local
5461 reflection_object *intern; in ZEND_METHOD() local
5477 reflection_object *intern; in ZEND_METHOD() local
5503 reflection_object *intern; in ZEND_METHOD() local
5513 intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); in ZEND_METHOD()
5514 if (intern == NULL) { in ZEND_METHOD()
5527 intern->ptr = extension; in ZEND_METHOD()
5528 intern->ref_type = REF_TYPE_OTHER; in ZEND_METHOD()
5529 intern->ce = NULL; in ZEND_METHOD()
5537 reflection_object *intern; in ZEND_METHOD() local
5555 reflection_object *intern; in ZEND_METHOD() local
5571 reflection_object *intern; in ZEND_METHOD() local
5587 reflection_object *intern; in ZEND_METHOD() local
5603 reflection_object *intern; in ZEND_METHOD() local
5619 reflection_object *intern; in ZEND_METHOD() local