Home
last modified time | relevance | path

Searched refs:LANG_SCNG (Results 1 – 7 of 7) sorted by relevance

/php-src/Zend/
H A Dzend_highlight.c56 if (LANG_SCNG(output_filter)) { in zend_html_puts()
57 LANG_SCNG(output_filter)(&filtered, &filtered_len, ptr, len); in zend_html_puts()
72 if (LANG_SCNG(output_filter)) { in zend_html_puts()
116 zend_html_puts((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); /* no color needed */ in zend_highlight()
139 zend_html_puts((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); in zend_highlight()
187 zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); in zend_strip()
190 zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); in zend_strip()
198 zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); in zend_strip()
H A Dzend_globals_macros.h52 # define LANG_SCNG(v) ZEND_TSRMG_FAST(language_scanner_globals_offset, zend_php_scanner_globals *, … macro
56 # define LANG_SCNG(v) (language_scanner_globals.v) macro
H A Dzend_language_scanner.l84 #define SCNG LANG_SCNG
412 if ((pos1 = memchr(LANG_SCNG(script_org), 0, LANG_SCNG(script_org_size)))) { in zend_multibyte_detect_unicode()
414 pos2 = LANG_SCNG(script_org); in zend_multibyte_detect_unicode()
452 return zend_multibyte_detect_utf_encoding(LANG_SCNG(script_org), LANG_SCNG(script_org_size)); in zend_multibyte_detect_unicode()
495 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
496 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
504 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
512 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
514 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
676 LANG_SCNG(yy_state) = yycINITIAL; in zend_compile_string_to_ast()
[all …]
H A Dzend_multibyte.c170 return LANG_SCNG(script_encoding); in zend_multibyte_get_script_encoding()
H A Dzend_language_parser.y1366 %empty { $$ = LANG_SCNG(yy_text); }
1704 if (LANG_SCNG(yy_text)[0] == 0 &&
1705 LANG_SCNG(yy_leng) == 1 &&
1756 tokcontent = LANG_SCNG(yy_text);
1757 tokcontent_len = LANG_SCNG(yy_leng);
H A Dzend_compile.c700 if (LANG_SCNG(on_event)) { in zend_stop_lexing()
701 LANG_SCNG(on_event)(ON_STOP, END, 0, NULL, 0, LANG_SCNG(on_event_context)); in zend_stop_lexing()
704 LANG_SCNG(yy_cursor) = LANG_SCNG(yy_limit); in zend_stop_lexing()
6809 old_input_filter = LANG_SCNG(input_filter); in zend_handle_encoding_declaration()
6810 old_encoding = LANG_SCNG(script_encoding); in zend_handle_encoding_declaration()
6814 if (old_input_filter != LANG_SCNG(input_filter) || in zend_handle_encoding_declaration()
/php-src/ext/tokenizer/
H A Dtokenizer.c35 #define zendtext LANG_SCNG(yy_text)
36 #define zendleng LANG_SCNG(yy_leng)
37 #define zendcursor LANG_SCNG(yy_cursor)
38 #define zendlimit LANG_SCNG(yy_limit)
292 ZVAL_LONG(OBJ_PROP_NUM(obj, 3), text - LANG_SCNG(yy_start)); in add_token()
336 LANG_SCNG(yy_state) = yycINITIAL; in tokenize()
444 if (LANG_SCNG(yy_cursor) != LANG_SCNG(yy_limit)) { in on_event()
446 LANG_SCNG(yy_limit) - LANG_SCNG(yy_cursor), CG(zend_lineno), in on_event()
477 LANG_SCNG(yy_state) = yycINITIAL; in tokenize_parse()
478 LANG_SCNG(on_event) = on_event; in tokenize_parse()
[all …]

Completed in 74 milliseconds