Home
last modified time | relevance | path

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

/PHP-7.0/Zend/
H A Dzend_highlight.c64 if (LANG_SCNG(output_filter)) { in zend_html_puts()
65 LANG_SCNG(output_filter)(&filtered, &filtered_len, ptr, len); in zend_html_puts()
80 if (LANG_SCNG(output_filter)) { in zend_html_puts()
125 zend_html_puts((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); /* no color needed */ in zend_highlight()
148 zend_html_puts((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); in zend_highlight()
198 zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); in zend_strip()
201 zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); in zend_strip()
209 zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); in zend_strip()
H A Dzend_language_scanner.l89 #define SCNG LANG_SCNG
375 LANG_SCNG(script_org) += bom_size; in zend_multibyte_detect_unicode()
382 if ((pos1 = memchr(LANG_SCNG(script_org), 0, LANG_SCNG(script_org_size)))) { in zend_multibyte_detect_unicode()
384 pos2 = LANG_SCNG(script_org); in zend_multibyte_detect_unicode()
422 return zend_multibyte_detect_utf_encoding(LANG_SCNG(script_org), LANG_SCNG(script_org_size)); in zend_multibyte_detect_unicode()
465 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
466 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
474 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
475 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
482 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
[all …]
H A Dzend_globals_macros.h52 # define LANG_SCNG(v) ZEND_TSRMG(language_scanner_globals_id, zend_php_scanner_globals *, v) macro
55 # define LANG_SCNG(v) (language_scanner_globals.v) macro
H A Dzend_language_scanner.c91 #define SCNG LANG_SCNG
377 LANG_SCNG(script_org) += bom_size; in zend_multibyte_detect_unicode()
384 if ((pos1 = memchr(LANG_SCNG(script_org), 0, LANG_SCNG(script_org_size)))) { in zend_multibyte_detect_unicode()
386 pos2 = LANG_SCNG(script_org); in zend_multibyte_detect_unicode()
424 return zend_multibyte_detect_utf_encoding(LANG_SCNG(script_org), LANG_SCNG(script_org_size)); in zend_multibyte_detect_unicode()
467 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
468 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
476 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
477 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
484 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
[all …]
H A Dzend_language_parser.y1299 if (LANG_SCNG(yy_text)[0] == 0 &&
1300 LANG_SCNG(yy_leng) == 1 &&
1308 str = LANG_SCNG(yy_text);
1309 end = memchr(str, '\n', LANG_SCNG(yy_leng));
1321 len = LANG_SCNG(yy_leng) > 30 ? 30 : LANG_SCNG(yy_leng);
H A Dzend_multibyte.c165 return LANG_SCNG(script_encoding); in zend_multibyte_get_script_encoding()
H A Dzend_compile.c568 if(LANG_SCNG(on_event)) LANG_SCNG(on_event)(ON_STOP, END, 0); in zend_stop_lexing()
570 LANG_SCNG(yy_cursor) = LANG_SCNG(yy_limit); in zend_stop_lexing()
1600 if (LANG_SCNG(yy_text)[LANG_SCNG(yy_leng)-1] != '>') { in zendlex()
4317 old_input_filter = LANG_SCNG(input_filter); in zend_handle_encoding_declaration()
4318 old_encoding = LANG_SCNG(script_encoding); in zend_handle_encoding_declaration()
4322 if (old_input_filter != LANG_SCNG(input_filter) || in zend_handle_encoding_declaration()
H A Dzend_ast.c87 ast->lex_pos = LANG_SCNG(yy_text); in zend_ast_create_decl()
/PHP-7.0/ext/tokenizer/
H A Dtokenizer.c36 #define zendtext LANG_SCNG(yy_text)
37 #define zendleng LANG_SCNG(yy_leng)
38 #define zendcursor LANG_SCNG(yy_cursor)
39 #define zendlimit LANG_SCNG(yy_limit)
127 LANG_SCNG(yy_state) = yycINITIAL; in tokenize()
200 add_next_index_stringl(&keyword, (char *)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); in on_event()
204 add_next_index_stringl(&token_stream, (char *)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); in on_event()
215 if (LANG_SCNG(yy_cursor) != LANG_SCNG(yy_limit)) { in on_event()
219 (char *)LANG_SCNG(yy_cursor), LANG_SCNG(yy_limit) - LANG_SCNG(yy_cursor)); in on_event()
243 LANG_SCNG(yy_state) = yycINITIAL; in tokenize_parse()
[all …]

Completed in 57 milliseconds