Lines Matching refs:common

299 	fptr->common.prototype = NULL;  in _fix_closure_prototype()
517 if (mptr->common.fn_flags & ZEND_ACC_STATIC in _class_string()
518 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) in _class_string()
531 if (mptr->common.fn_flags & ZEND_ACC_STATIC in _class_string()
532 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) in _class_string()
593 if ((mptr->common.fn_flags & ZEND_ACC_STATIC) == 0 in _class_string()
594 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) in _class_string()
596 size_t len = ZSTR_LEN(mptr->common.function_name); in _class_string()
599 if ((mptr->common.fn_flags & ZEND_ACC_CTOR) == 0 in _class_string()
600 || mptr->common.scope == ce in _class_string()
602 …|| zend_binary_strcasecmp(ZSTR_VAL(key), ZSTR_LEN(key), ZSTR_VAL(mptr->common.function_name), len)… in _class_string()
607 …&& memcmp(ZSTR_VAL(mptr->common.function_name), ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAM… in _class_string()
686 !(fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO)) ? in _parameter_string()
707 !(fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO)) ? in _parameter_string()
722 EG(scope) = fptr->common.scope; in _parameter_string()
759 struct _zend_arg_info *arg_info = fptr->common.arg_info; in _function_parameter_string()
760 uint32_t i, num_args, required = fptr->common.required_num_args; in _function_parameter_string()
766 num_args = fptr->common.num_args; in _function_parameter_string()
767 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in _function_parameter_string()
827 …string_printf(str, fptr->common.fn_flags & ZEND_ACC_CLOSURE ? "Closure [ " : (fptr->common.scope ?… in _function_string()
829 if (fptr->common.fn_flags & ZEND_ACC_DEPRECATED) { in _function_string()
836 if (scope && fptr->common.scope) { in _function_string()
837 if (fptr->common.scope != scope) { in _function_string()
838 string_printf(str, ", inherits %s", ZSTR_VAL(fptr->common.scope->name)); in _function_string()
839 } else if (fptr->common.scope->parent) { in _function_string()
840 lc_name_len = ZSTR_LEN(fptr->common.function_name); in _function_string()
842 zend_str_tolower_copy(ZSTR_VAL(lc_name), ZSTR_VAL(fptr->common.function_name), lc_name_len); in _function_string()
843 …if ((overwrites = zend_hash_find_ptr(&fptr->common.scope->parent->function_table, lc_name)) != NUL… in _function_string()
844 if (fptr->common.scope != overwrites->common.scope) { in _function_string()
845 string_printf(str, ", overwrites %s", ZSTR_VAL(overwrites->common.scope->name)); in _function_string()
851 if (fptr->common.prototype && fptr->common.prototype->common.scope) { in _function_string()
852 string_printf(str, ", prototype %s", ZSTR_VAL(fptr->common.prototype->common.scope->name)); in _function_string()
854 if (fptr->common.fn_flags & ZEND_ACC_CTOR) { in _function_string()
857 if (fptr->common.fn_flags & ZEND_ACC_DTOR) { in _function_string()
862 if (fptr->common.fn_flags & ZEND_ACC_ABSTRACT) { in _function_string()
865 if (fptr->common.fn_flags & ZEND_ACC_FINAL) { in _function_string()
868 if (fptr->common.fn_flags & ZEND_ACC_STATIC) { in _function_string()
872 if (fptr->common.scope) { in _function_string()
874 switch (fptr->common.fn_flags & ZEND_ACC_PPP_MASK) { in _function_string()
896 string_printf(str, "%s ] {\n", ZSTR_VAL(fptr->common.function_name)); in _function_string()
906 if (fptr->common.fn_flags & ZEND_ACC_CLOSURE) { in _function_string()
913 if (fptr->common.arg_info[-1].class_name) { in _function_string()
916 !(fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO)) ? in _function_string()
917 ((zend_internal_arg_info*)(fptr->common.arg_info - 1))->class_name : in _function_string()
918 ZSTR_VAL(fptr->common.arg_info[-1].class_name)); in _function_string()
919 if (fptr->common.arg_info[-1].allow_null) { in _function_string()
922 } else if (fptr->common.arg_info[-1].type_hint) { in _function_string()
923 string_printf(str, "%s ", zend_get_type_by_const(fptr->common.arg_info[-1].type_hint)); in _function_string()
924 if (fptr->common.arg_info[-1].allow_null) { in _function_string()
1127 if (fptr->common.type==ZEND_INTERNAL_FUNCTION in _extension_string()
1194 RETURN_BOOL(mptr->common.fn_flags & mask); in _function_check_flag()
1250 !(fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO)) { in reflection_parameter_factory()
1267 intern->ce = fptr->common.scope; in reflection_parameter_factory()
1289 intern->ce = fptr->common.scope; in reflection_type_factory()
1303 ZVAL_STR_COPY(&name, function->common.function_name); in reflection_function_factory()
1325 ZVAL_STR_COPY(&name, (method->common.scope && method->common.scope->trait_aliases)? in reflection_method_factory()
1326 zend_resolve_method_name(ce, method) : method->common.function_name); in reflection_method_factory()
1327 ZVAL_STR_COPY(&classname, method->common.scope->name); in reflection_method_factory()
1666 ZVAL_STR_COPY(&name, fptr->common.function_name); in ZEND_METHOD()
1719 RETURN_BOOL(fptr->common.fn_flags & ZEND_ACC_CLOSURE); in ZEND_METHOD()
1756 if (closure_func && closure_func->common.scope) { in ZEND_METHOD()
1757 zend_reflection_class_factory(closure_func->common.scope, return_value); in ZEND_METHOD()
1922 if (UNEXPECTED(zval_update_constant_ex(val, 1, fptr->common.scope) != SUCCESS)) { in ZEND_METHOD()
1970 "Invocation of function %s() failed", ZSTR_VAL(fptr->common.function_name)); in ZEND_METHOD()
2035 "Invocation of function %s() failed", ZSTR_VAL(fptr->common.function_name)); in ZEND_METHOD()
2070 num_args = fptr->common.num_args; in ZEND_METHOD()
2071 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in ZEND_METHOD()
2089 RETURN_LONG(fptr->common.required_num_args); in ZEND_METHOD()
2105 arg_info= fptr->common.arg_info; in ZEND_METHOD()
2106 num_args = fptr->common.num_args; in ZEND_METHOD()
2107 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in ZEND_METHOD()
2115 …n(fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, arg_info, i, fptr->common.required_num_args,… in ZEND_METHOD()
2283 if (ex->func->common.fn_flags & ZEND_ACC_CLOSURE) { in ZEND_METHOD()
2285 ZVAL_OBJ(&closure, (zend_object *) ex->func->common.prototype); in ZEND_METHOD()
2382 ce = fptr->common.scope; in ZEND_METHOD()
2451 arg_info = fptr->common.arg_info; in ZEND_METHOD()
2452 num_args = fptr->common.num_args; in ZEND_METHOD()
2453 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in ZEND_METHOD()
2459 if (fptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in ZEND_METHOD()
2461 zend_string_release(fptr->common.function_name); in ZEND_METHOD()
2477 !(fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO)) { in ZEND_METHOD()
2498 if (fptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in ZEND_METHOD()
2500 zend_string_release(fptr->common.function_name); in ZEND_METHOD()
2514 !(fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO)) { in ZEND_METHOD()
2527 ref->required = fptr->common.required_num_args; in ZEND_METHOD()
2581 if (!param->fptr->common.scope) { in ZEND_METHOD()
2584 …reflection_method_factory(param->fptr->common.scope, _copy_function(param->fptr), Z_ISUNDEF(intern… in ZEND_METHOD()
2601 if (param->fptr->common.scope) { in ZEND_METHOD()
2602 zend_reflection_class_factory(param->fptr->common.scope, return_value); in ZEND_METHOD()
2637 !(param->fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO)) { in ZEND_METHOD()
2645 ce = param->fptr->common.scope; in ZEND_METHOD()
2652 ce = param->fptr->common.scope; in ZEND_METHOD()
2666 !(param->fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO)) { in ZEND_METHOD()
2713 !(param->fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO)) ? in ZEND_METHOD()
2887 EG(scope) = param->fptr->common.scope; in ZEND_METHOD()
3009 !(param->fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO)) { in ZEND_METHOD()
3114 ZVAL_STR_COPY(&name, mptr->common.scope->name); in ZEND_METHOD()
3116 ZVAL_STR_COPY(&name, mptr->common.function_name); in ZEND_METHOD()
3153 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in ZEND_METHOD()
3154 zend_create_fake_closure(return_value, mptr, mptr->common.scope, mptr->common.scope, NULL); in ZEND_METHOD()
3160 if (!instanceof_function(Z_OBJCE_P(obj), mptr->common.scope)) { in ZEND_METHOD()
3171 zend_create_fake_closure(return_value, mptr, mptr->common.scope, Z_OBJCE_P(obj), obj); in ZEND_METHOD()
3195 if ((!(mptr->common.fn_flags & ZEND_ACC_PUBLIC) in ZEND_METHOD()
3196 || (mptr->common.fn_flags & ZEND_ACC_ABSTRACT)) in ZEND_METHOD()
3199 if (mptr->common.fn_flags & ZEND_ACC_ABSTRACT) { in ZEND_METHOD()
3202 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); in ZEND_METHOD()
3206 mptr->common.fn_flags & ZEND_ACC_PROTECTED ? "protected" : "private", in ZEND_METHOD()
3207 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name), in ZEND_METHOD()
3223 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in ZEND_METHOD()
3225 obj_ce = mptr->common.scope; in ZEND_METHOD()
3234 if (!instanceof_function(obj_ce, mptr->common.scope)) { in ZEND_METHOD()
3262 …"Invocation of method %s::%s() failed", ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.… in ZEND_METHOD()
3295 if ((!(mptr->common.fn_flags & ZEND_ACC_PUBLIC) in ZEND_METHOD()
3296 || (mptr->common.fn_flags & ZEND_ACC_ABSTRACT)) in ZEND_METHOD()
3299 if (mptr->common.fn_flags & ZEND_ACC_ABSTRACT) { in ZEND_METHOD()
3302 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); in ZEND_METHOD()
3306 mptr->common.fn_flags & ZEND_ACC_PROTECTED ? "protected" : "private", in ZEND_METHOD()
3307 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name), in ZEND_METHOD()
3328 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in ZEND_METHOD()
3330 obj_ce = mptr->common.scope; in ZEND_METHOD()
3336 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); in ZEND_METHOD()
3342 if (!instanceof_function(obj_ce, mptr->common.scope)) { in ZEND_METHOD()
3381 …"Invocation of method %s::%s() failed", ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.… in ZEND_METHOD()
3567 …copy_function(fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, &fptr->common.arg_info[-1], retu… in ZEND_METHOD()
3585 …RETURN_BOOL(mptr->common.fn_flags & ZEND_ACC_CTOR && intern->ce->constructor && intern->ce->constr… in ZEND_METHOD()
3600 RETURN_BOOL(mptr->common.fn_flags & ZEND_ACC_DTOR); in ZEND_METHOD()
3616 RETURN_LONG(mptr->common.fn_flags); in ZEND_METHOD()
3634 zend_reflection_class_factory(mptr->common.scope, return_value); in ZEND_METHOD()
3652 if (!mptr->common.prototype) { in ZEND_METHOD()
3654 …"Method %s::%s does not have a prototype", ZSTR_VAL(intern->ce->name), ZSTR_VAL(mptr->common.funct… in ZEND_METHOD()
3658 …reflection_method_factory(mptr->common.prototype->common.scope, mptr->common.prototype, NULL, retu… in ZEND_METHOD()
4138 size_t len = ZSTR_LEN(mptr->common.function_name); in _addmethod()
4140 if (mptr->common.fn_flags & filter) { in _addmethod()
4142 …&& memcmp(ZSTR_VAL(mptr->common.function_name), ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAM… in _addmethod()
4506 RETURN_BOOL(ce->constructor->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD()
4527 RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD()
4533 RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD()
4638 if (!(constructor->common.fn_flags & ZEND_ACC_PUBLIC)) { in ZEND_METHOD()
4742 if (!(constructor->common.fn_flags & ZEND_ACC_PUBLIC)) { in ZEND_METHOD()
5672 if (fptr->common.type==ZEND_INTERNAL_FUNCTION in ZEND_METHOD()
5675 zend_hash_update(Z_ARRVAL_P(return_value), fptr->common.function_name, &function); in ZEND_METHOD()