Searched refs:server_context (Results 1 – 14 of 14) sorted by relevance
/PHP-8.1/sapi/apache2handler/ |
H A D | sapi_apache2.c | 76 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() 597 ctx = SG(server_context); in php_handler() [all …]
|
H A D | php_functions.c | 64 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.1/sapi/fpm/fpm/ |
H A D | fpm_main.c | 246 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_cgibin_single_write() 287 static void sapi_cgibin_flush(void *server_context) /* {{{ */ in sapi_cgibin_flush() argument 291 fcgi_request *request = (fcgi_request*) server_context; in sapi_cgibin_flush() 491 fcgi_request *request = (fcgi_request*) SG(server_context); 540 request = (fcgi_request*) SG(server_context); in cgi_php_import_environment_variables() 1499 if ((request = (fcgi_request*) SG(server_context))) { in PHP_FUNCTION() 1706 SG(server_context) = NULL; in main() 1729 SG(server_context) = NULL; in main() 1867 SG(server_context) = (void *) request; in main() 1876 SG(server_context) = NULL; in main() [all …]
|
H A D | fpm_log.c | 237 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format)); in fpm_log_write()
|
/PHP-8.1/sapi/embed/ |
H A D | php_embed.c | 93 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.1/sapi/cgi/ |
H A D | cgi_main.c | 329 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_ub_write() 346 static void sapi_cgi_flush(void *server_context) in sapi_cgi_flush() argument 353 static void sapi_fcgi_flush(void *server_context) in sapi_fcgi_flush() argument 355 fcgi_request *request = (fcgi_request*) server_context; in sapi_fcgi_flush() 758 request = (fcgi_request*) SG(server_context); in sapi_cgi_log_message() 961 sapi_cgi_flush(SG(server_context)); 2332 SG(server_context) = NULL; 2377 SG(server_context) = NULL; 2470 SG(server_context) = NULL; 2514 SG(server_context) = NULL; [all …]
|
/PHP-8.1/main/ |
H A D | SAPI.h | 113 void *server_context; member 226 void (*flush)(void *server_context); 234 void (*send_header)(sapi_header_struct *sapi_header, void *server_context);
|
H A D | SAPI.c | 415 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() 553 SG(server_context) = NULL; in sapi_initialize_empty_request() 903 sapi_module.send_header(&http_status_line, SG(server_context)); in sapi_send_headers() 905 …(sapi_headers).headers, (llist_apply_with_arg_func_t) sapi_module.send_header, SG(server_context)); in sapi_send_headers() 910 sapi_module.send_header(&default_header, SG(server_context)); in sapi_send_headers() 913 sapi_module.send_header(NULL, SG(server_context)); in sapi_send_headers() 999 sapi_module.flush(SG(server_context)); in sapi_flush() 1086 if (sapi_module.get_request_time && SG(server_context)) { in sapi_get_request_time()
|
/PHP-8.1/sapi/fuzzer/ |
H A D | fuzzer-sapi.c | 77 static void fuzzer_flush(void *server_context) in fuzzer_flush() argument 82 static void send_header(sapi_header_struct *sapi_header, void *server_context) in send_header() argument
|
/PHP-8.1/sapi/cli/ |
H A D | php_cli_server.c | 411 client = SG(server_context); in PHP_FUNCTION() 521 php_cli_server_client *client = SG(server_context); in sapi_cli_server_ub_write() 530 php_cli_server_client *client = server_context; in sapi_cli_server_flush() 554 php_cli_server_client *client = SG(server_context); in sapi_cli_server_send_headers() 591 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_cookies() 601 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_post() 654 php_cli_server_client *client = SG(server_context); in sapi_cli_server_register_variables() 2158 SG(server_context) = NULL; in php_cli_server_request_shutdown() 2207 SG(server_context) = client; in php_cli_server_dispatch() 2253 SG(server_context) = NULL; in php_cli_server_dispatch() [all …]
|
H A D | php_cli.c | 312 static void sapi_cli_flush(void *server_context) /* {{{ */ in sapi_cli_flush() argument 402 static void sapi_cli_send_header(sapi_header_struct *sapi_header, void *server_context) /* {{{ */ in sapi_cli_send_header() argument
|
/PHP-8.1/sapi/litespeed/ |
H A D | lsapi_main.c | 163 static void sapi_lsapi_flush(void * server_context) in sapi_lsapi_flush() argument 1118 SG(server_context) = (void *) 1; in processReq() 1242 SG(server_context) = (void *) 1; in cli_main()
|
/PHP-8.1/ext/opcache/ |
H A D | ZendAccelerator.c | 4611 static void preload_flush(void *server_context) argument 4626 static void preload_send_header(sapi_header_struct *sapi_header, void *server_context) argument 4651 …void (*orig_send_header)(sapi_header_struct *sapi_header, void *server_context)= sapi_module.send_… 4654 void (*orig_flush)(void *server_context) = sapi_module.flush;
|
/PHP-8.1/sapi/phpdbg/ |
H A D | phpdbg.c | 731 static void php_sapi_phpdbg_send_header(sapi_header_struct *sapi_header, void *server_context) /* {… in php_sapi_phpdbg_send_header() argument
|
Completed in 108 milliseconds