Lines Matching refs:FC

53 #define FC(member) (CG(file_context).member)  macro
269 if (FC(imports)) { in zend_reset_import_tables()
270 zend_hash_destroy(FC(imports)); in zend_reset_import_tables()
271 efree(FC(imports)); in zend_reset_import_tables()
272 FC(imports) = NULL; in zend_reset_import_tables()
275 if (FC(imports_function)) { in zend_reset_import_tables()
276 zend_hash_destroy(FC(imports_function)); in zend_reset_import_tables()
277 efree(FC(imports_function)); in zend_reset_import_tables()
278 FC(imports_function) = NULL; in zend_reset_import_tables()
281 if (FC(imports_const)) { in zend_reset_import_tables()
282 zend_hash_destroy(FC(imports_const)); in zend_reset_import_tables()
283 efree(FC(imports_const)); in zend_reset_import_tables()
284 FC(imports_const) = NULL; in zend_reset_import_tables()
290 FC(in_namespace) = 0; in zend_end_namespace()
292 if (FC(current_namespace)) { in zend_end_namespace()
293 zend_string_release_ex(FC(current_namespace), 0); in zend_end_namespace()
294 FC(current_namespace) = NULL; in zend_end_namespace()
302 FC(imports) = NULL; in zend_file_context_begin()
303 FC(imports_function) = NULL; in zend_file_context_begin()
304 FC(imports_const) = NULL; in zend_file_context_begin()
305 FC(current_namespace) = NULL; in zend_file_context_begin()
306 FC(in_namespace) = 0; in zend_file_context_begin()
307 FC(has_bracketed_namespaces) = 0; in zend_file_context_begin()
308 FC(declarables).ticks = 0; in zend_file_context_begin()
309 zend_hash_init(&FC(seen_symbols), 8, NULL, NULL, 0); in zend_file_context_begin()
316 zend_hash_destroy(&FC(seen_symbols)); in zend_file_context_end()
336 zval *zv = zend_hash_find(&FC(seen_symbols), name); in zend_register_seen_symbol()
342 zend_hash_add_new(&FC(seen_symbols), name, &tmp); in zend_register_seen_symbol()
347 zval *zv = zend_hash_find(&FC(seen_symbols), name); in zend_have_seen_symbol()
806 if (FC(current_namespace)) { in zend_prefix_with_ns()
807 zend_string *ns = FC(current_namespace); in zend_prefix_with_ns()
870 if (compound && FC(imports)) { in zend_resolve_non_class_name()
873 zend_string *import_name = zend_hash_find_ptr_lc(FC(imports), ZSTR_VAL(name), len); in zend_resolve_non_class_name()
888 name, type, is_fully_qualified, 0, FC(imports_function)); in zend_resolve_function_name()
894 name, type, is_fully_qualified, 1, FC(imports_const)); in zend_resolve_const_name()
920 if (FC(imports)) { in zend_resolve_class_name()
926 zend_hash_find_ptr_lc(FC(imports), ZSTR_VAL(name), len); in zend_resolve_class_name()
935 = zend_hash_find_ptr_lc(FC(imports), ZSTR_VAL(name), ZSTR_LEN(name)); in zend_resolve_class_name()
1758 if (FC(has_bracketed_namespaces) && !FC(in_namespace)) { in zend_verify_namespace()
1931 opline->extended_value = FC(declarables).ticks; in zend_emit_tick()
3164 return !is_fully_qualified && FC(current_namespace); in zend_compile_function_name()
5204 zend_declarables orig_declarables = FC(declarables); in zend_compile_declare()
5220 FC(declarables).ticks = zval_get_long(&value_zv); in zend_compile_declare()
5259 FC(declarables) = orig_declarables; in zend_compile_declare()
5917 if (FC(imports_function)) { in zend_begin_func_decl()
5919 FC(imports_function), ZSTR_VAL(unqualified_name), ZSTR_LEN(unqualified_name)); in zend_begin_func_decl()
6410 if (FC(imports)) { in zend_compile_class_decl()
6412 FC(imports), ZSTR_VAL(unqualified_name), ZSTR_LEN(unqualified_name)); in zend_compile_class_decl()
6622 if (!FC(imports)) { in zend_get_import_ht()
6623 FC(imports) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
6624 zend_hash_init(FC(imports), 8, NULL, str_dtor, 0); in zend_get_import_ht()
6626 return FC(imports); in zend_get_import_ht()
6628 if (!FC(imports_function)) { in zend_get_import_ht()
6629 FC(imports_function) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
6630 zend_hash_init(FC(imports_function), 8, NULL, str_dtor, 0); in zend_get_import_ht()
6632 return FC(imports_function); in zend_get_import_ht()
6634 if (!FC(imports_const)) { in zend_get_import_ht()
6635 FC(imports_const) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
6636 zend_hash_init(FC(imports_const), 8, NULL, str_dtor, 0); in zend_get_import_ht()
6638 return FC(imports_const); in zend_get_import_ht()
6677 zend_string *current_ns = FC(current_namespace); in zend_compile_use()
6798 if (FC(imports_const)) { in zend_compile_const_decl()
6799 zend_string *import_name = zend_hash_find_ptr(FC(imports_const), unqualified_name); in zend_compile_const_decl()
6824 if (!FC(has_bracketed_namespaces)) { in zend_compile_namespace()
6825 if (FC(current_namespace)) { in zend_compile_namespace()
6837 } else if (FC(current_namespace) || FC(in_namespace)) { in zend_compile_namespace()
6842 if (((!with_bracket && !FC(current_namespace)) in zend_compile_namespace()
6843 || (with_bracket && !FC(has_bracketed_namespaces))) && CG(active_op_array)->last > 0 in zend_compile_namespace()
6858 if (FC(current_namespace)) { in zend_compile_namespace()
6859 zend_string_release_ex(FC(current_namespace), 0); in zend_compile_namespace()
6869 FC(current_namespace) = zend_string_copy(name); in zend_compile_namespace()
6871 FC(current_namespace) = NULL; in zend_compile_namespace()
6876 FC(in_namespace) = 1; in zend_compile_namespace()
6878 FC(has_bracketed_namespaces) = 1; in zend_compile_namespace()
6896 if (FC(has_bracketed_namespaces) && FC(in_namespace)) { in zend_compile_halt_compiler()
6990 if (FC(current_namespace)) { in zend_try_ct_eval_magic_const()
6991 ZVAL_STR_COPY(zv, FC(current_namespace)); in zend_try_ct_eval_magic_const()
8040 if (FC(current_namespace)) { in zend_compile_const()
8585 if (FC(declarables).ticks && !zend_is_unticked_stmt(ast)) { in zend_compile_stmt()