Searched refs:server_context (Results 1 – 14 of 14) sorted by relevance
/PHP-8.0/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() 213 php_struct *ctx = SG(server_context); in php_apache_sapi_get_stat() 236 php_struct *ctx = SG(server_context); in php_apache_sapi_read_cookies() 288 ctx = server_context; in php_apache_sapi_flush() 292 if (!server_context) { in php_apache_sapi_flush() 313 ctx = SG(server_context); in php_apache_sapi_log_message() 592 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.0/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() 1479 if ((request = (fcgi_request*) SG(server_context))) { in PHP_FUNCTION() 1687 SG(server_context) = NULL; in main() 1710 SG(server_context) = NULL; in main() 1845 SG(server_context) = (void *) request; in main() 1854 SG(server_context) = NULL; in main() [all …]
|
H A D | fpm_log.c | 234 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format)); in fpm_log_write()
|
/PHP-8.0/sapi/embed/ |
H A D | php_embed.c | 84 static void php_embed_flush(void *server_context) in php_embed_flush() argument 91 static void php_embed_send_header(sapi_header_struct *sapi_header, void *server_context) in php_embed_send_header() argument
|
/PHP-8.0/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 | 411 if (SG(server_context)) { in sapi_activate_headers_only() 456 if (SG(server_context)) { in sapi_activate() 493 } else if (SG(server_context)) { in sapi_deactivate_module() 549 SG(server_context) = NULL; in sapi_initialize_empty_request() 899 sapi_module.send_header(&http_status_line, SG(server_context)); in sapi_send_headers() 901 …(sapi_headers).headers, (llist_apply_with_arg_func_t) sapi_module.send_header, SG(server_context)); in sapi_send_headers() 906 sapi_module.send_header(&default_header, SG(server_context)); in sapi_send_headers() 909 sapi_module.send_header(NULL, SG(server_context)); in sapi_send_headers() 995 sapi_module.flush(SG(server_context)); in sapi_flush() 1082 if (sapi_module.get_request_time && SG(server_context)) { in sapi_get_request_time()
|
/PHP-8.0/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)); 2322 SG(server_context) = NULL; 2367 SG(server_context) = NULL; 2471 SG(server_context) = NULL; 2515 SG(server_context) = NULL; [all …]
|
/PHP-8.0/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.0/sapi/cli/ |
H A D | php_cli_server.c | 396 client = SG(server_context); in PHP_FUNCTION() 506 php_cli_server_client *client = SG(server_context); in sapi_cli_server_ub_write() 515 php_cli_server_client *client = server_context; in sapi_cli_server_flush() 539 php_cli_server_client *client = SG(server_context); in sapi_cli_server_send_headers() 576 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_cookies() 586 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_post() 2145 SG(server_context) = NULL; in php_cli_server_request_shutdown() 2191 SG(server_context) = client; in php_cli_server_dispatch() 2200 SG(server_context) = NULL; in php_cli_server_dispatch() 2239 SG(server_context) = NULL; in php_cli_server_dispatch() [all …]
|
H A D | php_cli.c | 309 static void sapi_cli_flush(void *server_context) /* {{{ */ in sapi_cli_flush() argument 399 static void sapi_cli_send_header(sapi_header_struct *sapi_header, void *server_context) /* {{{ */ in sapi_cli_send_header() argument
|
/PHP-8.0/sapi/litespeed/ |
H A D | lsapi_main.c | 163 static void sapi_lsapi_flush(void * server_context) in sapi_lsapi_flush() argument 1117 SG(server_context) = (void *) 1; in processReq() 1241 SG(server_context) = (void *) 1; in cli_main()
|
/PHP-8.0/ext/opcache/ |
H A D | ZendAccelerator.c | 4777 static void preload_flush(void *server_context) argument 4792 static void preload_send_header(sapi_header_struct *sapi_header, void *server_context) argument 4817 …void (*orig_send_header)(sapi_header_struct *sapi_header, void *server_context)= sapi_module.send_… 4820 void (*orig_flush)(void *server_context) = sapi_module.flush;
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg.c | 780 static void php_sapi_phpdbg_send_header(sapi_header_struct *sapi_header, void *server_context) /* {… in php_sapi_phpdbg_send_header() argument
|
Completed in 98 milliseconds