Home
last modified time | relevance | path

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

/php-src/sapi/apache2handler/
H A Dsapi_apache2.c76 ctx = SG(server_context); in ZEND_TSRMLS_CACHE_DEFINE()
92 ctx = SG(server_context); in php_apache_sapi_header_handler()
151 php_struct *ctx = SG(server_context); in php_apache_sapi_send_headers()
182 php_struct *ctx = SG(server_context); in php_apache_sapi_read_post()
218 php_struct *ctx = SG(server_context); in php_apache_sapi_get_stat()
241 php_struct *ctx = SG(server_context); in php_apache_sapi_read_cookies()
293 ctx = server_context; in php_apache_sapi_flush()
297 if (!server_context) { in php_apache_sapi_flush()
318 ctx = SG(server_context); in php_apache_sapi_log_message()
608 ctx = SG(server_context); in php_handler()
[all …]
H A Dphp_functions.c64 php_struct *ctx = SG(server_context); in php_apache_lookup_uri()
186 ctx = SG(server_context); in PHP_FUNCTION()
209 ctx = SG(server_context); in PHP_FUNCTION()
231 ctx = SG(server_context); in PHP_FUNCTION()
264 ctx = SG(server_context); in PHP_FUNCTION()
299 ctx = SG(server_context); in PHP_FUNCTION()
368 server_rec *serv = ((php_struct *) SG(server_context))->r->server; in PHP_MINFO_FUNCTION()
436 …const apr_array_header_t *arr = apr_table_elts(((php_struct *) SG(server_context))->r->subprocess_… in PHP_MINFO_FUNCTION()
454 php_info_print_table_row(2, "HTTP Request", ((php_struct *) SG(server_context))->r->the_request); in PHP_MINFO_FUNCTION()
456 arr = apr_table_elts(((php_struct *) SG(server_context))->r->headers_in); in PHP_MINFO_FUNCTION()
[all …]
/php-src/sapi/fpm/fpm/
H A Dfpm_main.c248 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_cgibin_single_write()
289 static void sapi_cgibin_flush(void *server_context) /* {{{ */ in sapi_cgibin_flush() argument
293 fcgi_request *request = (fcgi_request*) server_context; in sapi_cgibin_flush()
496 fcgi_request *request = (fcgi_request*) SG(server_context);
559 request = (fcgi_request*) SG(server_context); in cgi_php_import_environment_variables()
1520 if ((request = (fcgi_request*) SG(server_context))) { in PHP_FUNCTION()
1704 SG(server_context) = NULL; in main()
1729 SG(server_context) = NULL; in main()
1868 SG(server_context) = (void *) request; in main()
1878 SG(server_context) = NULL; in main()
[all …]
H A Dfpm_log.c255 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format)); in fpm_log_write()
/php-src/sapi/embed/
H A Dphp_embed.c93 static void php_embed_flush(void *server_context) in php_embed_flush() argument
100 static void php_embed_send_header(sapi_header_struct *sapi_header, void *server_context) in php_embed_send_header() argument
/php-src/sapi/cgi/
H A Dcgi_main.c330 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_ub_write()
347 static void sapi_cgi_flush(void *server_context) in sapi_cgi_flush() argument
354 static void sapi_fcgi_flush(void *server_context) in sapi_fcgi_flush() argument
356 fcgi_request *request = (fcgi_request*) server_context; in sapi_fcgi_flush()
759 request = (fcgi_request*) SG(server_context); in sapi_cgi_log_message()
962 sapi_cgi_flush(SG(server_context));
2307 SG(server_context) = NULL;
2352 SG(server_context) = NULL;
2452 SG(server_context) = NULL;
2496 SG(server_context) = NULL;
[all …]
/php-src/main/
H A DSAPI.h133 void *server_context; member
248 void (*flush)(void *server_context);
256 void (*send_header)(sapi_header_struct *sapi_header, void *server_context);
H A DSAPI.c417 if (SG(server_context)) { in sapi_activate_headers_only()
464 if (SG(server_context)) { in sapi_activate()
501 } else if (SG(server_context)) { in sapi_deactivate_module()
557 SG(server_context) = NULL; in sapi_initialize_empty_request()
907 sapi_module.send_header(&http_status_line, SG(server_context)); in sapi_send_headers()
909 …(sapi_headers).headers, (llist_apply_with_arg_func_t) sapi_module.send_header, SG(server_context)); in sapi_send_headers()
914 sapi_module.send_header(&default_header, SG(server_context)); in sapi_send_headers()
917 sapi_module.send_header(NULL, SG(server_context)); in sapi_send_headers()
1003 sapi_module.flush(SG(server_context)); in sapi_flush()
/php-src/sapi/fuzzer/
H A Dfuzzer-sapi.c74 static void fuzzer_flush(void *server_context) in fuzzer_flush() argument
79 static void send_header(sapi_header_struct *sapi_header, void *server_context) in send_header() argument
/php-src/sapi/cli/
H A Dphp_cli_server.c415 client = SG(server_context); in PHP_FUNCTION()
520 php_cli_server_client *client = SG(server_context); in sapi_cli_server_ub_write()
529 php_cli_server_client *client = server_context; in sapi_cli_server_flush()
553 php_cli_server_client *client = SG(server_context); in sapi_cli_server_send_headers()
590 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_cookies()
600 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_post()
686 php_cli_server_client *client = SG(server_context); in sapi_cli_server_register_variables()
2223 SG(server_context) = NULL; in php_cli_server_request_shutdown()
2277 SG(server_context) = client; in php_cli_server_dispatch()
2326 SG(server_context) = NULL; in php_cli_server_dispatch()
[all …]
H A Dphp_cli.c313 static void sapi_cli_flush(void *server_context) /* {{{ */ in sapi_cli_flush() argument
403 static void sapi_cli_send_header(sapi_header_struct *sapi_header, void *server_context) /* {{{ */ in sapi_cli_send_header() argument
/php-src/sapi/litespeed/
H A Dlsapi_main.c163 static void sapi_lsapi_flush(void * server_context) in sapi_lsapi_flush() argument
1114 SG(server_context) = (void *) 1; in processReq()
1238 SG(server_context) = (void *) 1; in cli_main()
/php-src/ext/opcache/
H A DZendAccelerator.c4553 static void preload_flush(void *server_context) argument
4568 static void preload_send_header(sapi_header_struct *sapi_header, void *server_context) argument
4583 …void (*orig_send_header)(sapi_header_struct *sapi_header, void *server_context)= sapi_module.send_…
4586 void (*orig_flush)(void *server_context) = sapi_module.flush;
/php-src/sapi/phpdbg/
H A Dphpdbg.c733 static void php_sapi_phpdbg_send_header(sapi_header_struct *sapi_header, void *server_context) /* {… in php_sapi_phpdbg_send_header() argument

Completed in 84 milliseconds