Home
last modified time | relevance | path

Searched refs:syntax_highlighter_ini (Results 1 – 8 of 8) sorted by relevance

/php-src/Zend/
H A Dzend_highlight.c78 ZEND_API void zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini) in zend_highlight() argument
82 char *last_color = syntax_highlighter_ini->highlight_html; in zend_highlight()
90 next_color = syntax_highlighter_ini->highlight_html; in zend_highlight()
94 next_color = syntax_highlighter_ini->highlight_comment; in zend_highlight()
108 next_color = syntax_highlighter_ini->highlight_default; in zend_highlight()
113 next_color = syntax_highlighter_ini->highlight_string; in zend_highlight()
122 next_color = syntax_highlighter_ini->highlight_keyword; in zend_highlight()
124 next_color = syntax_highlighter_ini->highlight_default; in zend_highlight()
130 if (last_color != syntax_highlighter_ini->highlight_html) { in zend_highlight()
134 if (last_color != syntax_highlighter_ini->highlight_html) { in zend_highlight()
[all …]
H A Dzend_highlight.h42 ZEND_API void zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini);
44 …d_result highlight_file(const char *filename, zend_syntax_highlighter_ini *syntax_highlighter_ini);
45 … highlight_string(zend_string *str, zend_syntax_highlighter_ini *syntax_highlighter_ini, const cha…
50 extern zend_syntax_highlighter_ini syntax_highlighter_ini;
H A Dzend_language_scanner.l823 …nd_result highlight_file(const char *filename, zend_syntax_highlighter_ini *syntax_highlighter_ini) in highlight_file() argument
836 zend_highlight(syntax_highlighter_ini); in highlight_file()
846 void highlight_string(zend_string *str, zend_syntax_highlighter_ini *syntax_highlighter_ini, const … in highlight_string() argument
856 zend_highlight(syntax_highlighter_ini); in highlight_string()
/php-src/ext/standard/
H A Dbasic_functions.h43 ZEND_API void php_get_highlight_struct(zend_syntax_highlighter_ini *syntax_highlighter_ini);
H A Dbasic_functions.c1758 syntax_highlighter_ini->highlight_comment = INI_STR("highlight.comment");
1759 syntax_highlighter_ini->highlight_default = INI_STR("highlight.default");
1760 syntax_highlighter_ini->highlight_html = INI_STR("highlight.html");
1761 syntax_highlighter_ini->highlight_keyword = INI_STR("highlight.keyword");
1762 syntax_highlighter_ini->highlight_string = INI_STR("highlight.string");
1772 zend_syntax_highlighter_ini syntax_highlighter_ini; local
1789 php_get_highlight_struct(&syntax_highlighter_ini);
1791 ret = highlight_file(filename, &syntax_highlighter_ini);
1846 zend_syntax_highlighter_ini syntax_highlighter_ini; local
1863 php_get_highlight_struct(&syntax_highlighter_ini);
[all …]
/php-src/sapi/litespeed/
H A Dlsapi_main.c761 zend_syntax_highlighter_ini syntax_highlighter_ini; in lsapi_module_main() local
763 php_get_highlight_struct(&syntax_highlighter_ini); in lsapi_module_main()
764 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini); in lsapi_module_main()
1321 zend_syntax_highlighter_ini syntax_highlighter_ini; in cli_main() local
1323 php_get_highlight_struct(&syntax_highlighter_ini); in cli_main()
1324 … highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini); in cli_main()
/php-src/sapi/apache2handler/
H A Dsapi_apache2.c708 zend_syntax_highlighter_ini syntax_highlighter_ini; in php_handler() local
709 php_get_highlight_struct(&syntax_highlighter_ini); in php_handler()
710 highlight_file((char *)r->filename, &syntax_highlighter_ini); in php_handler()
/php-src/ext/phar/
H A Dphar_object.c147 zend_syntax_highlighter_ini syntax_highlighter_ini; in phar_file_action() local
167 php_get_highlight_struct(&syntax_highlighter_ini); in phar_file_action()
169 highlight_file(name, &syntax_highlighter_ini); in phar_file_action()

Completed in 33 milliseconds