Lines Matching refs:FC
55 #define FC(member) (CG(file_context).member) macro
266 if (FC(imports)) { in zend_reset_import_tables()
267 zend_hash_destroy(FC(imports)); in zend_reset_import_tables()
268 efree(FC(imports)); in zend_reset_import_tables()
269 FC(imports) = NULL; in zend_reset_import_tables()
272 if (FC(imports_function)) { in zend_reset_import_tables()
273 zend_hash_destroy(FC(imports_function)); in zend_reset_import_tables()
274 efree(FC(imports_function)); in zend_reset_import_tables()
275 FC(imports_function) = NULL; in zend_reset_import_tables()
278 if (FC(imports_const)) { in zend_reset_import_tables()
279 zend_hash_destroy(FC(imports_const)); in zend_reset_import_tables()
280 efree(FC(imports_const)); in zend_reset_import_tables()
281 FC(imports_const) = NULL; in zend_reset_import_tables()
287 FC(in_namespace) = 0; in zend_end_namespace()
289 if (FC(current_namespace)) { in zend_end_namespace()
290 zend_string_release(FC(current_namespace)); in zend_end_namespace()
291 FC(current_namespace) = NULL; in zend_end_namespace()
299 FC(imports) = NULL; in zend_file_context_begin()
300 FC(imports_function) = NULL; in zend_file_context_begin()
301 FC(imports_const) = NULL; in zend_file_context_begin()
302 FC(current_namespace) = NULL; in zend_file_context_begin()
303 FC(in_namespace) = 0; in zend_file_context_begin()
304 FC(has_bracketed_namespaces) = 0; in zend_file_context_begin()
305 FC(declarables).ticks = 0; in zend_file_context_begin()
306 zend_hash_init(&FC(seen_symbols), 8, NULL, NULL, 0); in zend_file_context_begin()
313 zend_hash_destroy(&FC(seen_symbols)); in zend_file_context_end()
331 zval *zv = zend_hash_find(&FC(seen_symbols), name); in zend_register_seen_symbol()
337 zend_hash_add_new(&FC(seen_symbols), name, &tmp); in zend_register_seen_symbol()
342 zval *zv = zend_hash_find(&FC(seen_symbols), name); in zend_have_seen_symbol()
870 if (FC(current_namespace)) { in zend_prefix_with_ns()
871 zend_string *ns = FC(current_namespace); in zend_prefix_with_ns()
934 if (compound && FC(imports)) { in zend_resolve_non_class_name()
937 zend_string *import_name = zend_hash_find_ptr_lc(FC(imports), ZSTR_VAL(name), len); in zend_resolve_non_class_name()
952 name, type, is_fully_qualified, 0, FC(imports_function)); in zend_resolve_function_name()
958 name, type, is_fully_qualified, 1, FC(imports_const)); in zend_resolve_const_name()
984 if (FC(imports)) { in zend_resolve_class_name()
990 zend_hash_find_ptr_lc(FC(imports), ZSTR_VAL(name), len); in zend_resolve_class_name()
999 = zend_hash_find_ptr_lc(FC(imports), ZSTR_VAL(name), ZSTR_LEN(name)); in zend_resolve_class_name()
1881 if (FC(has_bracketed_namespaces) && !FC(in_namespace)) { in zend_verify_namespace()
2201 opline->extended_value = FC(declarables).ticks; in zend_emit_tick()
3315 return !is_fully_qualified && FC(current_namespace); in zend_compile_function_name()
5313 zend_declarables orig_declarables = FC(declarables); in zend_compile_declare()
5329 FC(declarables).ticks = zval_get_long(&value_zv); in zend_compile_declare()
5368 FC(declarables) = orig_declarables; in zend_compile_declare()
5889 if (FC(imports_function)) { in zend_begin_func_decl()
5891 FC(imports_function), ZSTR_VAL(unqualified_name), ZSTR_LEN(unqualified_name)); in zend_begin_func_decl()
6211 SET_NODE(opline->op1, &FC(implementing_class)); in zend_compile_use_trait()
6289 znode original_implementing_class = FC(implementing_class); in zend_compile_class_decl()
6303 if (FC(imports)) { in zend_compile_class_decl()
6305 FC(imports), ZSTR_VAL(unqualified_name), ZSTR_LEN(unqualified_name)); in zend_compile_class_decl()
6352 GET_NODE(&FC(implementing_class), opline->result); in zend_compile_class_decl()
6494 FC(implementing_class) = original_implementing_class; in zend_compile_class_decl()
6503 if (!FC(imports)) { in zend_get_import_ht()
6504 FC(imports) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
6505 zend_hash_init(FC(imports), 8, NULL, str_dtor, 0); in zend_get_import_ht()
6507 return FC(imports); in zend_get_import_ht()
6509 if (!FC(imports_function)) { in zend_get_import_ht()
6510 FC(imports_function) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
6511 zend_hash_init(FC(imports_function), 8, NULL, str_dtor, 0); in zend_get_import_ht()
6513 return FC(imports_function); in zend_get_import_ht()
6515 if (!FC(imports_const)) { in zend_get_import_ht()
6516 FC(imports_const) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
6517 zend_hash_init(FC(imports_const), 8, NULL, str_dtor, 0); in zend_get_import_ht()
6519 return FC(imports_const); in zend_get_import_ht()
6558 zend_string *current_ns = FC(current_namespace); in zend_compile_use()
6679 if (FC(imports_const)) { in zend_compile_const_decl()
6680 zend_string *import_name = zend_hash_find_ptr(FC(imports_const), unqualified_name); in zend_compile_const_decl()
6705 if (!FC(has_bracketed_namespaces)) { in zend_compile_namespace()
6706 if (FC(current_namespace)) { in zend_compile_namespace()
6718 } else if (FC(current_namespace) || FC(in_namespace)) { in zend_compile_namespace()
6723 if (((!with_bracket && !FC(current_namespace)) in zend_compile_namespace()
6724 || (with_bracket && !FC(has_bracketed_namespaces))) && CG(active_op_array)->last > 0 in zend_compile_namespace()
6739 if (FC(current_namespace)) { in zend_compile_namespace()
6740 zend_string_release(FC(current_namespace)); in zend_compile_namespace()
6750 FC(current_namespace) = zend_string_copy(name); in zend_compile_namespace()
6752 FC(current_namespace) = NULL; in zend_compile_namespace()
6757 FC(in_namespace) = 1; in zend_compile_namespace()
6759 FC(has_bracketed_namespaces) = 1; in zend_compile_namespace()
6777 if (FC(has_bracketed_namespaces) && FC(in_namespace)) { in zend_compile_halt_compiler()
6868 if (FC(current_namespace)) { in zend_try_ct_eval_magic_const()
6869 ZVAL_STR_COPY(zv, FC(current_namespace)); in zend_try_ct_eval_magic_const()
7706 if (FC(current_namespace)) { in zend_compile_const()
8247 if (FC(declarables).ticks && !zend_is_unticked_stmt(ast)) { in zend_compile_stmt()