Home
last modified time | relevance | path

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

/PHP-7.3/Zend/
H A Dzend_highlight.c62 if (LANG_SCNG(output_filter)) { in zend_html_puts()
63 LANG_SCNG(output_filter)(&filtered, &filtered_len, ptr, len); in zend_html_puts()
78 if (LANG_SCNG(output_filter)) { in zend_html_puts()
122 zend_html_puts((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); /* no color needed */ in zend_highlight()
145 zend_html_puts((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); in zend_highlight()
194 zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); in zend_strip()
197 zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); in zend_strip()
205 zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); in zend_strip()
H A Dzend_globals_macros.h50 # define LANG_SCNG(v) ZEND_TSRMG(language_scanner_globals_id, zend_php_scanner_globals *, v) macro
53 # define LANG_SCNG(v) (language_scanner_globals.v) macro
H A Dzend_language_scanner.l87 #define SCNG LANG_SCNG
388 if ((pos1 = memchr(LANG_SCNG(script_org), 0, LANG_SCNG(script_org_size)))) { in zend_multibyte_detect_unicode()
390 pos2 = LANG_SCNG(script_org); in zend_multibyte_detect_unicode()
428 return zend_multibyte_detect_utf_encoding(LANG_SCNG(script_org), LANG_SCNG(script_org_size)); in zend_multibyte_detect_unicode()
471 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
472 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
480 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
481 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
488 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
490 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
[all …]
H A Dzend_language_scanner.c90 #define SCNG LANG_SCNG
391 if ((pos1 = memchr(LANG_SCNG(script_org), 0, LANG_SCNG(script_org_size)))) { in zend_multibyte_detect_unicode()
393 pos2 = LANG_SCNG(script_org); in zend_multibyte_detect_unicode()
431 return zend_multibyte_detect_utf_encoding(LANG_SCNG(script_org), LANG_SCNG(script_org_size)); in zend_multibyte_detect_unicode()
474 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
475 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
483 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
484 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
491 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
493 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
[all …]
H A Dzend_multibyte.c170 return LANG_SCNG(script_encoding); in zend_multibyte_get_script_encoding()
H A Dzend_language_parser.y1313 if (LANG_SCNG(yy_text)[0] == 0 &&
1314 LANG_SCNG(yy_leng) == 1 &&
1322 str = LANG_SCNG(yy_text);
1323 end = memchr(str, '\n', LANG_SCNG(yy_leng));
1335 len = LANG_SCNG(yy_leng) > 30 ? 30 : LANG_SCNG(yy_leng);
H A Dzend_compile.c620 if (LANG_SCNG(on_event)) { in zend_stop_lexing()
621 LANG_SCNG(on_event)(ON_STOP, END, 0, LANG_SCNG(on_event_context)); in zend_stop_lexing()
624 LANG_SCNG(yy_cursor) = LANG_SCNG(yy_limit); in zend_stop_lexing()
5324 old_input_filter = LANG_SCNG(input_filter); in zend_handle_encoding_declaration()
5325 old_encoding = LANG_SCNG(script_encoding); in zend_handle_encoding_declaration()
5329 if (old_input_filter != LANG_SCNG(input_filter) || in zend_handle_encoding_declaration()
H A Dzend_ast.c117 ast->lex_pos = LANG_SCNG(yy_text); in zend_ast_create_decl()
/PHP-7.3/ext/tokenizer/
H A Dtokenizer.c34 #define zendtext LANG_SCNG(yy_text)
35 #define zendleng LANG_SCNG(yy_leng)
36 #define zendcursor LANG_SCNG(yy_cursor)
37 #define zendlimit LANG_SCNG(yy_limit)
142 LANG_SCNG(yy_state) = yycINITIAL; in tokenize()
200 add_token(token_stream, token, LANG_SCNG(yy_text), LANG_SCNG(yy_leng), line); in on_event()
211 if (LANG_SCNG(yy_cursor) != LANG_SCNG(yy_limit)) { in on_event()
213 LANG_SCNG(yy_limit) - LANG_SCNG(yy_cursor), CG(zend_lineno)); in on_event()
238 LANG_SCNG(yy_state) = yycINITIAL; in tokenize_parse()
239 LANG_SCNG(on_event) = on_event; in tokenize_parse()
[all …]

Completed in 70 milliseconds