Lines Matching refs:class_name

172 	if (ZEND_LOG_XOR(fe_arg_info->class_name, proto_arg_info->class_name)) {  in zend_do_perform_type_hint_check()
177 if (fe_arg_info->class_name) { in zend_do_perform_type_hint_check()
179 const char *class_name; in zend_do_perform_type_hint_check() local
183 class_name = ((zend_internal_arg_info*)fe_arg_info)->class_name; in zend_do_perform_type_hint_check()
185 fe_class_name = fe_arg_info->class_name; in zend_do_perform_type_hint_check()
186 class_name = ZSTR_VAL(fe_arg_info->class_name); in zend_do_perform_type_hint_check()
188 if (!strcasecmp(class_name, "parent") && proto->common.scope) { in zend_do_perform_type_hint_check()
190 } else if (!strcasecmp(class_name, "self") && fe->common.scope) { in zend_do_perform_type_hint_check()
195 fe_class_name = zend_string_init(class_name, strlen(class_name), 0); in zend_do_perform_type_hint_check()
200 class_name = ((zend_internal_arg_info*)proto_arg_info)->class_name; in zend_do_perform_type_hint_check()
202 proto_class_name = proto_arg_info->class_name; in zend_do_perform_type_hint_check()
203 class_name = ZSTR_VAL(proto_arg_info->class_name); in zend_do_perform_type_hint_check()
205 if (!strcasecmp(class_name, "parent") && proto->common.scope && proto->common.scope->parent) { in zend_do_perform_type_hint_check()
207 } else if (!strcasecmp(class_name, "self") && proto->common.scope) { in zend_do_perform_type_hint_check()
212 proto_class_name = zend_string_init(class_name, strlen(class_name), 0); in zend_do_perform_type_hint_check()
354 if (arg_info->class_name) { in zend_append_type_hint()
355 const char *class_name; in zend_append_type_hint() local
359 class_name = ((zend_internal_arg_info*)arg_info)->class_name; in zend_append_type_hint()
360 class_name_len = strlen(class_name); in zend_append_type_hint()
362 class_name = ZSTR_VAL(arg_info->class_name); in zend_append_type_hint()
363 class_name_len = ZSTR_LEN(arg_info->class_name); in zend_append_type_hint()
366 if (!strcasecmp(class_name, "self") && fptr->common.scope) { in zend_append_type_hint()
367 class_name = ZSTR_VAL(fptr->common.scope->name); in zend_append_type_hint()
369 …} else if (!strcasecmp(class_name, "parent") && fptr->common.scope && fptr->common.scope->parent) { in zend_append_type_hint()
370 class_name = ZSTR_VAL(fptr->common.scope->parent->name); in zend_append_type_hint()
374 smart_str_appendl(str, class_name, class_name_len); in zend_append_type_hint()
1312 if (!(cur_precedence->trait_method->ce = zend_fetch_class(cur_method_ref->class_name, in zend_traits_init_trait_structures()
1314 …d_error_noreturn(E_COMPILE_ERROR, "Could not find trait %s", ZSTR_VAL(cur_method_ref->class_name)); in zend_traits_init_trait_structures()
1337 while (cur_precedence->exclude_from_classes[j].class_name) { in zend_traits_init_trait_structures()
1338 zend_string* class_name = cur_precedence->exclude_from_classes[j].class_name; in zend_traits_init_trait_structures() local
1340 …if (!(cur_precedence->exclude_from_classes[j].ce = zend_fetch_class(class_name, ZEND_FETCH_CLASS_T… in zend_traits_init_trait_structures()
1341 zend_error_noreturn(E_COMPILE_ERROR, "Could not find trait %s", ZSTR_VAL(class_name)); in zend_traits_init_trait_structures()
1356 zend_string_release(class_name); in zend_traits_init_trait_structures()
1369 if (ce->trait_aliases[i]->trait_method->class_name) { in zend_traits_init_trait_structures()
1371 …if (!(cur_method_ref->ce = zend_fetch_class(cur_method_ref->class_name, ZEND_FETCH_CLASS_TRAIT|ZEN… in zend_traits_init_trait_structures()
1372 …d_error_noreturn(E_COMPILE_ERROR, "Could not find trait %s", ZSTR_VAL(cur_method_ref->class_name)); in zend_traits_init_trait_structures()