Lines Matching refs:active_class_entry

322 	CG(active_class_entry) = NULL;  in zend_init_compiler_data_structures()
1435 if (!CG(active_class_entry)) { in zend_is_scope_known()
1442 return (CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT) == 0; in zend_is_scope_known()
1448 if (!CG(active_class_entry)) { in class_name_refers_to_active_ce()
1455 && zend_string_equals_ci(class_name, CG(active_class_entry)->name); in class_name_refers_to_active_ce()
1486 if (fetch_type != ZEND_FETCH_CLASS_DEFAULT && !CG(active_class_entry) && zend_is_scope_known()) { in zend_ensure_valid_class_fetch_type()
1523 if (CG(active_class_entry) && zend_is_scope_known()) { in zend_try_compile_const_expr_resolve_class_name()
1524 ZVAL_STR_COPY(zv, CG(active_class_entry)->name); in zend_try_compile_const_expr_resolve_class_name()
1555 cc = zend_hash_find_ptr(&CG(active_class_entry)->constants_table, name); in zend_try_ct_eval_class_const()
1571 if (!cc || !zend_verify_const_access(cc, CG(active_class_entry))) { in zend_try_ct_eval_class_const()
4057 CG(active_class_entry) && zend_is_scope_known()) { in zend_compile_method_call()
4059 fbc = zend_hash_find_ptr(&CG(active_class_entry)->function_table, lcname); in zend_compile_method_call()
4127 if (!ce && CG(active_class_entry) in zend_compile_static_call()
4128 && zend_string_equals_ci(CG(active_class_entry)->name, lcname)) { in zend_compile_static_call()
4129 ce = CG(active_class_entry); in zend_compile_static_call()
4134 ce = CG(active_class_entry); in zend_compile_static_call()
4140 if (ce != CG(active_class_entry) in zend_compile_static_call()
4142 || !zend_check_protected(zend_get_function_root_class(fbc), CG(active_class_entry)))) { in zend_compile_static_call()
5711 zend_class_entry *ce = CG(active_class_entry); in zend_begin_method_decl()
5994 CG(active_class_entry), (zend_function *) op_array, E_COMPILE_ERROR); in zend_compile_func_decl()
6017 zend_class_entry *ce = CG(active_class_entry); in zend_compile_prop_decl()
6068 zend_class_entry *ce = CG(active_class_entry); in zend_compile_class_const_decl()
6149 zend_add_to_list(&CG(active_class_entry)->trait_precedences, precedence); in zend_compile_trait_precedence()
6179 zend_add_to_list(&CG(active_class_entry)->trait_aliases, alias); in zend_compile_trait_alias()
6187 zend_class_entry *ce = CG(active_class_entry); in zend_compile_use_trait()
6258 CG(active_class_entry)->num_interfaces++; in zend_compile_implements()
6288 zend_class_entry *original_ce = CG(active_class_entry); in zend_compile_class_decl()
6294 if (CG(active_class_entry)) { in zend_compile_class_decl()
6414 CG(active_class_entry) = ce; in zend_compile_class_decl()
6495 CG(active_class_entry) = original_ce; in zend_compile_class_decl()
6794 zend_class_entry *ce = CG(active_class_entry); in zend_try_ct_eval_magic_const()
7783 if (CG(active_class_entry) && zend_is_scope_known()) { in zend_compile_resolve_class_name()
7785 ZVAL_STR_COPY(&result->u.constant, CG(active_class_entry)->name); in zend_compile_resolve_class_name()
7949 CG(active_class_entry) && in zend_compile_magic_const()
7950 (CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT) != 0); in zend_compile_magic_const()