Lines Matching refs:mptr

429 		zend_function *mptr;  in _class_string()  local
431 ZEND_HASH_FOREACH_PTR(&ce->function_table, mptr) { in _class_string()
432 if ((mptr->common.fn_flags & ZEND_ACC_STATIC) in _class_string()
433 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) in _class_string()
443 zend_function *mptr; in _class_string() local
445 ZEND_HASH_FOREACH_PTR(&ce->function_table, mptr) { in _class_string()
446 if ((mptr->common.fn_flags & ZEND_ACC_STATIC) in _class_string()
447 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) in _class_string()
450 _function_string(str, mptr, ce, ZSTR_VAL(sub_indent)); in _class_string()
499 zend_function *mptr; in _class_string() local
503 ZEND_HASH_FOREACH_PTR(&ce->function_table, mptr) { in _class_string()
504 if ((mptr->common.fn_flags & ZEND_ACC_STATIC) == 0 in _class_string()
505 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) in _class_string()
509 if (obj && is_closure_invoke(ce, mptr->common.function_name) in _class_string()
512 mptr = closure; in _class_string()
517 _function_string(&method_str, mptr, ce, ZSTR_VAL(sub_indent)); in _class_string()
1243 zend_function *mptr; in _function_check_flag() local
1248 GET_REFLECTION_OBJECT_PTR(mptr); in _function_check_flag()
1249 RETURN_BOOL(mptr->common.fn_flags & mask); in _function_check_flag()
3185 zend_function *mptr; in ZEND_METHOD() local
3242 && (mptr = zend_get_closure_invoke_method(orig_obj)) != NULL) in ZEND_METHOD()
3245 } else if ((mptr = zend_hash_str_find_ptr(&ce->function_table, lcname, method_name_len)) == NULL) { in ZEND_METHOD()
3253 ZVAL_STR_COPY(reflection_prop_name(object), mptr->common.function_name); in ZEND_METHOD()
3254 ZVAL_STR_COPY(reflection_prop_class(object), mptr->common.scope->name); in ZEND_METHOD()
3255 intern->ptr = mptr; in ZEND_METHOD()
3265 zend_function *mptr; in ZEND_METHOD() local
3271 GET_REFLECTION_OBJECT_PTR(mptr); in ZEND_METHOD()
3272 _function_string(&str, mptr, intern->ce, ""); in ZEND_METHOD()
3282 zend_function *mptr; in ZEND_METHOD() local
3288 GET_REFLECTION_OBJECT_PTR(mptr); in ZEND_METHOD()
3290 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in ZEND_METHOD()
3291 zend_create_fake_closure(return_value, mptr, mptr->common.scope, mptr->common.scope, NULL); in ZEND_METHOD()
3298 if (!instanceof_function(Z_OBJCE_P(obj), mptr->common.scope)) { in ZEND_METHOD()
3305 (mptr->internal_function.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) in ZEND_METHOD()
3309 zend_create_fake_closure(return_value, mptr, mptr->common.scope, Z_OBJCE_P(obj), obj); in ZEND_METHOD()
3322 zend_function *mptr; in reflection_method_invoke() local
3328 GET_REFLECTION_OBJECT_PTR(mptr); in reflection_method_invoke()
3330 if (mptr->common.fn_flags & ZEND_ACC_ABSTRACT) { in reflection_method_invoke()
3333 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); in reflection_method_invoke()
3354 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in reflection_method_invoke()
3356 obj_ce = mptr->common.scope; in reflection_method_invoke()
3361 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); in reflection_method_invoke()
3367 if (!instanceof_function(obj_ce, mptr->common.scope)) { in reflection_method_invoke()
3384 fcc.function_handler = mptr; in reflection_method_invoke()
3391 if ((mptr->internal_function.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in reflection_method_invoke()
3392 fcc.function_handler = _copy_function(mptr); in reflection_method_invoke()
3399 …"Invocation of method %s::%s() failed", ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.… in reflection_method_invoke()
3625 zend_function *mptr; in ZEND_METHOD() local
3630 GET_REFLECTION_OBJECT_PTR(mptr); in ZEND_METHOD()
3634 …RETURN_BOOL((mptr->common.fn_flags & ZEND_ACC_CTOR) && intern->ce->constructor && intern->ce->cons… in ZEND_METHOD()
3642 zend_function *mptr; in ZEND_METHOD() local
3647 GET_REFLECTION_OBJECT_PTR(mptr); in ZEND_METHOD()
3649 mptr->common.function_name, ZEND_DESTRUCTOR_FUNC_NAME)); in ZEND_METHOD()
3657 zend_function *mptr; in ZEND_METHOD() local
3664 GET_REFLECTION_OBJECT_PTR(mptr); in ZEND_METHOD()
3666 RETURN_LONG((mptr->common.fn_flags & keep_flags)); in ZEND_METHOD()
3674 zend_function *mptr; in ZEND_METHOD() local
3676 GET_REFLECTION_OBJECT_PTR(mptr); in ZEND_METHOD()
3682 zend_reflection_class_factory(mptr->common.scope, return_value); in ZEND_METHOD()
3690 zend_function *mptr; in ZEND_METHOD() local
3692 GET_REFLECTION_OBJECT_PTR(mptr); in ZEND_METHOD()
3698 if (!mptr->common.prototype) { in ZEND_METHOD()
3700 …"Method %s::%s does not have a prototype", ZSTR_VAL(intern->ce->name), ZSTR_VAL(mptr->common.funct… in ZEND_METHOD()
3704 …reflection_method_factory(mptr->common.prototype->common.scope, mptr->common.prototype, NULL, retu… in ZEND_METHOD()
4377 zend_function *mptr; in ZEND_METHOD() local
4388 && (mptr = zend_get_closure_invoke_method(Z_OBJ(intern->obj))) != NULL) in ZEND_METHOD()
4392 reflection_method_factory(ce, mptr, NULL, return_value); in ZEND_METHOD()
4394 …&& object_init_ex(&obj_tmp, ce) == SUCCESS && (mptr = zend_get_closure_invoke_method(Z_OBJ(obj_tmp… in ZEND_METHOD()
4397 reflection_method_factory(ce, mptr, NULL, return_value); in ZEND_METHOD()
4399 } else if ((mptr = zend_hash_find_ptr(&ce->function_table, lc_name)) != NULL) { in ZEND_METHOD()
4400 reflection_method_factory(ce, mptr, NULL, return_value); in ZEND_METHOD()
4410 static bool _addmethod(zend_function *mptr, zend_class_entry *ce, HashTable *ht, zend_long filter) in _addmethod() argument
4412 if ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) && mptr->common.scope != ce) { in _addmethod()
4416 if (mptr->common.fn_flags & filter) { in _addmethod()
4418 reflection_method_factory(ce, mptr, NULL, &method); in _addmethod()
4431 zend_function *mptr; in ZEND_METHOD() local
4446 ZEND_HASH_FOREACH_PTR(&ce->function_table, mptr) { in ZEND_METHOD()
4447 _addmethod(mptr, ce, Z_ARRVAL_P(return_value), filter); in ZEND_METHOD()