Lines Matching refs:common

434 			if ((mptr->common.fn_flags & ZEND_ACC_STATIC)  in _class_string()
435 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) in _class_string()
448 if ((mptr->common.fn_flags & ZEND_ACC_STATIC) in _class_string()
449 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) in _class_string()
506 if ((mptr->common.fn_flags & ZEND_ACC_STATIC) == 0 in _class_string()
507 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) in _class_string()
511 if (obj && is_closure_invoke(ce, mptr->common.function_name) in _class_string()
650 && !(fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO); in has_internal_arg_info()
692 if (format_default_value(str, default_value, fptr->common.scope) == FAILURE) { in _parameter_string()
705 struct _zend_arg_info *arg_info = fptr->common.arg_info; in _function_parameter_string()
706 uint32_t i, num_args, num_required = fptr->common.required_num_args; in _function_parameter_string()
712 num_args = fptr->common.num_args; in _function_parameter_string()
713 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in _function_parameter_string()
772 …smart_str_append_printf(str, fptr->common.fn_flags & ZEND_ACC_CLOSURE ? "Closure [ " : (fptr->comm… in _function_string()
774 if (fptr->common.fn_flags & ZEND_ACC_DEPRECATED) { in _function_string()
781 if (scope && fptr->common.scope) { in _function_string()
782 if (fptr->common.scope != scope) { in _function_string()
783 smart_str_append_printf(str, ", inherits %s", ZSTR_VAL(fptr->common.scope->name)); in _function_string()
784 } else if (fptr->common.scope->parent) { in _function_string()
785 lc_name = zend_string_tolower(fptr->common.function_name); in _function_string()
786 …if ((overwrites = zend_hash_find_ptr(&fptr->common.scope->parent->function_table, lc_name)) != NUL… in _function_string()
787 …if (fptr->common.scope != overwrites->common.scope && !(overwrites->common.fn_flags & ZEND_ACC_PRI… in _function_string()
788 smart_str_append_printf(str, ", overwrites %s", ZSTR_VAL(overwrites->common.scope->name)); in _function_string()
794 if (fptr->common.prototype && fptr->common.prototype->common.scope) { in _function_string()
795 …smart_str_append_printf(str, ", prototype %s", ZSTR_VAL(fptr->common.prototype->common.scope->name… in _function_string()
797 if (fptr->common.fn_flags & ZEND_ACC_CTOR) { in _function_string()
802 if (fptr->common.fn_flags & ZEND_ACC_ABSTRACT) { in _function_string()
805 if (fptr->common.fn_flags & ZEND_ACC_FINAL) { in _function_string()
808 if (fptr->common.fn_flags & ZEND_ACC_STATIC) { in _function_string()
812 if (fptr->common.scope) { in _function_string()
814 switch (fptr->common.fn_flags & ZEND_ACC_PPP_MASK) { in _function_string()
836 smart_str_append_printf(str, "%s ] {\n", ZSTR_VAL(fptr->common.function_name)); in _function_string()
846 if (fptr->common.fn_flags & ZEND_ACC_CLOSURE) { in _function_string()
853 if (ZEND_TYPE_IS_SET(fptr->common.arg_info[-1].type)) { in _function_string()
854 zend_string *type_str = zend_type_to_string(fptr->common.arg_info[-1].type); in _function_string()
1054 if (fptr->common.type==ZEND_INTERNAL_FUNCTION in _extension_string()
1236 RETURN_BOOL(mptr->common.fn_flags & mask); in _function_check_flag()
1295 intern->ce = fptr->common.scope; in reflection_parameter_factory()
1366 ZVAL_STR_COPY(reflection_prop_name(object), function->common.function_name); in reflection_function_factory()
1384 ZVAL_STR_COPY(reflection_prop_name(object), method->common.function_name); in reflection_method_factory()
1385 ZVAL_STR_COPY(reflection_prop_class(object), method->common.scope->name); in reflection_method_factory()
1435 if (param->fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO) { in get_parameter_default()
1541 ZVAL_STR_COPY(reflection_prop_name(object), fptr->common.function_name); in ZEND_METHOD()
1580 RETURN_STR_COPY(fptr->common.function_name); in ZEND_METHOD()
1594 RETURN_BOOL(fptr->common.fn_flags & ZEND_ACC_CLOSURE); in ZEND_METHOD()
1629 if (closure_func && closure_func->common.scope) { in ZEND_METHOD()
1630 zend_reflection_class_factory(closure_func->common.scope, return_value); in ZEND_METHOD()
1651 && closure_func && (called_scope || closure_func->common.scope)) { in ZEND_METHOD()
1652 …factory(called_scope ? (zend_class_entry *) called_scope : closure_func->common.scope, return_valu… in ZEND_METHOD()
1795 if (fptr->common.scope && !(fptr->common.fn_flags & ZEND_ACC_CLOSURE)) { in ZEND_METHOD()
1802 fptr->common.attributes, 0, fptr->common.scope, target, in ZEND_METHOD()
1831 if (UNEXPECTED(zval_update_constant_ex(val, fptr->common.scope) != SUCCESS)) { in ZEND_METHOD()
1881 "Invocation of function %s() failed", ZSTR_VAL(fptr->common.function_name)); in ZEND_METHOD()
1932 "Invocation of function %s() failed", ZSTR_VAL(fptr->common.function_name)); in ZEND_METHOD()
1974 num_args = fptr->common.num_args; in ZEND_METHOD()
1975 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in ZEND_METHOD()
1995 RETURN_LONG(fptr->common.required_num_args); in ZEND_METHOD()
2013 arg_info= fptr->common.arg_info; in ZEND_METHOD()
2014 num_args = fptr->common.num_args; in ZEND_METHOD()
2015 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in ZEND_METHOD()
2032 i < fptr->common.required_num_args, in ZEND_METHOD()
2210 if (ex->func->common.fn_flags & ZEND_ACC_CLOSURE) { in ZEND_METHOD()
2296 ce = fptr->common.scope; in ZEND_METHOD()
2372 arg_info = fptr->common.arg_info; in ZEND_METHOD()
2373 num_args = fptr->common.num_args; in ZEND_METHOD()
2374 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in ZEND_METHOD()
2418 ref->required = (uint32_t)position < fptr->common.required_num_args; in ZEND_METHOD()
2437 if (fptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in ZEND_METHOD()
2438 zend_string_release_ex(fptr->common.function_name, 0); in ZEND_METHOD()
2495 if (!param->fptr->common.scope) { in ZEND_METHOD()
2498 …reflection_method_factory(param->fptr->common.scope, _copy_function(param->fptr), Z_ISUNDEF(intern… in ZEND_METHOD()
2514 if (param->fptr->common.scope) { in ZEND_METHOD()
2515 zend_reflection_class_factory(param->fptr->common.scope, return_value); in ZEND_METHOD()
2550 ce = param->fptr->common.scope; in ZEND_METHOD()
2557 ce = param->fptr->common.scope; in ZEND_METHOD()
2704 HashTable *attributes = param->fptr->common.attributes; in ZEND_METHOD()
2705 zend_class_entry *scope = param->fptr->common.scope; in ZEND_METHOD()
2755 RETURN_BOOL(!(param->fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO) in ZEND_METHOD()
2783 zval_update_constant_ex(return_value, param->fptr->common.scope); in ZEND_METHOD()
3110 ZVAL_STR_COPY(reflection_prop_name(object), mptr->common.function_name); in ZEND_METHOD()
3111 ZVAL_STR_COPY(reflection_prop_class(object), mptr->common.scope->name); in ZEND_METHOD()
3147 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in ZEND_METHOD()
3148 zend_create_fake_closure(return_value, mptr, mptr->common.scope, mptr->common.scope, NULL); in ZEND_METHOD()
3155 if (!instanceof_function(Z_OBJCE_P(obj), mptr->common.scope)) { in ZEND_METHOD()
3166 zend_create_fake_closure(return_value, mptr, mptr->common.scope, Z_OBJCE_P(obj), obj); in ZEND_METHOD()
3187 if (mptr->common.fn_flags & ZEND_ACC_ABSTRACT) { in reflection_method_invoke()
3190 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); in reflection_method_invoke()
3194 if (!(mptr->common.fn_flags & ZEND_ACC_PUBLIC) && intern->ignore_visibility == 0) { in reflection_method_invoke()
3197 mptr->common.fn_flags & ZEND_ACC_PROTECTED ? "protected" : "private", in reflection_method_invoke()
3198 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name), in reflection_method_invoke()
3220 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in reflection_method_invoke()
3222 obj_ce = mptr->common.scope; in reflection_method_invoke()
3227 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); in reflection_method_invoke()
3233 if (!instanceof_function(obj_ce, mptr->common.scope)) { in reflection_method_invoke()
3265 …"Invocation of method %s::%s() failed", ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.… in reflection_method_invoke()
3367 zend_string *name = fptr->common.function_name; in ZEND_METHOD()
3385 zend_string *name = fptr->common.function_name; in ZEND_METHOD()
3406 zend_string *name = fptr->common.function_name; in ZEND_METHOD()
3447 reflection_type_factory(fptr->common.arg_info[-1].type, return_value, 1); in ZEND_METHOD()
3464 …ETURN_BOOL((mptr->common.fn_flags & ZEND_ACC_CTOR) && intern->ce->constructor && intern->ce->const… in ZEND_METHOD()
3479 mptr->common.function_name, ZEND_DESTRUCTOR_FUNC_NAME)); in ZEND_METHOD()
3496 RETURN_LONG((mptr->common.fn_flags & keep_flags)); in ZEND_METHOD()
3512 zend_reflection_class_factory(mptr->common.scope, return_value); in ZEND_METHOD()
3528 if (!mptr->common.prototype) { in ZEND_METHOD()
3530 …"Method %s::%s does not have a prototype", ZSTR_VAL(intern->ce->name), ZSTR_VAL(mptr->common.funct… in ZEND_METHOD()
3534 …reflection_method_factory(mptr->common.prototype->common.scope, mptr->common.prototype, NULL, retu… in ZEND_METHOD()
4214 if ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) && mptr->common.scope != ce) { in _addmethod()
4218 if (mptr->common.fn_flags & filter) { in _addmethod()
4605 RETURN_BOOL(ce->constructor->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD()
4625 RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD()
4631 RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD()
4729 if (!(constructor->common.fn_flags & ZEND_ACC_PUBLIC)) { in ZEND_METHOD()
4804 if (!(constructor->common.fn_flags & ZEND_ACC_PUBLIC)) { in ZEND_METHOD()
5760 if (fptr->common.type==ZEND_INTERNAL_FUNCTION in ZEND_METHOD()
5763 zend_hash_update(Z_ARRVAL_P(return_value), fptr->common.function_name, &function); in ZEND_METHOD()
6322 if (!(ctor->common.fn_flags & ZEND_ACC_PUBLIC)) { in call_attribute_constructor()