Home
last modified time | relevance | path

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

/PHP-8.2/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()
599 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-8.2/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()
493 fcgi_request *request = (fcgi_request*) SG(server_context);
556 request = (fcgi_request*) SG(server_context); in cgi_php_import_environment_variables()
1517 if ((request = (fcgi_request*) SG(server_context))) { in PHP_FUNCTION()
1701 SG(server_context) = NULL; in main()
1726 SG(server_context) = NULL; in main()
1865 SG(server_context) = (void *) request; in main()
1875 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-8.2/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-8.2/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));
2308 SG(server_context) = NULL;
2353 SG(server_context) = NULL;
2446 SG(server_context) = NULL;
2490 SG(server_context) = NULL;
[all …]
/PHP-8.2/main/
H A DSAPI.h113 void *server_context; member
226 void (*flush)(void *server_context);
234 void (*send_header)(sapi_header_struct *sapi_header, void *server_context);
H A DSAPI.c415 if (SG(server_context)) { in sapi_activate_headers_only()
460 if (SG(server_context)) { in sapi_activate()
497 } else if (SG(server_context)) { in sapi_deactivate_module()
556 SG(server_context) = NULL; in sapi_initialize_empty_request()
906 sapi_module.send_header(&http_status_line, SG(server_context)); in sapi_send_headers()
908 …(sapi_headers).headers, (llist_apply_with_arg_func_t) sapi_module.send_header, SG(server_context)); in sapi_send_headers()
913 sapi_module.send_header(&default_header, SG(server_context)); in sapi_send_headers()
916 sapi_module.send_header(NULL, SG(server_context)); in sapi_send_headers()
1002 sapi_module.flush(SG(server_context)); in sapi_flush()
/PHP-8.2/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-8.2/sapi/cli/
H A Dphp_cli_server.c406 client = SG(server_context); in PHP_FUNCTION()
511 php_cli_server_client *client = SG(server_context); in sapi_cli_server_ub_write()
520 php_cli_server_client *client = server_context; in sapi_cli_server_flush()
544 php_cli_server_client *client = SG(server_context); in sapi_cli_server_send_headers()
581 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_cookies()
591 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_post()
677 php_cli_server_client *client = SG(server_context); in sapi_cli_server_register_variables()
2239 SG(server_context) = NULL; in php_cli_server_request_shutdown()
2301 SG(server_context) = client; in php_cli_server_dispatch()
2348 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-8.2/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-8.2/ext/opcache/
H A DZendAccelerator.c4575 static void preload_flush(void *server_context) argument
4590 static void preload_send_header(sapi_header_struct *sapi_header, void *server_context) argument
4615 …void (*orig_send_header)(sapi_header_struct *sapi_header, void *server_context)= sapi_module.send_…
4618 void (*orig_flush)(void *server_context) = sapi_module.flush;
/PHP-8.2/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 82 milliseconds