Home
last modified time | relevance | path

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

/PHP-7.4/sapi/apache2handler/
H A Dsapi_apache2.c72 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()
588 ctx = SG(server_context); in php_handler()
[all …]
H A Dphp_functions.c59 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.4/sapi/fpm/fpm/
H A Dfpm_main.c251 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_cgibin_single_write()
292 static void sapi_cgibin_flush(void *server_context) /* {{{ */ in sapi_cgibin_flush() argument
296 fcgi_request *request = (fcgi_request*) server_context; in sapi_cgibin_flush()
496 fcgi_request *request = (fcgi_request*) SG(server_context);
545 request = (fcgi_request*) SG(server_context); in cgi_php_import_environment_variables()
1495 if ((request = (fcgi_request*) SG(server_context))) { in PHP_FUNCTION()
1713 SG(server_context) = NULL; in main()
1736 SG(server_context) = NULL; in main()
1871 SG(server_context) = (void *) request; in main()
1880 SG(server_context) = NULL; in main()
[all …]
H A Dfpm_log.c234 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format)); in fpm_log_write()
/PHP-7.4/sapi/embed/
H A Dphp_embed.c85 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.4/sapi/cgi/
H A Dcgi_main.c333 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_ub_write()
350 static void sapi_cgi_flush(void *server_context) in sapi_cgi_flush() argument
357 static void sapi_fcgi_flush(void *server_context) in sapi_fcgi_flush() argument
359 fcgi_request *request = (fcgi_request*) server_context; in sapi_fcgi_flush()
762 request = (fcgi_request*) SG(server_context); in sapi_cgi_log_message()
966 sapi_cgi_flush(SG(server_context));
2351 SG(server_context) = NULL;
2396 SG(server_context) = NULL;
2500 SG(server_context) = NULL;
2544 SG(server_context) = NULL;
[all …]
/PHP-7.4/main/
H A DSAPI.h118 void *server_context; member
229 void (*flush)(void *server_context);
237 void (*send_header)(sapi_header_struct *sapi_header, void *server_context);
H A DSAPI.c417 if (SG(server_context)) { in sapi_activate_headers_only()
462 if (SG(server_context)) { in sapi_activate()
499 } else if (SG(server_context)) { in sapi_deactivate()
545 SG(server_context) = NULL; in sapi_initialize_empty_request()
904 sapi_module.send_header(&http_status_line, SG(server_context)); in sapi_send_headers()
906 …(sapi_headers).headers, (llist_apply_with_arg_func_t) sapi_module.send_header, SG(server_context)); in sapi_send_headers()
911 sapi_module.send_header(&default_header, SG(server_context)); in sapi_send_headers()
914 sapi_module.send_header(NULL, SG(server_context)); in sapi_send_headers()
1000 sapi_module.flush(SG(server_context)); in sapi_flush()
1087 if (sapi_module.get_request_time && SG(server_context)) { in sapi_get_request_time()
/PHP-7.4/sapi/cli/
H A Dphp_cli_server.c396 client = SG(server_context); in PHP_FUNCTION()
561 php_cli_server_client *client = SG(server_context); in sapi_cli_server_ub_write()
570 php_cli_server_client *client = server_context; in sapi_cli_server_flush()
594 php_cli_server_client *client = SG(server_context); in sapi_cli_server_send_headers()
631 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_cookies()
641 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_post()
2205 SG(server_context) = NULL; in php_cli_server_request_shutdown()
2253 SG(server_context) = client; in php_cli_server_dispatch()
2262 SG(server_context) = NULL; in php_cli_server_dispatch()
2301 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-7.4/sapi/litespeed/
H A Dlsapi_main.c166 static void sapi_lsapi_flush(void * server_context) in sapi_lsapi_flush() argument
1128 SG(server_context) = (void *) 1; in processReq()
1253 SG(server_context) = (void *) 1; in cli_main()
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c4664 static void preload_flush(void *server_context) in preload_flush() argument
4679 static void preload_send_header(sapi_header_struct *sapi_header, void *server_context) in preload_send_header() argument
4704 …void (*orig_send_header)(sapi_header_struct *sapi_header, void *server_context TSRMLS_DC)= sapi_mo… in accel_finish_startup()
4707 void (*orig_flush)(void *server_context) = sapi_module.flush; in accel_finish_startup()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg.c824 static void php_sapi_phpdbg_send_header(sapi_header_struct *sapi_header, void *server_context) /* {… in php_sapi_phpdbg_send_header() argument

Completed in 71 milliseconds