Lines Matching refs:common

438 			if ((mptr->common.fn_flags & ZEND_ACC_STATIC)  in _class_string()
439 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) in _class_string()
452 if ((mptr->common.fn_flags & ZEND_ACC_STATIC) in _class_string()
453 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) in _class_string()
510 if ((mptr->common.fn_flags & ZEND_ACC_STATIC) == 0 in _class_string()
511 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) in _class_string()
515 if (obj && is_closure_invoke(ce, mptr->common.function_name) in _class_string()
695 && !(fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO); in has_internal_arg_info()
750 struct _zend_arg_info *arg_info = fptr->common.arg_info; in _function_parameter_string()
751 uint32_t i, num_args, num_required = fptr->common.required_num_args; in _function_parameter_string()
757 num_args = fptr->common.num_args; in _function_parameter_string()
758 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in _function_parameter_string()
819 …smart_str_append_printf(str, fptr->common.fn_flags & ZEND_ACC_CLOSURE ? "Closure [ " : (fptr->comm… in _function_string()
821 if (fptr->common.fn_flags & ZEND_ACC_DEPRECATED) { in _function_string()
828 if (scope && fptr->common.scope) { in _function_string()
829 if (fptr->common.scope != scope) { in _function_string()
830 smart_str_append_printf(str, ", inherits %s", ZSTR_VAL(fptr->common.scope->name)); in _function_string()
831 } else if (fptr->common.scope->parent) { in _function_string()
832 lc_name = zend_string_tolower(fptr->common.function_name); in _function_string()
833 …if ((overwrites = zend_hash_find_ptr(&fptr->common.scope->parent->function_table, lc_name)) != NUL… in _function_string()
834 …if (fptr->common.scope != overwrites->common.scope && !(overwrites->common.fn_flags & ZEND_ACC_PRI… in _function_string()
835 smart_str_append_printf(str, ", overwrites %s", ZSTR_VAL(overwrites->common.scope->name)); in _function_string()
841 if (fptr->common.prototype && fptr->common.prototype->common.scope) { in _function_string()
842 …smart_str_append_printf(str, ", prototype %s", ZSTR_VAL(fptr->common.prototype->common.scope->name… in _function_string()
844 if (fptr->common.fn_flags & ZEND_ACC_CTOR) { in _function_string()
849 if (fptr->common.fn_flags & ZEND_ACC_ABSTRACT) { in _function_string()
852 if (fptr->common.fn_flags & ZEND_ACC_FINAL) { in _function_string()
855 if (fptr->common.fn_flags & ZEND_ACC_STATIC) { in _function_string()
859 if (fptr->common.scope) { in _function_string()
861 switch (fptr->common.fn_flags & ZEND_ACC_PPP_MASK) { in _function_string()
883 smart_str_append_printf(str, "%s ] {\n", ZSTR_VAL(fptr->common.function_name)); in _function_string()
893 if (fptr->common.fn_flags & ZEND_ACC_CLOSURE) { in _function_string()
899 …smart_str_append_printf(str, " %s- %s [ ", indent, ZEND_ARG_TYPE_IS_TENTATIVE(&fptr->common.arg_i… in _function_string()
900 if (ZEND_TYPE_IS_SET(fptr->common.arg_info[-1].type)) { in _function_string()
901 zend_string *type_str = zend_type_to_string(fptr->common.arg_info[-1].type); in _function_string()
1120 if (fptr->common.type==ZEND_INTERNAL_FUNCTION in _extension_string()
1301 RETURN_BOOL(mptr->common.fn_flags & mask); in _function_check_flag()
1368 intern->ce = fptr->common.scope; in reflection_parameter_factory()
1475 ZVAL_STR_COPY(reflection_prop_name(object), function->common.function_name); in reflection_function_factory()
1493 ZVAL_STR_COPY(reflection_prop_name(object), method->common.function_name); in reflection_method_factory()
1494 ZVAL_STR_COPY(reflection_prop_class(object), method->common.scope->name); in reflection_method_factory()
1559 if (param->fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO) { in get_parameter_default()
1672 ZVAL_STR_COPY(reflection_prop_name(object), fptr->common.function_name); in ZEND_METHOD()
1707 RETURN_STR_COPY(fptr->common.function_name); in ZEND_METHOD()
1720 RETURN_BOOL(fptr->common.fn_flags & ZEND_ACC_CLOSURE); in ZEND_METHOD()
1752 if (closure_func && closure_func->common.scope) { in ZEND_METHOD()
1753 zend_reflection_class_factory(closure_func->common.scope, return_value); in ZEND_METHOD()
1772 && closure_func && (called_scope || closure_func->common.scope)) { in ZEND_METHOD()
1773 …factory(called_scope ? (zend_class_entry *) called_scope : closure_func->common.scope, return_valu… in ZEND_METHOD()
1880 …RETURN_BOOL((fptr->common.fn_flags & (ZEND_ACC_CLOSURE | ZEND_ACC_FAKE_CLOSURE)) == ZEND_ACC_CLOSU… in ZEND_METHOD()
1970 …if (fptr->common.scope && (fptr->common.fn_flags & (ZEND_ACC_CLOSURE|ZEND_ACC_FAKE_CLOSURE)) != ZE… in ZEND_METHOD()
1977 fptr->common.attributes, 0, fptr->common.scope, target, in ZEND_METHOD()
2038 "Invocation of function %s() failed", ZSTR_VAL(fptr->common.function_name)); in ZEND_METHOD()
2077 "Invocation of function %s() failed", ZSTR_VAL(fptr->common.function_name)); in ZEND_METHOD()
2113 num_args = fptr->common.num_args; in ZEND_METHOD()
2114 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in ZEND_METHOD()
2132 RETURN_LONG(fptr->common.required_num_args); in ZEND_METHOD()
2148 arg_info= fptr->common.arg_info; in ZEND_METHOD()
2149 num_args = fptr->common.num_args; in ZEND_METHOD()
2150 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in ZEND_METHOD()
2167 i < fptr->common.required_num_args, in ZEND_METHOD()
2326 if (func->common.fn_flags & ZEND_ACC_CLOSURE) { in ZEND_METHOD()
2418 ce = fptr->common.scope; in ZEND_METHOD()
2494 arg_info = fptr->common.arg_info; in ZEND_METHOD()
2495 num_args = fptr->common.num_args; in ZEND_METHOD()
2496 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in ZEND_METHOD()
2544 ref->required = (uint32_t)position < fptr->common.required_num_args; in ZEND_METHOD()
2567 if (fptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in ZEND_METHOD()
2568 zend_string_release_ex(fptr->common.function_name, 0); in ZEND_METHOD()
2619 if (!param->fptr->common.scope) { in ZEND_METHOD()
2622 …reflection_method_factory(param->fptr->common.scope, _copy_function(param->fptr), Z_ISUNDEF(intern… in ZEND_METHOD()
2636 if (param->fptr->common.scope) { in ZEND_METHOD()
2637 zend_reflection_class_factory(param->fptr->common.scope, return_value); in ZEND_METHOD()
2670 ce = param->fptr->common.scope; in ZEND_METHOD()
2677 ce = param->fptr->common.scope; in ZEND_METHOD()
2815 HashTable *attributes = param->fptr->common.attributes; in ZEND_METHOD()
2816 zend_class_entry *scope = param->fptr->common.scope; in ZEND_METHOD()
2860 RETURN_BOOL(!(param->fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO) in ZEND_METHOD()
2886 zval_update_constant_ex(return_value, param->fptr->common.scope); in ZEND_METHOD()
3260 ZVAL_STR_COPY(reflection_prop_name(object), mptr->common.function_name); in instantiate_reflection_method()
3261 ZVAL_STR_COPY(reflection_prop_class(object), mptr->common.scope->name); in instantiate_reflection_method()
3304 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in ZEND_METHOD()
3305 zend_create_fake_closure(return_value, mptr, mptr->common.scope, mptr->common.scope, NULL); in ZEND_METHOD()
3312 if (!instanceof_function(Z_OBJCE_P(obj), mptr->common.scope)) { in ZEND_METHOD()
3323 zend_create_fake_closure(return_value, mptr, mptr->common.scope, Z_OBJCE_P(obj), obj); in ZEND_METHOD()
3342 if (mptr->common.fn_flags & ZEND_ACC_ABSTRACT) { in reflection_method_invoke()
3345 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); in reflection_method_invoke()
3366 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in reflection_method_invoke()
3368 obj_ce = mptr->common.scope; in reflection_method_invoke()
3373 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); in reflection_method_invoke()
3379 if (!instanceof_function(obj_ce, mptr->common.scope)) { in reflection_method_invoke()
3393 …"Invocation of method %s::%s() failed", ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.… in reflection_method_invoke()
3491 if ((fptr->common.fn_flags & (ZEND_ACC_CLOSURE | ZEND_ACC_FAKE_CLOSURE)) == ZEND_ACC_CLOSURE) { in ZEND_METHOD()
3495 zend_string *name = fptr->common.function_name; in ZEND_METHOD()
3511 if ((fptr->common.fn_flags & (ZEND_ACC_CLOSURE | ZEND_ACC_FAKE_CLOSURE)) == ZEND_ACC_CLOSURE) { in ZEND_METHOD()
3515 zend_string *name = fptr->common.function_name; in ZEND_METHOD()
3534 zend_string *name = fptr->common.function_name; in ZEND_METHOD()
3535 if ((fptr->common.fn_flags & (ZEND_ACC_CLOSURE | ZEND_ACC_FAKE_CLOSURE)) != ZEND_ACC_CLOSURE) { in ZEND_METHOD()
3556 …y.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) && !ZEND_ARG_TYPE_IS_TENTATIVE(&fptr->common.arg_info[-1])); in ZEND_METHOD()
3570 …y.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) || ZEND_ARG_TYPE_IS_TENTATIVE(&fptr->common.arg_info[-1])) { in ZEND_METHOD()
3574 reflection_type_factory(fptr->common.arg_info[-1].type, return_value, 1); in ZEND_METHOD()
3588 …ray.fn_flags & ZEND_ACC_HAS_RETURN_TYPE && ZEND_ARG_TYPE_IS_TENTATIVE(&fptr->common.arg_info[-1])); in ZEND_METHOD()
3602 ….fn_flags & ZEND_ACC_HAS_RETURN_TYPE) || !ZEND_ARG_TYPE_IS_TENTATIVE(&fptr->common.arg_info[-1])) { in ZEND_METHOD()
3606 reflection_type_factory(fptr->common.arg_info[-1].type, return_value, 1); in ZEND_METHOD()
3621 …ETURN_BOOL((mptr->common.fn_flags & ZEND_ACC_CTOR) && intern->ce->constructor && intern->ce->const… in ZEND_METHOD()
3634 mptr->common.function_name, ZEND_DESTRUCTOR_FUNC_NAME)); in ZEND_METHOD()
3649 RETURN_LONG((mptr->common.fn_flags & keep_flags)); in ZEND_METHOD()
3663 zend_reflection_class_factory(mptr->common.scope, return_value); in ZEND_METHOD()
3676 RETURN_BOOL(mptr->common.prototype != NULL); in ZEND_METHOD()
3690 if (!mptr->common.prototype) { in ZEND_METHOD()
3692 …"Method %s::%s does not have a prototype", ZSTR_VAL(intern->ce->name), ZSTR_VAL(mptr->common.funct… in ZEND_METHOD()
3696 …reflection_method_factory(mptr->common.prototype->common.scope, mptr->common.prototype, NULL, retu… in ZEND_METHOD()
4421 if ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) && mptr->common.scope != ce) { in _addmethod()
4425 if (mptr->common.fn_flags & filter) { in _addmethod()
4810 RETURN_BOOL(ce->constructor->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD()
4828 RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD()
4834 RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD()
4940 if (!(constructor->common.fn_flags & ZEND_ACC_PUBLIC)) { in ZEND_METHOD()
5013 if (!(constructor->common.fn_flags & ZEND_ACC_PUBLIC)) { in ZEND_METHOD()
6252 zend_arg_info *arg_info = &prop->hooks[ZEND_PROPERTY_HOOK_SET]->common.arg_info[0]; in ZEND_METHOD()
6371 reflection_method_factory(hook->common.scope, hook, NULL, &hook_obj); in ZEND_METHOD()
6377 reflection_method_factory(hook->common.scope, hook, NULL, &hook_obj); in ZEND_METHOD()
6433 reflection_method_factory(hook->common.scope, hook, NULL, return_value); in ZEND_METHOD()
6534 if (fptr->common.type==ZEND_INTERNAL_FUNCTION in ZEND_METHOD()
6537 zend_hash_update(Z_ARRVAL_P(return_value), fptr->common.function_name, &function); in ZEND_METHOD()
7415 …cute_data && (!prev_execute_data->func || !ZEND_USER_CODE(prev_execute_data->func->common.type))) { in ZEND_METHOD()
7418 …if (prev_execute_data && prev_execute_data->func && ZEND_USER_CODE(prev_execute_data->func->common in ZEND_METHOD()
7439 …cute_data && (!prev_execute_data->func || !ZEND_USER_CODE(prev_execute_data->func->common.type))) { in ZEND_METHOD()
7442 …if (prev_execute_data && prev_execute_data->func && ZEND_USER_CODE(prev_execute_data->func->common in ZEND_METHOD()