Lines Matching refs:FC

55 #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()
859 if (FC(current_namespace)) { in zend_prefix_with_ns()
860 zend_string *ns = FC(current_namespace); in zend_prefix_with_ns()
910 if (compound && FC(imports)) { in zend_resolve_non_class_name()
913 zend_string *import_name = zend_hash_str_find_ptr_lc(FC(imports), ZSTR_VAL(name), len); in zend_resolve_non_class_name()
928 name, type, is_fully_qualified, 0, FC(imports_function)); in zend_resolve_function_name()
934 name, type, is_fully_qualified, 1, FC(imports_const)); in zend_resolve_const_name()
972 if (FC(imports)) { in zend_resolve_class_name()
978 zend_hash_str_find_ptr_lc(FC(imports), ZSTR_VAL(name), len); in zend_resolve_class_name()
987 = zend_hash_find_ptr_lc(FC(imports), name); in zend_resolve_class_name()
1992 if (FC(has_bracketed_namespaces) && !FC(in_namespace)) { in zend_verify_namespace()
2165 opline->extended_value = FC(declarables).ticks; in zend_emit_tick()
3776 return !is_fully_qualified && FC(current_namespace); in zend_compile_function_name()
6152 zend_declarables orig_declarables = FC(declarables); in zend_compile_declare()
6168 FC(declarables).ticks = zval_get_long(&value_zv); in zend_compile_declare()
6207 FC(declarables) = orig_declarables; in zend_compile_declare()
6283 FC(current_namespace) ? " or import the class with \"use\"" : ""; in zend_compile_single_typename()
7195 if (FC(imports_function)) { in zend_begin_func_decl()
7197 zend_hash_find_ptr_lc(FC(imports_function), unqualified_name); in zend_begin_func_decl()
7740 if (FC(imports)) { in zend_compile_class_decl()
7742 zend_hash_find_ptr_lc(FC(imports), unqualified_name); in zend_compile_class_decl()
8012 if (!FC(imports)) { in zend_get_import_ht()
8013 FC(imports) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
8014 zend_hash_init(FC(imports), 8, NULL, str_dtor, 0); in zend_get_import_ht()
8016 return FC(imports); in zend_get_import_ht()
8018 if (!FC(imports_function)) { in zend_get_import_ht()
8019 FC(imports_function) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
8020 zend_hash_init(FC(imports_function), 8, NULL, str_dtor, 0); in zend_get_import_ht()
8022 return FC(imports_function); in zend_get_import_ht()
8024 if (!FC(imports_const)) { in zend_get_import_ht()
8025 FC(imports_const) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
8026 zend_hash_init(FC(imports_const), 8, NULL, str_dtor, 0); in zend_get_import_ht()
8028 return FC(imports_const); in zend_get_import_ht()
8067 zend_string *current_ns = FC(current_namespace); in zend_compile_use()
8181 if (FC(imports_const)) { in zend_compile_const_decl()
8182 zend_string *import_name = zend_hash_find_ptr(FC(imports_const), unqualified_name); in zend_compile_const_decl()
8207 if (!FC(has_bracketed_namespaces)) { in zend_compile_namespace()
8208 if (FC(current_namespace)) { in zend_compile_namespace()
8220 } else if (FC(current_namespace) || FC(in_namespace)) { in zend_compile_namespace()
8225 bool is_first_namespace = (!with_bracket && !FC(current_namespace)) in zend_compile_namespace()
8226 || (with_bracket && !FC(has_bracketed_namespaces)); in zend_compile_namespace()
8232 if (FC(current_namespace)) { in zend_compile_namespace()
8233 zend_string_release_ex(FC(current_namespace), 0); in zend_compile_namespace()
8243 FC(current_namespace) = zend_string_copy(name); in zend_compile_namespace()
8245 FC(current_namespace) = NULL; in zend_compile_namespace()
8250 FC(in_namespace) = 1; in zend_compile_namespace()
8252 FC(has_bracketed_namespaces) = 1; in zend_compile_namespace()
8270 if (FC(has_bracketed_namespaces) && FC(in_namespace)) { in zend_compile_halt_compiler()
8362 if (FC(current_namespace)) { in zend_try_ct_eval_magic_const()
8363 ZVAL_STR_COPY(zv, FC(current_namespace)); in zend_try_ct_eval_magic_const()
9512 if (is_fully_qualified || !FC(current_namespace)) { in zend_compile_const()
9860 !is_fully_qualified && FC(current_namespace) ? IS_CONSTANT_UNQUALIFIED_IN_NAMESPACE : 0); in zend_compile_const_expr_const()
10131 if (FC(declarables).ticks && !zend_is_unticked_stmt(ast)) { in zend_compile_stmt()