Searched refs:server_context (Results 1 – 12 of 12) sorted by relevance
/PHP-7.3/sapi/apache2handler/ |
H A D | sapi_apache2.c | 72 ctx = SG(server_context); in ZEND_TSRMLS_CACHE_DEFINE() 88 ctx = SG(server_context); in php_apache_sapi_header_handler() 147 php_struct *ctx = SG(server_context); in php_apache_sapi_send_headers() 178 php_struct *ctx = SG(server_context); in php_apache_sapi_read_post() 209 php_struct *ctx = SG(server_context); in php_apache_sapi_get_stat() 232 php_struct *ctx = SG(server_context); in php_apache_sapi_read_cookies() 284 ctx = server_context; in php_apache_sapi_flush() 288 if (!server_context) { in php_apache_sapi_flush() 309 ctx = SG(server_context); in php_apache_sapi_log_message() 583 ctx = SG(server_context); in php_handler() [all …]
|
H A D | php_functions.c | 59 php_struct *ctx = SG(server_context); in php_apache_lookup_uri() 183 ctx = SG(server_context); in PHP_FUNCTION() 207 ctx = SG(server_context); in PHP_FUNCTION() 230 ctx = SG(server_context); in PHP_FUNCTION() 264 ctx = SG(server_context); in PHP_FUNCTION() 300 ctx = SG(server_context); in PHP_FUNCTION() 371 server_rec *serv = ((php_struct *) SG(server_context))->r->server; in PHP_MINFO_FUNCTION() 439 …const apr_array_header_t *arr = apr_table_elts(((php_struct *) SG(server_context))->r->subprocess_… in PHP_MINFO_FUNCTION() 457 php_info_print_table_row(2, "HTTP Request", ((php_struct *) SG(server_context))->r->the_request); in PHP_MINFO_FUNCTION() 459 arr = apr_table_elts(((php_struct *) SG(server_context))->r->headers_in); in PHP_MINFO_FUNCTION() [all …]
|
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_main.c | 258 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_cgibin_single_write() 299 static void sapi_cgibin_flush(void *server_context) /* {{{ */ in sapi_cgibin_flush() argument 303 fcgi_request *request = (fcgi_request*) server_context; in sapi_cgibin_flush() 502 fcgi_request *request = (fcgi_request*) SG(server_context); 551 request = (fcgi_request*) SG(server_context); in cgi_php_import_environment_variables() 1504 if ((request = (fcgi_request*) SG(server_context))) { in PHP_FUNCTION() 1724 SG(server_context) = NULL; in main() 1747 SG(server_context) = NULL; in main() 1882 SG(server_context) = (void *) request; in main() 1891 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-7.3/sapi/embed/ |
H A D | php_embed.c | 85 static void php_embed_flush(void *server_context) in php_embed_flush() argument 92 static void php_embed_send_header(sapi_header_struct *sapi_header, void *server_context) in php_embed_send_header() argument
|
/PHP-7.3/sapi/cgi/ |
H A D | cgi_main.c | 341 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_ub_write() 358 static void sapi_cgi_flush(void *server_context) in sapi_cgi_flush() argument 365 static void sapi_fcgi_flush(void *server_context) in sapi_fcgi_flush() argument 367 fcgi_request *request = (fcgi_request*) server_context; in sapi_fcgi_flush() 769 request = (fcgi_request*) SG(server_context); in sapi_cgi_log_message() 973 sapi_cgi_flush(SG(server_context)); 2351 SG(server_context) = NULL; 2395 SG(server_context) = NULL; 2505 SG(server_context) = NULL; 2549 SG(server_context) = NULL; [all …]
|
/PHP-7.3/main/ |
H A D | SAPI.h | 118 void *server_context; member 228 void (*flush)(void *server_context); 236 void (*send_header)(sapi_header_struct *sapi_header, void *server_context);
|
H A D | SAPI.c | 421 if (SG(server_context)) { in sapi_activate_headers_only() 466 if (SG(server_context)) { in sapi_activate() 503 } else if (SG(server_context)) { in sapi_deactivate() 549 SG(server_context) = NULL; in sapi_initialize_empty_request() 908 sapi_module.send_header(&http_status_line, SG(server_context)); in sapi_send_headers() 910 …(sapi_headers).headers, (llist_apply_with_arg_func_t) sapi_module.send_header, SG(server_context)); in sapi_send_headers() 915 sapi_module.send_header(&default_header, SG(server_context)); in sapi_send_headers() 918 sapi_module.send_header(NULL, SG(server_context)); in sapi_send_headers() 1004 sapi_module.flush(SG(server_context)); in sapi_flush() 1091 if (sapi_module.get_request_time && SG(server_context)) { in sapi_get_request_time()
|
/PHP-7.3/sapi/cli/ |
H A D | php_cli_server.c | 389 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() 2099 SG(server_context) = NULL; in php_cli_server_request_shutdown() 2151 SG(server_context) = client; in php_cli_server_dispatch() 2160 SG(server_context) = NULL; in php_cli_server_dispatch() 2199 SG(server_context) = NULL; in php_cli_server_dispatch() [all …]
|
H A D | php_cli.c | 326 static void sapi_cli_flush(void *server_context) /* {{{ */ in sapi_cli_flush() argument 416 static void sapi_cli_send_header(sapi_header_struct *sapi_header, void *server_context) /* {{{ */ in sapi_cli_send_header() argument
|
/PHP-7.3/sapi/litespeed/ |
H A D | lsapi_main.c | 175 static void sapi_lsapi_flush(void * server_context) in sapi_lsapi_flush() argument 1139 SG(server_context) = (void *) 1; in processReq() 1264 SG(server_context) = (void *) 1; in cli_main()
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg.c | 842 static void php_sapi_phpdbg_send_header(sapi_header_struct *sapi_header, void *server_context) /* {… in php_sapi_phpdbg_send_header() argument
|
Completed in 75 milliseconds