Home
last modified time | relevance | path

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

/php-src/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()
604 ctx = SG(server_context); in php_handler()
[all …]
H A Dphp_functions.c63 php_struct *ctx = SG(server_context); in php_apache_lookup_uri()
182 ctx = SG(server_context); in PHP_FUNCTION()
205 ctx = SG(server_context); in PHP_FUNCTION()
227 ctx = SG(server_context); in PHP_FUNCTION()
259 ctx = SG(server_context); in PHP_FUNCTION()
291 ctx = SG(server_context); in PHP_FUNCTION()
354 server_rec *serv = ((php_struct *) SG(server_context))->r->server; in PHP_MINFO_FUNCTION()
413 …const apr_array_header_t *arr = apr_table_elts(((php_struct *) SG(server_context))->r->subprocess_… in PHP_MINFO_FUNCTION()
431 php_info_print_table_row(2, "HTTP Request", ((php_struct *) SG(server_context))->r->the_request); in PHP_MINFO_FUNCTION()
433 arr = apr_table_elts(((php_struct *) SG(server_context))->r->headers_in); in PHP_MINFO_FUNCTION()
[all …]
/php-src/sapi/fpm/fpm/
H A Dfpm_main.c243 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_cgibin_single_write()
284 static void sapi_cgibin_flush(void *server_context) /* {{{ */ in sapi_cgibin_flush() argument
288 fcgi_request *request = (fcgi_request*) server_context; in sapi_cgibin_flush()
491 fcgi_request *request = (fcgi_request*) SG(server_context);
554 request = (fcgi_request*) SG(server_context); in cgi_php_import_environment_variables()
1511 if ((request = (fcgi_request*) SG(server_context))) { in PHP_FUNCTION()
1695 SG(server_context) = NULL; in main()
1716 SG(server_context) = NULL; in main()
1815 SG(server_context) = (void *) request; in main()
1825 SG(server_context) = NULL; in main()
[all …]
H A Dfpm_log.c251 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format)); in fpm_log_write()
/php-src/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-src/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()
965 sapi_cgi_flush(SG(server_context));
2324 SG(server_context) = NULL;
2369 SG(server_context) = NULL;
2468 SG(server_context) = NULL;
2512 SG(server_context) = NULL;
[all …]
/php-src/main/
H A DSAPI.h133 void *server_context; member
248 void (*flush)(void *server_context);
256 void (*send_header)(sapi_header_struct *sapi_header, void *server_context);
H A DSAPI.c415 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_module()
558 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()
/php-src/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-src/sapi/cli/
H A Dphp_cli_server.c415 client = SG(server_context); in PHP_FUNCTION()
520 php_cli_server_client *client = SG(server_context); in sapi_cli_server_ub_write()
529 php_cli_server_client *client = server_context; in sapi_cli_server_flush()
553 php_cli_server_client *client = SG(server_context); in sapi_cli_server_send_headers()
590 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_cookies()
600 php_cli_server_client *client = SG(server_context); in sapi_cli_server_read_post()
686 php_cli_server_client *client = SG(server_context); in sapi_cli_server_register_variables()
2244 SG(server_context) = NULL; in php_cli_server_request_shutdown()
2299 SG(server_context) = client; in php_cli_server_dispatch()
2348 SG(server_context) = NULL; in php_cli_server_dispatch()
[all …]
H A Dphp_cli.c300 static void sapi_cli_flush(void *server_context) /* {{{ */ in sapi_cli_flush() argument
390 static void sapi_cli_send_header(sapi_header_struct *sapi_header, void *server_context) /* {{{ */ in sapi_cli_send_header() argument
904 SG(server_context) = &context; in do_cli()
/php-src/sapi/litespeed/
H A Dlsapi_main.c162 static void sapi_lsapi_flush(void * server_context) in sapi_lsapi_flush() argument
1113 SG(server_context) = (void *) 1; in processReq()
1238 SG(server_context) = (void *) 1; in cli_main()
/php-src/ext/opcache/
H A DZendAccelerator.c4587 static void preload_flush(void *server_context) argument
4602 static void preload_send_header(sapi_header_struct *sapi_header, void *server_context) argument
4617 …void (*orig_send_header)(sapi_header_struct *sapi_header, void *server_context)= sapi_module.send_…
4620 void (*orig_flush)(void *server_context) = sapi_module.flush;
/php-src/sapi/phpdbg/
H A Dphpdbg.c734 static void php_sapi_phpdbg_send_header(sapi_header_struct *sapi_header, void *server_context) /* {… in php_sapi_phpdbg_send_header() argument

Completed in 91 milliseconds