Lines Matching refs:CG

105 			CG(zend_lineno)++;													\
114 CG(zend_lineno)++; \
182 CG(parse_error) = 0; in startup_scanner()
183 CG(doc_comment) = NULL; in startup_scanner()
184 CG(extra_fn_flags) = 0; in startup_scanner()
195 CG(parse_error) = 0; in shutdown_scanner()
221 lex_state->lineno = CG(zend_lineno); in zend_save_lexical_state()
234 lex_state->ast = CG(ast); in zend_save_lexical_state()
235 lex_state->ast_arena = CG(ast_arena); in zend_save_lexical_state()
256 CG(zend_lineno) = lex_state->lineno; in zend_restore_lexical_state()
274 CG(ast) = lex_state->ast; in zend_restore_lexical_state()
275 CG(ast_arena) = lex_state->ast_arena; in zend_restore_lexical_state()
282 …zend_llist_del_element(&CG(open_files), file_handle, (int (*)(void *, void *)) zend_compare_file_h… in zend_destroy_file_handle()
440 if (CG(detect_unicode)) { in zend_multibyte_find_script_encoding()
450 if (!CG(script_encoding_list) || !CG(script_encoding_list_size)) { in zend_multibyte_find_script_encoding()
455 if (CG(script_encoding_list_size) > 1) { in zend_multibyte_find_script_encoding()
456 …g_detector(LANG_SCNG(script_org), LANG_SCNG(script_org_size), CG(script_encoding_list), CG(script_… in zend_multibyte_find_script_encoding()
459 return CG(script_encoding_list)[0]; in zend_multibyte_find_script_encoding()
510 if (CG(start_lineno) == 2 && file_handle->type == ZEND_HANDLE_FP && file_handle->handle.fp) { in open_file_for_scanning()
520 zend_llist_add_element(&CG(open_files), file_handle); in open_file_for_scanning()
522 zend_file_handle *fh = (zend_file_handle*)zend_llist_get_last(&CG(open_files)); in open_file_for_scanning()
533 if (CG(multibyte)) { in open_file_for_scanning()
566 if (CG(start_lineno)) { in open_file_for_scanning()
567 CG(zend_lineno) = CG(start_lineno); in open_file_for_scanning()
568 CG(start_lineno) = 0; in open_file_for_scanning()
570 CG(zend_lineno) = 1; in open_file_for_scanning()
574 CG(increment_lineno) = 0; in open_file_for_scanning()
582 zend_bool original_in_compilation = CG(in_compilation); in END_EXTERN_C()
584 CG(in_compilation) = 1; in END_EXTERN_C()
585 CG(ast) = NULL; in END_EXTERN_C()
586 CG(ast_arena) = zend_arena_create(1024 * 32); in END_EXTERN_C()
589 int last_lineno = CG(zend_lineno); in END_EXTERN_C()
592 zend_op_array *original_active_op_array = CG(active_op_array); in END_EXTERN_C()
596 CG(active_op_array) = op_array; in END_EXTERN_C()
599 zend_ast_process(CG(ast)); in END_EXTERN_C()
604 zend_compile_top_stmt(CG(ast)); in END_EXTERN_C()
605 CG(zend_lineno) = last_lineno; in END_EXTERN_C()
613 CG(active_op_array) = original_active_op_array; in END_EXTERN_C()
616 zend_ast_destroy(CG(ast)); in END_EXTERN_C()
617 zend_arena_destroy(CG(ast_arena)); in END_EXTERN_C()
619 CG(in_compilation) = original_in_compilation; in END_EXTERN_C()
703 if (CG(multibyte)) { in zend_prepare_string_for_scanning()
725 CG(zend_lineno) = 1; in zend_prepare_string_for_scanning()
726 CG(increment_lineno) = 0; in zend_prepare_string_for_scanning()
1074 CG(zend_lineno)++; in zend_scan_escape_string()
1106 int start_line = CG(zend_lineno); in lex_scan()
1421 CG(zend_lineno)++; in lex_scan()
1523 CG(zend_lineno)++; in lex_scan()
2473 zend_error(E_COMPILE_WARNING, "Unterminated comment starting line %d", CG(zend_lineno)); in lex_scan()
2480 CG(doc_comment) = zend_string_init(yytext, yyleng, 0); in lex_scan()
2617 CG(increment_lineno) = 1; in lex_scan()
4484 CG(zend_lineno)++; in lex_scan()
6992 CG(increment_lineno) = 1; /* For newline before label */ in lex_scan()
7589 …if (CG(short_tags) || !strncasecmp((char*)YYCURSOR + 1, "php", 3) || (*(YYCURSOR + 1) == '=')) { /… in lex_scan()
7634 if (CG(short_tags)) { in lex_scan()
7764 CG(increment_lineno) = 1; /* For newline before label */ in lex_scan()