Searched refs:server_context (Results 1 - 25 of 28) sorted by relevance

12

/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_log.c234 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format));
H A Dfpm_main.c278 fcgi_request *request = (fcgi_request*) SG(server_context);
318 static void sapi_cgibin_flush(void *server_context) argument
322 fcgi_request *request = (fcgi_request*) server_context;
504 fcgi_request *request = (fcgi_request*) SG(server_context);
538 fcgi_request *request = (fcgi_request*) SG(server_context);
555 fcgi_request *request = (fcgi_request*) SG(server_context);
599 request = (fcgi_request*) SG(server_context);
664 fcgi_request *request = (fcgi_request*) SG(server_context);
847 !fcgi_finish_request((fcgi_request*)SG(server_context), 0)) {
1515 fcgi_request *request = (fcgi_request*) SG(server_context);
[all...]
/PHP_5_4/main/
H A DSAPI.h119 void *server_context; member in struct:_sapi_globals_struct
228 void (*flush)(void *server_context);
236 void (*send_header)(sapi_header_struct *sapi_header, void *server_context TSRMLS_DC);
H A DSAPI.c414 if (SG(server_context)) {
461 if (SG(server_context)) {
506 } else if (SG(server_context)) {
559 SG(server_context) = NULL;
907 sapi_module.send_header(&http_status_line, SG(server_context) TSRMLS_CC);
909 zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_t) sapi_module.send_header, SG(server_context) TSRMLS_CC);
914 sapi_module.send_header(&default_header, SG(server_context) TSRMLS_CC);
917 sapi_module.send_header(NULL, SG(server_context) TSRMLS_CC);
998 sapi_module.flush(SG(server_context));
1075 if (sapi_module.get_request_time && SG(server_context)) {
[all...]
/PHP_5_4/sapi/aolserver/
H A Daolserver.c501 SG(server_context) = global_context;
/PHP_5_4/sapi/apache/
H A Dmod_php5.c99 if (SG(server_context)) {
100 ret = rwrite(str, str_length, (request_rec *) SG(server_context));
111 static void sapi_apache_flush(void *server_context) argument
113 if (server_context) {
115 rflush((request_rec *) server_context);
117 bflush((request_rec *) server_context->connection->client);
128 request_rec *r = (request_rec *) SG(server_context);
160 return (char *) table_get(((request_rec *) SG(server_context))->subprocess_env, "HTTP_COOKIE");
169 request_rec *r = (request_rec *) SG(server_context);
223 request_rec *r = SG(server_context);
[all...]
H A Dphp_apache.c179 serv = ((request_rec *) SG(server_context))->server;
248 r = ((request_rec *) SG(server_context));
267 r = ((request_rec *) SG(server_context));
298 ap_child_terminate( ((request_rec *)SG(server_context)) );
323 old_val = (char *) table_get(((request_rec *)SG(server_context))->notes, note_name);
326 table_set(((request_rec *)SG(server_context))->notes, note_name, note_val);
357 if (!(rr = sub_req_lookup_uri (filename, ((request_rec *) SG(server_context))))) {
401 env_arr = table_elts(((request_rec *) SG(server_context))->headers_in);
423 env_arr = table_elts(((request_rec *) SG(server_context))->headers_out);
441 request_rec *r = (request_rec *) SG(server_context);
[all...]
/PHP_5_4/sapi/apache2filter/
H A Dphp_functions.c54 ctx = SG(server_context);
161 ctx = SG(server_context);
181 ctx = SG(server_context);
204 ctx = SG(server_context);
235 ctx = SG(server_context);
264 ctx = SG(server_context);
H A Dsapi_apache2.c75 ctx = SG(server_context);
100 ctx = SG(server_context);
148 php_struct *ctx = SG(server_context);
160 php_struct *ctx = SG(server_context);
179 php_struct *ctx = SG(server_context);
204 php_struct *ctx = SG(server_context);
216 php_struct *ctx = SG(server_context);
227 php_struct *ctx = SG(server_context);
248 php_apache_sapi_flush(void *server_context) argument
257 ctx = server_context;
[all...]
/PHP_5_4/sapi/apache2handler/
H A Dphp_functions.c61 php_struct *ctx = SG(server_context);
185 ctx = SG(server_context);
209 ctx = SG(server_context);
232 ctx = SG(server_context);
266 ctx = SG(server_context);
302 ctx = SG(server_context);
373 server_rec *serv = ((php_struct *) SG(server_context))->r->server;
437 const apr_array_header_t *arr = apr_table_elts(((php_struct *) SG(server_context))->r->subprocess_env);
455 php_info_print_table_row(2, "HTTP Request", ((php_struct *) SG(server_context))->r->the_request);
457 arr = apr_table_elts(((php_struct *) SG(server_context))
[all...]
H A Dsapi_apache2.c81 ctx = SG(server_context);
97 ctx = SG(server_context);
156 php_struct *ctx = SG(server_context);
187 php_struct *ctx = SG(server_context);
218 php_struct *ctx = SG(server_context);
243 php_struct *ctx = SG(server_context);
255 php_struct *ctx = SG(server_context);
270 php_struct *ctx = SG(server_context);
290 php_apache_sapi_flush(void *server_context) argument
296 ctx = server_context;
[all...]
/PHP_5_4/sapi/apache_hooks/
H A Dmod_php5.c244 if (SG(server_context)) {
245 ret = rwrite(str, str_length, (request_rec *) SG(server_context));
256 static void sapi_apache_flush(void *server_context) argument
258 if (server_context) {
260 rflush((request_rec *) server_context);
262 bflush((request_rec *) server_context->connection->client);
273 request_rec *r = (request_rec *) SG(server_context);
305 return (char *) table_get(((request_rec *) SG(server_context))->subprocess_env, "HTTP_COOKIE");
314 request_rec *r = (request_rec *) SG(server_context);
366 if(SG(server_context)
[all...]
H A Dphp_apache.c993 ap_basic_http_header((request_rec *)SG(server_context));
1010 ap_send_http_trace((request_rec *)SG(server_context));
1027 ap_send_http_options((request_rec *)SG(server_context));
1102 ap_rwrite(buffer, buffer_len, (request_rec*)SG(server_context));
1535 ap_child_terminate( ((request_rec *)SG(server_context)) );
1560 note_val = (char *) table_get(((request_rec *)SG(server_context))->notes, arg_name);
1563 table_set(((request_rec *)SG(server_context))->notes, arg_name, arg_val);
1592 serv = ((request_rec *) SG(server_context))->server;
1659 r = ((request_rec *) SG(server_context));
1678 r = ((request_rec *) SG(server_context));
[all...]
/PHP_5_4/sapi/cgi/
H A Dcgi_main.c311 fcgi_request *request = (fcgi_request*) SG(server_context);
327 static void sapi_cgi_flush(void *server_context) argument
334 static void sapi_fcgi_flush(void *server_context) argument
336 fcgi_request *request = (fcgi_request*) server_context;
526 fcgi_request *request = (fcgi_request*) SG(server_context);
550 fcgi_request *request = (fcgi_request*) SG(server_context);
611 fcgi_request *request = (fcgi_request*) SG(server_context);
655 fcgi_request *request = (fcgi_request*) SG(server_context);
677 fcgi_request *request = (fcgi_request*) SG(server_context);
731 request = (fcgi_request*) SG(server_context);
[all...]
/PHP_5_4/sapi/continuity/
H A Dcapi.c135 rc = (capi_request_context *) SG(server_context);
149 capi_request_context *rc = (capi_request_context *) SG(server_context);
180 capi_request_context *rc = (capi_request_context *) SG(server_context);
201 capi_request_context *rc = (capi_request_context *) SG(server_context);
227 capi_request_context *rc = (capi_request_context *) SG(server_context);
235 capi_request_context *rc = (capi_request_context *) SG(server_context);
348 capi_request_context *rc = (capi_request_context *) SG(server_context);
484 SG(server_context) = request_context;
/PHP_5_4/sapi/embed/
H A Dphp_embed.c82 static void php_embed_flush(void *server_context) argument
89 static void php_embed_send_header(sapi_header_struct *sapi_header, void *server_context TSRMLS_DC)
/PHP_5_4/sapi/isapi/
H A Dphp5isapi.c161 lpECB = (LPEXTENSION_CONTROL_BLOCK) SG(server_context);
210 ecb = (LPEXTENSION_CONTROL_BLOCK) SG(server_context);
246 LPEXTENSION_CONTROL_BLOCK lpECB = (LPEXTENSION_CONTROL_BLOCK) SG(server_context);
329 LPEXTENSION_CONTROL_BLOCK lpECB = (LPEXTENSION_CONTROL_BLOCK) SG(server_context);
359 LPEXTENSION_CONTROL_BLOCK lpECB = (LPEXTENSION_CONTROL_BLOCK) SG(server_context);
604 lpECB = (LPEXTENSION_CONTROL_BLOCK) SG(server_context);
786 LPEXTENSION_CONTROL_BLOCK lpECB = (LPEXTENSION_CONTROL_BLOCK) SG(server_context);
848 SG(server_context) = lpECB;
/PHP_5_4/sapi/nsapi/
H A Dnsapi.c337 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
406 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
430 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
456 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
470 static void sapi_nsapi_flush(void *server_context) argument
472 nsapi_request_context *rc = (nsapi_request_context *)server_context;
496 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
521 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
571 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
593 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
[all...]
/PHP_5_4/sapi/pi3web/
H A Dpi3web_sapi.c53 LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context);
128 cb = (LPCONTROL_BLOCK) SG(server_context);
166 LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context);
214 LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context);
247 LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context);
268 SG(server_context) = lpCB;
285 LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context);
/PHP_5_4/sapi/roxen/
H A Droxen.c636 SG(server_context) = (void *)1; /* avoid server_context == NULL */
/PHP_5_4/sapi/thttpd/
H A Dthttpd.c757 SG(server_context) = (void *) 1;
765 if (SG(server_context) != NULL) {
/PHP_5_4/sapi/tux/
H A Dphp_tux.c439 SG(server_context) = (void *) 1;
444 if (SG(server_context) != NULL) {
/PHP_5_4/sapi/webjames/
H A Dwebjames.c64 static void sapi_webjames_send_header(sapi_header_struct *sapi_header, void *server_context TSRMLS_DC)
321 SG(server_context) = (void *) 1;
/PHP_5_4/sapi/cli/
H A Dphp_cli_server.c489 php_cli_server_client *client = SG(server_context);
496 static void sapi_cli_server_flush(void *server_context) /* {{{ */ argument
498 php_cli_server_client *client = server_context;
523 php_cli_server_client *client = SG(server_context);
560 php_cli_server_client *client = SG(server_context);
570 php_cli_server_client *client = SG(server_context);
615 php_cli_server_client *client = SG(server_context);
1978 SG(server_context) = NULL;
2029 SG(server_context) = client;
2036 SG(server_context)
[all...]
/PHP_5_4/sapi/litespeed/
H A Dlsapi_main.c158 static void sapi_lsapi_flush( void * server_context )
630 /* avoid server_context==NULL checks */
631 SG(server_context) = (void *) 1;
762 SG(server_context) = (void *) 1;

Completed in 49 milliseconds

12