Searched refs:syntax_highlighter_ini (Results 1 - 15 of 15) sorted by relevance

/PHP_5_6/Zend/
H A Dzend_highlight.h42 ZEND_API void zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini TSRMLS_DC);
44 ZEND_API int highlight_file(char *filename, zend_syntax_highlighter_ini *syntax_highlighter_ini TSRMLS_DC);
45 ZEND_API int highlight_string(zval *str, zend_syntax_highlighter_ini *syntax_highlighter_ini, char *str_name TSRMLS_DC);
50 extern zend_syntax_highlighter_ini syntax_highlighter_ini;
H A Dzend_language_scanner.l780 int highlight_file(char *filename, zend_syntax_highlighter_ini *syntax_highlighter_ini TSRMLS_DC)
795 zend_highlight(syntax_highlighter_ini TSRMLS_CC);
805 int highlight_string(zval *str, zend_syntax_highlighter_ini *syntax_highlighter_ini, char *str_name TSRMLS_DC)
818 zend_highlight(syntax_highlighter_ini TSRMLS_CC);
H A Dzend_language_scanner.c782 int highlight_file(char *filename, zend_syntax_highlighter_ini *syntax_highlighter_ini TSRMLS_DC)
797 zend_highlight(syntax_highlighter_ini TSRMLS_CC);
807 int highlight_string(zval *str, zend_syntax_highlighter_ini *syntax_highlighter_ini, char *str_name TSRMLS_DC) argument
820 zend_highlight(syntax_highlighter_ini TSRMLS_CC);
H A Dzend_highlight.c85 ZEND_API void zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini TSRMLS_DC)
89 char *last_color = syntax_highlighter_ini->highlight_html;
99 next_color = syntax_highlighter_ini->highlight_html;
103 next_color = syntax_highlighter_ini->highlight_comment;
107 next_color = syntax_highlighter_ini->highlight_default;
110 next_color = syntax_highlighter_ini->highlight_default;
115 next_color = syntax_highlighter_ini->highlight_string;
124 next_color = syntax_highlighter_ini->highlight_keyword;
126 next_color = syntax_highlighter_ini->highlight_default;
132 if (last_color != syntax_highlighter_ini
[all...]
/PHP_5_6/ext/standard/
H A Dbasic_functions.h93 ZEND_API void php_get_highlight_struct(zend_syntax_highlighter_ini *syntax_highlighter_ini);
H A Dbasic_functions.c5155 ZEND_API void php_get_highlight_struct(zend_syntax_highlighter_ini *syntax_highlighter_ini) /* {{{ */ argument
5157 syntax_highlighter_ini->highlight_comment = INI_STR("highlight.comment");
5158 syntax_highlighter_ini->highlight_default = INI_STR("highlight.default");
5159 syntax_highlighter_ini->highlight_html = INI_STR("highlight.html");
5160 syntax_highlighter_ini->highlight_keyword = INI_STR("highlight.keyword");
5161 syntax_highlighter_ini->highlight_string = INI_STR("highlight.string");
5171 zend_syntax_highlighter_ini syntax_highlighter_ini; local
5186 php_get_highlight_struct(&syntax_highlighter_ini);
5188 ret = highlight_file(filename, &syntax_highlighter_ini TSRMLS_CC);
5247 zend_syntax_highlighter_ini syntax_highlighter_ini; local
[all...]
/PHP_5_6/sapi/apache/
H A Dsapi_apache.c40 zend_syntax_highlighter_ini syntax_highlighter_ini; local
42 php_get_highlight_struct(&syntax_highlighter_ini);
43 if (highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC) != SUCCESS) {
/PHP_5_6/sapi/apache_hooks/
H A Dsapi_apache.c39 zend_syntax_highlighter_ini syntax_highlighter_ini; local
41 php_get_highlight_struct(&syntax_highlighter_ini);
42 if (highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC)){
/PHP_5_6/sapi/cli/
H A Dphp_cli.c1014 zend_syntax_highlighter_ini syntax_highlighter_ini; local
1017 php_get_highlight_struct(&syntax_highlighter_ini);
1018 zend_highlight(&syntax_highlighter_ini TSRMLS_CC);
/PHP_5_6/sapi/pi3web/
H A Dpi3web_sapi.c366 zend_syntax_highlighter_ini syntax_highlighter_ini; local
369 php_get_highlight_struct( &syntax_highlighter_ini );
370 zend_highlight( &syntax_highlighter_ini TSRMLS_CC );
/PHP_5_6/sapi/thttpd/
H A Dthttpd.c419 zend_syntax_highlighter_ini syntax_highlighter_ini; local
421 php_get_highlight_struct(&syntax_highlighter_ini);
422 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC);
/PHP_5_6/sapi/cgi/
H A Dcgi_main.c2478 zend_syntax_highlighter_ini syntax_highlighter_ini; local
2481 php_get_highlight_struct(&syntax_highlighter_ini);
2482 zend_highlight(&syntax_highlighter_ini TSRMLS_CC);
/PHP_5_6/sapi/apache2handler/
H A Dsapi_apache2.c655 zend_syntax_highlighter_ini syntax_highlighter_ini; local
656 php_get_highlight_struct(&syntax_highlighter_ini);
657 highlight_file((char *)r->filename, &syntax_highlighter_ini TSRMLS_CC);
/PHP_5_6/ext/phar/
H A Dphar_object.c169 zend_syntax_highlighter_ini syntax_highlighter_ini; local
188 php_get_highlight_struct(&syntax_highlighter_ini);
190 highlight_file(name, &syntax_highlighter_ini TSRMLS_CC);
/PHP_5_6/sapi/litespeed/
H A Dlsapi_main.c520 zend_syntax_highlighter_ini syntax_highlighter_ini; local
522 php_get_highlight_struct(&syntax_highlighter_ini);
523 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC);
788 zend_syntax_highlighter_ini syntax_highlighter_ini; local
790 php_get_highlight_struct(&syntax_highlighter_ini);
791 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC);

Completed in 106 milliseconds