Lines Matching refs:FC

57 #define FC(member) (CG(file_context).member)  macro
304 return !FC(imports) || zend_hash_find_ptr_lc(FC(imports), name) == NULL; in zend_is_not_imported()
339 if (FC(imports)) { in zend_reset_import_tables()
340 zend_hash_destroy(FC(imports)); in zend_reset_import_tables()
341 efree(FC(imports)); in zend_reset_import_tables()
342 FC(imports) = NULL; in zend_reset_import_tables()
345 if (FC(imports_function)) { in zend_reset_import_tables()
346 zend_hash_destroy(FC(imports_function)); in zend_reset_import_tables()
347 efree(FC(imports_function)); in zend_reset_import_tables()
348 FC(imports_function) = NULL; in zend_reset_import_tables()
351 if (FC(imports_const)) { in zend_reset_import_tables()
352 zend_hash_destroy(FC(imports_const)); in zend_reset_import_tables()
353 efree(FC(imports_const)); in zend_reset_import_tables()
354 FC(imports_const) = NULL; in zend_reset_import_tables()
360 FC(in_namespace) = 0; in zend_end_namespace()
362 if (FC(current_namespace)) { in zend_end_namespace()
363 zend_string_release_ex(FC(current_namespace), 0); in zend_end_namespace()
364 FC(current_namespace) = NULL; in zend_end_namespace()
372 FC(imports) = NULL; in zend_file_context_begin()
373 FC(imports_function) = NULL; in zend_file_context_begin()
374 FC(imports_const) = NULL; in zend_file_context_begin()
375 FC(current_namespace) = NULL; in zend_file_context_begin()
376 FC(in_namespace) = 0; in zend_file_context_begin()
377 FC(has_bracketed_namespaces) = 0; in zend_file_context_begin()
378 FC(declarables).ticks = 0; in zend_file_context_begin()
379 zend_hash_init(&FC(seen_symbols), 8, NULL, NULL, 0); in zend_file_context_begin()
386 zend_hash_destroy(&FC(seen_symbols)); in zend_file_context_end()
407 zval *zv = zend_hash_find(&FC(seen_symbols), name); in zend_register_seen_symbol()
413 zend_hash_add_new(&FC(seen_symbols), name, &tmp); in zend_register_seen_symbol()
418 zval *zv = zend_hash_find(&FC(seen_symbols), name); in zend_have_seen_symbol()
991 if (FC(current_namespace)) { in zend_prefix_with_ns()
992 zend_string *ns = FC(current_namespace); in zend_prefix_with_ns()
1042 if (compound && FC(imports)) { in zend_resolve_non_class_name()
1045 zend_string *import_name = zend_hash_str_find_ptr_lc(FC(imports), ZSTR_VAL(name), len); in zend_resolve_non_class_name()
1060 name, type, is_fully_qualified, 0, FC(imports_function)); in zend_resolve_function_name()
1066 name, type, is_fully_qualified, 1, FC(imports_const)); in zend_resolve_const_name()
1104 if (FC(imports)) { in zend_resolve_class_name()
1110 zend_hash_str_find_ptr_lc(FC(imports), ZSTR_VAL(name), len); in zend_resolve_class_name()
1119 = zend_hash_find_ptr_lc(FC(imports), name); in zend_resolve_class_name()
2088 if (FC(has_bracketed_namespaces) && !FC(in_namespace)) { in zend_verify_namespace()
2261 opline->extended_value = FC(declarables).ticks; in zend_emit_tick()
3914 return !is_fully_qualified && FC(current_namespace); in zend_compile_function_name()
6340 zend_declarables orig_declarables = FC(declarables); in zend_compile_declare()
6356 FC(declarables).ticks = zval_get_long(&value_zv); in zend_compile_declare()
6395 FC(declarables) = orig_declarables; in zend_compile_declare()
6481 FC(current_namespace) ? " or import the class with \"use\"" : ""; in zend_compile_single_typename()
7524 if (FC(imports_function)) { in zend_begin_func_decl()
7526 zend_hash_find_ptr_lc(FC(imports_function), unqualified_name); in zend_begin_func_decl()
8090 if (FC(imports)) { in zend_compile_class_decl()
8092 zend_hash_find_ptr_lc(FC(imports), unqualified_name); in zend_compile_class_decl()
8323 if (!FC(imports)) { in zend_get_import_ht()
8324 FC(imports) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
8325 zend_hash_init(FC(imports), 8, NULL, str_dtor, 0); in zend_get_import_ht()
8327 return FC(imports); in zend_get_import_ht()
8329 if (!FC(imports_function)) { in zend_get_import_ht()
8330 FC(imports_function) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
8331 zend_hash_init(FC(imports_function), 8, NULL, str_dtor, 0); in zend_get_import_ht()
8333 return FC(imports_function); in zend_get_import_ht()
8335 if (!FC(imports_const)) { in zend_get_import_ht()
8336 FC(imports_const) = emalloc(sizeof(HashTable)); in zend_get_import_ht()
8337 zend_hash_init(FC(imports_const), 8, NULL, str_dtor, 0); in zend_get_import_ht()
8339 return FC(imports_const); in zend_get_import_ht()
8378 zend_string *current_ns = FC(current_namespace); in zend_compile_use()
8492 if (FC(imports_const)) { in zend_compile_const_decl()
8493 zend_string *import_name = zend_hash_find_ptr(FC(imports_const), unqualified_name); in zend_compile_const_decl()
8518 if (!FC(has_bracketed_namespaces)) { in zend_compile_namespace()
8519 if (FC(current_namespace)) { in zend_compile_namespace()
8531 } else if (FC(current_namespace) || FC(in_namespace)) { in zend_compile_namespace()
8536 bool is_first_namespace = (!with_bracket && !FC(current_namespace)) in zend_compile_namespace()
8537 || (with_bracket && !FC(has_bracketed_namespaces)); in zend_compile_namespace()
8543 if (FC(current_namespace)) { in zend_compile_namespace()
8544 zend_string_release_ex(FC(current_namespace), 0); in zend_compile_namespace()
8554 FC(current_namespace) = zend_string_copy(name); in zend_compile_namespace()
8556 FC(current_namespace) = NULL; in zend_compile_namespace()
8561 FC(in_namespace) = 1; in zend_compile_namespace()
8563 FC(has_bracketed_namespaces) = 1; in zend_compile_namespace()
8581 if (FC(has_bracketed_namespaces) && FC(in_namespace)) { in zend_compile_halt_compiler()
8673 if (FC(current_namespace)) { in zend_try_ct_eval_magic_const()
8674 ZVAL_STR_COPY(zv, FC(current_namespace)); in zend_try_ct_eval_magic_const()
9830 if (is_fully_qualified || !FC(current_namespace)) { in zend_compile_const()
10199 !is_fully_qualified && FC(current_namespace) ? IS_CONSTANT_UNQUALIFIED_IN_NAMESPACE : 0); in zend_compile_const_expr_const()
10470 if (FC(declarables).ticks && !zend_is_unticked_stmt(ast)) { in zend_compile_stmt()