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

12

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_log.c234 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format));
H A Dfpm_main.c281 fcgi_request *request = (fcgi_request*) SG(server_context);
321 static void sapi_cgibin_flush(void *server_context TSRMLS_DC)
325 fcgi_request *request = (fcgi_request*) server_context;
510 fcgi_request *request = (fcgi_request*) SG(server_context);
544 fcgi_request *request = (fcgi_request*) SG(server_context);
561 fcgi_request *request = (fcgi_request*) SG(server_context);
596 request = (fcgi_request*) SG(server_context);
658 fcgi_request *request = (fcgi_request*) SG(server_context);
840 !fcgi_finish_request((fcgi_request*)SG(server_context), 0)) {
1510 fcgi_request *request = (fcgi_request*) SG(server_context);
[all...]
/PHP_TRUNK/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 TSRMLS_DC)
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.c991 ap_basic_http_header((request_rec *)SG(server_context));
1008 ap_send_http_trace((request_rec *)SG(server_context));
1025 ap_send_http_options((request_rec *)SG(server_context));
1100 ap_rwrite(buffer, buffer_len, (request_rec*)SG(server_context));
1533 ap_child_terminate( ((request_rec *)SG(server_context)) );
1558 note_val = (char *) table_get(((request_rec *)SG(server_context))->notes, arg_name);
1561 table_set(((request_rec *)SG(server_context))->notes, arg_name, arg_val);
1590 serv = ((request_rec *) SG(server_context))->server;
1657 r = ((request_rec *) SG(server_context));
1676 r = ((request_rec *) SG(server_context));
[all...]
/PHP_TRUNK/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_TRUNK/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_TRUNK/sapi/roxen/
H A Droxen.c635 SG(server_context) = (void *)1; /* avoid server_context == NULL */
/PHP_TRUNK/sapi/thttpd/
H A Dthttpd.c758 SG(server_context) = (void *) 1;
766 if (SG(server_context) != NULL) {
/PHP_TRUNK/sapi/tux/
H A Dphp_tux.c435 SG(server_context) = (void *) 1;
440 if (SG(server_context) != NULL) {
/PHP_TRUNK/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_TRUNK/sapi/apache2filter/
H A Dsapi_apache2.c75 ctx = SG(server_context);
99 ctx = SG(server_context);
146 php_struct *ctx = SG(server_context);
157 php_struct *ctx = SG(server_context);
182 php_struct *ctx = SG(server_context);
207 php_struct *ctx = SG(server_context);
219 php_struct *ctx = SG(server_context);
230 php_struct *ctx = SG(server_context);
251 php_apache_sapi_flush(void *server_context TSRMLS_DC)
259 ctx = server_context;
[all...]
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);
/PHP_TRUNK/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_TRUNK/sapi/aolserver/
H A Daolserver.c501 SG(server_context) = global_context;
/PHP_TRUNK/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 TSRMLS_DC)
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_TRUNK/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 TSRMLS_DC)
472 nsapi_request_context *rc = (nsapi_request_context *)server_context;
495 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
520 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
570 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
592 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
[all...]
/PHP_TRUNK/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 TSRMLS_DC)
295 ctx = server_context;
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c424 client = SG(server_context);
544 php_cli_server_client *client = SG(server_context);
551 static void sapi_cli_server_flush(void *server_context TSRMLS_DC) /* {{{ */
553 php_cli_server_client *client = server_context;
577 php_cli_server_client *client = SG(server_context);
614 php_cli_server_client *client = SG(server_context);
624 php_cli_server_client *client = SG(server_context);
669 php_cli_server_client *client = SG(server_context);
2035 SG(server_context) = NULL;
2084 SG(server_context)
[all...]
/PHP_TRUNK/sapi/embed/
H A Dphp_embed.c82 static void php_embed_flush(void *server_context TSRMLS_DC)
89 static void php_embed_send_header(sapi_header_struct *sapi_header, void *server_context TSRMLS_DC)
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c158 static void sapi_lsapi_flush( void * server_context TSRMLS_DC )
573 /* avoid server_context==NULL checks */
574 SG(server_context) = (void *) 1;
705 SG(server_context) = (void *) 1;
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c313 fcgi_request *request = (fcgi_request*) SG(server_context);
329 static void sapi_cgi_flush(void *server_context TSRMLS_DC)
336 static void sapi_fcgi_flush(void *server_context TSRMLS_DC)
338 fcgi_request *request = (fcgi_request*) server_context;
528 fcgi_request *request = (fcgi_request*) SG(server_context);
555 fcgi_request *request = (fcgi_request*) SG(server_context);
616 fcgi_request *request = (fcgi_request*) SG(server_context);
654 fcgi_request *request = (fcgi_request*) SG(server_context);
676 fcgi_request *request = (fcgi_request*) SG(server_context);
730 request = (fcgi_request*) SG(server_context);
[all...]
/PHP_TRUNK/main/
H A DSAPI.c425 if (SG(server_context)) {
471 if (SG(server_context)) {
509 } else if (SG(server_context)) {
557 SG(server_context) = NULL;
909 sapi_module.send_header(&http_status_line, SG(server_context) TSRMLS_CC);
911 zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_t) sapi_module.send_header, SG(server_context) TSRMLS_CC);
916 sapi_module.send_header(&default_header, SG(server_context) TSRMLS_CC);
919 sapi_module.send_header(NULL, SG(server_context) TSRMLS_CC);
1000 sapi_module.flush(SG(server_context) TSRMLS_CC);
1077 if (sapi_module.get_request_time && SG(server_context)) {
[all...]
H A DSAPI.h122 void *server_context; member in struct:_sapi_globals_struct
232 void (*flush)(void *server_context TSRMLS_DC);
240 void (*send_header)(sapi_header_struct *sapi_header, void *server_context TSRMLS_DC);

Completed in 42 milliseconds

12