Home
last modified time | relevance | path

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

/PHP-7.0/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()
321 ctx = SG(server_context); in php_apache_sapi_log_message()
562 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.0/sapi/fpm/fpm/
H A Dfpm_main.c288 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_cgibin_single_write()
329 static void sapi_cgibin_flush(void *server_context) /* {{{ */ in sapi_cgibin_flush() argument
333 fcgi_request *request = (fcgi_request*) server_context; in sapi_cgibin_flush()
536 fcgi_request *request = (fcgi_request*) SG(server_context);
544 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_cgi_read_cookies()
585 request = (fcgi_request*) SG(server_context); in cgi_php_import_environment_variables()
1751 SG(server_context) = NULL;
1774 SG(server_context) = NULL;
1898 SG(server_context) = (void *) request;
1907 SG(server_context) = NULL;
[all …]
H A Dfpm_log.c236 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format)); in fpm_log_write()
/PHP-7.0/sapi/cgi/
H A Dcgi_main.c328 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_ub_write()
345 static void sapi_cgi_flush(void *server_context) in sapi_cgi_flush() argument
352 static void sapi_fcgi_flush(void *server_context) in sapi_fcgi_flush() argument
354 fcgi_request *request = (fcgi_request*) server_context; in sapi_fcgi_flush()
711 request = (fcgi_request*) SG(server_context); in sapi_cgi_log_message()
910 sapi_cgi_flush(SG(server_context));
2166 SG(server_context) = NULL;
2210 SG(server_context) = NULL;
2322 SG(server_context) = NULL;
2366 SG(server_context) = NULL;
[all …]
/PHP-7.0/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.0/main/
H A DSAPI.h122 void *server_context; member
231 void (*flush)(void *server_context);
239 void (*send_header)(sapi_header_struct *sapi_header, void *server_context);
H A DSAPI.c423 if (SG(server_context)) { in sapi_activate_headers_only()
468 if (SG(server_context)) { in sapi_activate()
506 } else if (SG(server_context)) { in sapi_deactivate()
552 SG(server_context) = NULL; in sapi_initialize_empty_request()
911 sapi_module.send_header(&http_status_line, SG(server_context)); in sapi_send_headers()
913 …(sapi_headers).headers, (llist_apply_with_arg_func_t) sapi_module.send_header, SG(server_context)); in sapi_send_headers()
918 sapi_module.send_header(&default_header, SG(server_context)); in sapi_send_headers()
921 sapi_module.send_header(NULL, SG(server_context)); in sapi_send_headers()
1002 sapi_module.flush(SG(server_context)); in sapi_flush()
1083 if (sapi_module.get_request_time && SG(server_context)) { in sapi_get_request_time()
/PHP-7.0/sapi/cli/
H A Dphp_cli_server.c376 client = SG(server_context); in PHP_FUNCTION()
493 php_cli_server_client *client = SG(server_context); in sapi_cli_server_ub_write()
502 php_cli_server_client *client = server_context; in sapi_cli_server_flush()
526 php_cli_server_client *client = SG(server_context); in sapi_cli_server_send_headers()
563 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_cookies()
573 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_post()
2101 SG(server_context) = NULL; in php_cli_server_request_shutdown()
2140 SG(server_context) = client; in php_cli_server_dispatch()
2147 SG(server_context) = NULL; in php_cli_server_dispatch()
2186 SG(server_context) = NULL; in php_cli_server_dispatch()
[all …]
H A Dphp_cli.c329 static void sapi_cli_flush(void *server_context) /* {{{ */ in sapi_cli_flush() argument
419 static void sapi_cli_send_header(sapi_header_struct *sapi_header, void *server_context) /* {{{ */ in sapi_cli_send_header() argument
/PHP-7.0/sapi/litespeed/
H A Dlsapi_main.c181 static void sapi_lsapi_flush( void * server_context ) in sapi_lsapi_flush() argument
868 SG(server_context) = (void *) 1; in processReq()
1002 SG(server_context) = (void *) 1; in cli_main()
/PHP-7.0/sapi/phpdbg/
H A Dphpdbg.c817 static void php_sapi_phpdbg_send_header(sapi_header_struct *sapi_header, void *server_context) /* {… in php_sapi_phpdbg_send_header() argument

Completed in 150 milliseconds