Lines Matching refs:FC

54 #define FC(member) (CG(file_context).member)  macro
283 return !FC(imports) || zend_hash_find_ptr_lc(FC(imports), name) == NULL; in zend_is_not_imported()
318 if (FC(imports)) { in zend_reset_import_tables()
319 zend_hash_destroy(FC(imports)); in zend_reset_import_tables()
320 efree(FC(imports)); in zend_reset_import_tables()
321 FC(imports) = NULL; in zend_reset_import_tables()
324 if (FC(imports_function)) { in zend_reset_import_tables()
325 zend_hash_destroy(FC(imports_function)); in zend_reset_import_tables()
326 efree(FC(imports_function)); in zend_reset_import_tables()
327 FC(imports_function) = NULL; in zend_reset_import_tables()
330 if (FC(imports_const)) { in zend_reset_import_tables()
331 zend_hash_destroy(FC(imports_const)); in zend_reset_import_tables()
332 efree(FC(imports_const)); in zend_reset_import_tables()
333 FC(imports_const) = NULL; in zend_reset_import_tables()
339 FC(in_namespace) = 0; in zend_end_namespace()
341 if (FC(current_namespace)) { in zend_end_namespace()
342 zend_string_release_ex(FC(current_namespace), 0); in zend_end_namespace()
343 FC(current_namespace) = NULL; in zend_end_namespace()
351 FC(imports) = NULL; in zend_file_context_begin()
352 FC(imports_function) = NULL; in zend_file_context_begin()
353 FC(imports_const) = NULL; in zend_file_context_begin()
354 FC(current_namespace) = NULL; in zend_file_context_begin()
355 FC(in_namespace) = 0; in zend_file_context_begin()
356 FC(has_bracketed_namespaces) = 0; in zend_file_context_begin()
357 FC(declarables).ticks = 0; in zend_file_context_begin()
358 zend_hash_init(&FC(seen_symbols), 8, NULL, NULL, 0); in zend_file_context_begin()
365 zend_hash_destroy(&FC(seen_symbols)); in zend_file_context_end()
386 zval *zv = zend_hash_find(&FC(seen_symbols), name); in zend_register_seen_symbol()
392 zend_hash_add_new(&FC(seen_symbols), name, &tmp); in zend_register_seen_symbol()
397 zval *zv = zend_hash_find(&FC(seen_symbols), name); in zend_have_seen_symbol()
854 if (FC(current_namespace)) { in zend_prefix_with_ns()
855 zend_string *ns = FC(current_namespace); in zend_prefix_with_ns()
905 if (compound && FC(imports)) { in zend_resolve_non_class_name()
908 zend_string *import_name = zend_hash_str_find_ptr_lc(FC(imports), ZSTR_VAL(name), len); in zend_resolve_non_class_name()
923 name, type, is_fully_qualified, 0, FC(imports_function)); in zend_resolve_function_name()
929 name, type, is_fully_qualified, 1, FC(imports_const)); in zend_resolve_const_name()
955 if (FC(imports)) { in zend_resolve_class_name()
961 zend_hash_str_find_ptr_lc(FC(imports), ZSTR_VAL(name), len); in zend_resolve_class_name()
970 = zend_hash_find_ptr_lc(FC(imports), name); in zend_resolve_class_name()
1928 if (FC(has_bracketed_namespaces) && !FC(in_namespace)) { in zend_verify_namespace()
2101 opline->extended_value = FC(declarables).ticks; in zend_emit_tick()
3597 return !is_fully_qualified && FC(current_namespace); in zend_compile_function_name()
5934 zend_declarables orig_declarables = FC(declarables); in zend_compile_declare()
5950 FC(declarables).ticks = zval_get_long(&value_zv); in zend_compile_declare()
5989 FC(declarables) = orig_declarables; in zend_compile_declare()
6065 FC(current_namespace) ? " or import the class with \"use\"" : ""; in zend_compile_single_typename()
6847 if (FC(imports_function)) { in zend_begin_func_decl()
6849 zend_hash_find_ptr_lc(FC(imports_function), unqualified_name); in zend_begin_func_decl()
7346 if (FC(imports)) { in zend_compile_class_decl()
7348 zend_hash_find_ptr_lc(FC(imports), unqualified_name); in zend_compile_class_decl()
7503 if (!FC(imports)) { in zend_get_import_ht()
7504 FC(imports) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
7505 zend_hash_init(FC(imports), 8, NULL, str_dtor, 0); in zend_get_import_ht()
7507 return FC(imports); in zend_get_import_ht()
7509 if (!FC(imports_function)) { in zend_get_import_ht()
7510 FC(imports_function) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
7511 zend_hash_init(FC(imports_function), 8, NULL, str_dtor, 0); in zend_get_import_ht()
7513 return FC(imports_function); in zend_get_import_ht()
7515 if (!FC(imports_const)) { in zend_get_import_ht()
7516 FC(imports_const) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
7517 zend_hash_init(FC(imports_const), 8, NULL, str_dtor, 0); in zend_get_import_ht()
7519 return FC(imports_const); in zend_get_import_ht()
7558 zend_string *current_ns = FC(current_namespace); in zend_compile_use()
7672 if (FC(imports_const)) { in zend_compile_const_decl()
7673 zend_string *import_name = zend_hash_find_ptr(FC(imports_const), unqualified_name); in zend_compile_const_decl()
7698 if (!FC(has_bracketed_namespaces)) { in zend_compile_namespace()
7699 if (FC(current_namespace)) { in zend_compile_namespace()
7711 } else if (FC(current_namespace) || FC(in_namespace)) { in zend_compile_namespace()
7716 zend_bool is_first_namespace = (!with_bracket && !FC(current_namespace)) in zend_compile_namespace()
7717 || (with_bracket && !FC(has_bracketed_namespaces)); in zend_compile_namespace()
7723 if (FC(current_namespace)) { in zend_compile_namespace()
7724 zend_string_release_ex(FC(current_namespace), 0); in zend_compile_namespace()
7734 FC(current_namespace) = zend_string_copy(name); in zend_compile_namespace()
7736 FC(current_namespace) = NULL; in zend_compile_namespace()
7741 FC(in_namespace) = 1; in zend_compile_namespace()
7743 FC(has_bracketed_namespaces) = 1; in zend_compile_namespace()
7761 if (FC(has_bracketed_namespaces) && FC(in_namespace)) { in zend_compile_halt_compiler()
7853 if (FC(current_namespace)) { in zend_try_ct_eval_magic_const()
7854 ZVAL_STR_COPY(zv, FC(current_namespace)); in zend_try_ct_eval_magic_const()
8946 if (is_fully_qualified || !FC(current_namespace)) { in zend_compile_const()
9295 !is_fully_qualified && FC(current_namespace) ? IS_CONSTANT_UNQUALIFIED_IN_NAMESPACE : 0); in zend_compile_const_expr_const()
9497 if (FC(declarables).ticks && !zend_is_unticked_stmt(ast)) { in zend_compile_stmt()