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

12

/PHP_TRUNK/main/
H A DSAPI.c428 if (SG(server_context)) {
474 if (SG(server_context)) {
512 } else if (SG(server_context)) {
560 SG(server_context) = NULL;
912 sapi_module.send_header(&http_status_line, SG(server_context));
914 zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_t) sapi_module.send_header, SG(server_context));
919 sapi_module.send_header(&default_header, SG(server_context));
922 sapi_module.send_header(NULL, SG(server_context));
1003 sapi_module.flush(SG(server_context));
1080 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);
240 void (*send_header)(sapi_header_struct *sapi_header, void *server_context);
/PHP_TRUNK/sapi/aolserver/
H A Daolserver.c500 SG(server_context) = global_context;
/PHP_TRUNK/sapi/apache/
H A Dmod_php7.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_TRUNK/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);
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) argument
259 ctx = 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;
441 const apr_array_header_t *arr = apr_table_elts(((php_struct *) SG(server_context))->r->subprocess_env);
459 php_info_print_table_row(2, "HTTP Request", ((php_struct *) SG(server_context))->r->the_request);
461 arr = apr_table_elts(((php_struct *) SG(server_context))
[all...]
H A Dsapi_apache2.c84 ctx = SG(server_context);
100 ctx = SG(server_context);
159 php_struct *ctx = SG(server_context);
190 php_struct *ctx = SG(server_context);
221 php_struct *ctx = SG(server_context);
246 php_struct *ctx = SG(server_context);
258 php_struct *ctx = SG(server_context);
273 php_struct *ctx = SG(server_context);
293 php_apache_sapi_flush(void *server_context) argument
298 ctx = server_context;
[all...]
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php7.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.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/cgi/
H A Dcgi_main.c316 fcgi_request *request = (fcgi_request*) SG(server_context);
333 static void sapi_cgi_flush(void *server_context) argument
340 static void sapi_fcgi_flush(void *server_context) argument
342 fcgi_request *request = (fcgi_request*) server_context;
544 fcgi_request *request = (fcgi_request*) SG(server_context);
574 fcgi_request *request = (fcgi_request*) SG(server_context);
635 fcgi_request *request = (fcgi_request*) SG(server_context);
673 fcgi_request *request = (fcgi_request*) SG(server_context);
695 fcgi_request *request = (fcgi_request*) SG(server_context);
749 request = (fcgi_request*) SG(server_context);
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c426 client = SG(server_context);
546 php_cli_server_client *client = SG(server_context);
553 static void sapi_cli_server_flush(void *server_context) /* {{{ */ argument
555 php_cli_server_client *client = server_context;
579 php_cli_server_client *client = SG(server_context);
616 php_cli_server_client *client = SG(server_context);
626 php_cli_server_client *client = SG(server_context);
671 php_cli_server_client *client = SG(server_context);
2066 SG(server_context) = NULL;
2115 SG(server_context)
[all...]
/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);
483 SG(server_context) = request_context;
/PHP_TRUNK/sapi/embed/
H A Dphp_embed.c86 static void php_embed_flush(void *server_context) argument
93 static void php_embed_send_header(sapi_header_struct *sapi_header, void *server_context) argument
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_log.c236 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) argument
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);
657 fcgi_request *request = (fcgi_request*) SG(server_context);
839 !fcgi_finish_request((fcgi_request*)SG(server_context), 0)) {
1520 fcgi_request *request = (fcgi_request*) SG(server_context);
[all...]
/PHP_TRUNK/sapi/isapi/
H A Dphp7isapi.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);
785 LPEXTENSION_CONTROL_BLOCK lpECB = (LPEXTENSION_CONTROL_BLOCK) SG(server_context);
846 SG(server_context) = lpECB;
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c158 static void sapi_lsapi_flush( void * server_context )
666 /* avoid server_context==NULL checks */
667 SG(server_context) = (void *) 1;
801 SG(server_context) = (void *) 1;
/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) argument
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/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.c634 SG(server_context) = (void *)1; /* avoid server_context == NULL */
/PHP_TRUNK/sapi/thttpd/
H A Dthttpd.c752 SG(server_context) = (void *) 1;
759 if (SG(server_context) != NULL) {
/PHP_TRUNK/sapi/tux/
H A Dphp_tux.c431 SG(server_context) = (void *) 1;
436 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) argument
318 SG(server_context) = (void *) 1;

Completed in 37 milliseconds

12