Home
last modified time | relevance | path

Searched refs:server_context (Results 1 – 12 of 12) sorted by relevance

/PHP-7.1/sapi/apache2handler/
H A Dsapi_apache2.c78 ctx = SG(server_context); in ZEND_TSRMLS_CACHE_DEFINE()
94 ctx = SG(server_context); in php_apache_sapi_header_handler()
153 php_struct *ctx = SG(server_context); in php_apache_sapi_send_headers()
184 php_struct *ctx = SG(server_context); in php_apache_sapi_read_post()
215 php_struct *ctx = SG(server_context); in php_apache_sapi_get_stat()
245 php_struct *ctx = SG(server_context); in php_apache_sapi_read_cookies()
297 ctx = server_context; in php_apache_sapi_flush()
301 if (!server_context) { in php_apache_sapi_flush()
322 ctx = SG(server_context); in php_apache_sapi_log_message()
596 ctx = SG(server_context); in php_handler()
[all …]
H A Dphp_functions.c61 php_struct *ctx = SG(server_context); in php_apache_lookup_uri()
185 ctx = SG(server_context); in PHP_FUNCTION()
209 ctx = SG(server_context); in PHP_FUNCTION()
232 ctx = SG(server_context); in PHP_FUNCTION()
266 ctx = SG(server_context); in PHP_FUNCTION()
302 ctx = SG(server_context); in PHP_FUNCTION()
373 server_rec *serv = ((php_struct *) SG(server_context))->r->server; in PHP_MINFO_FUNCTION()
441 …const apr_array_header_t *arr = apr_table_elts(((php_struct *) SG(server_context))->r->subprocess_… in PHP_MINFO_FUNCTION()
459 php_info_print_table_row(2, "HTTP Request", ((php_struct *) SG(server_context))->r->the_request); in PHP_MINFO_FUNCTION()
461 arr = apr_table_elts(((php_struct *) SG(server_context))->r->headers_in); in PHP_MINFO_FUNCTION()
[all …]
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_main.c289 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_cgibin_single_write()
330 static void sapi_cgibin_flush(void *server_context) /* {{{ */ in sapi_cgibin_flush() argument
334 fcgi_request *request = (fcgi_request*) server_context; in sapi_cgibin_flush()
537 fcgi_request *request = (fcgi_request*) SG(server_context);
545 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_cgi_read_cookies()
586 request = (fcgi_request*) SG(server_context); in cgi_php_import_environment_variables()
1750 SG(server_context) = NULL;
1773 SG(server_context) = NULL;
1897 SG(server_context) = (void *) request;
1906 SG(server_context) = NULL;
[all …]
H A Dfpm_log.c235 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format)); in fpm_log_write()
/PHP-7.1/sapi/embed/
H A Dphp_embed.c86 static void php_embed_flush(void *server_context) in php_embed_flush() argument
93 static void php_embed_send_header(sapi_header_struct *sapi_header, void *server_context) in php_embed_send_header() argument
/PHP-7.1/main/
H A DSAPI.c423 if (SG(server_context)) { in sapi_activate_headers_only()
468 if (SG(server_context)) { in sapi_activate()
505 } else if (SG(server_context)) { in sapi_deactivate()
551 SG(server_context) = NULL; in sapi_initialize_empty_request()
910 sapi_module.send_header(&http_status_line, SG(server_context)); in sapi_send_headers()
912 …(sapi_headers).headers, (llist_apply_with_arg_func_t) sapi_module.send_header, SG(server_context)); in sapi_send_headers()
917 sapi_module.send_header(&default_header, SG(server_context)); in sapi_send_headers()
920 sapi_module.send_header(NULL, SG(server_context)); in sapi_send_headers()
1001 sapi_module.flush(SG(server_context)); in sapi_flush()
1088 if (sapi_module.get_request_time && SG(server_context)) { in sapi_get_request_time()
H A DSAPI.h121 void *server_context; member
230 void (*flush)(void *server_context);
238 void (*send_header)(sapi_header_struct *sapi_header, void *server_context);
/PHP-7.1/sapi/cgi/
H A Dcgi_main.c339 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_ub_write()
356 static void sapi_cgi_flush(void *server_context) in sapi_cgi_flush() argument
363 static void sapi_fcgi_flush(void *server_context) in sapi_fcgi_flush() argument
365 fcgi_request *request = (fcgi_request*) server_context; in sapi_fcgi_flush()
770 request = (fcgi_request*) SG(server_context); in sapi_cgi_log_message()
967 sapi_cgi_flush(SG(server_context));
2393 SG(server_context) = NULL;
2437 SG(server_context) = NULL;
2549 SG(server_context) = NULL;
2593 SG(server_context) = NULL;
[all …]
/PHP-7.1/sapi/cli/
H A Dphp_cli_server.c386 client = SG(server_context); in PHP_FUNCTION()
503 php_cli_server_client *client = SG(server_context); in sapi_cli_server_ub_write()
512 php_cli_server_client *client = server_context; in sapi_cli_server_flush()
536 php_cli_server_client *client = SG(server_context); in sapi_cli_server_send_headers()
573 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_cookies()
583 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_post()
2121 SG(server_context) = NULL; in php_cli_server_request_shutdown()
2172 SG(server_context) = client; in php_cli_server_dispatch()
2179 SG(server_context) = NULL; in php_cli_server_dispatch()
2218 SG(server_context) = NULL; in php_cli_server_dispatch()
[all …]
H A Dphp_cli.c330 static void sapi_cli_flush(void *server_context) /* {{{ */ in sapi_cli_flush() argument
420 static void sapi_cli_send_header(sapi_header_struct *sapi_header, void *server_context) /* {{{ */ in sapi_cli_send_header() argument
/PHP-7.1/sapi/litespeed/
H A Dlsapi_main.c185 static void sapi_lsapi_flush(void * server_context) in sapi_lsapi_flush() argument
893 SG(server_context) = (void *) 1; in processReq()
1025 SG(server_context) = (void *) 1; in cli_main()
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg.c852 static void php_sapi_phpdbg_send_header(sapi_header_struct *sapi_header, void *server_context) /* {… in php_sapi_phpdbg_send_header() argument

Completed in 67 milliseconds