Lines Matching refs:sapi_module
1021 if (sapi_module.get_stat && in zend_get_file_handle_timestamp()
1025 zend_stat_t *tmpbuf = sapi_module.get_stat(); in zend_get_file_handle_timestamp()
2837 if (sapi_module.name) { in accel_find_sapi()
2839 if (strcmp(sapi_module.name, *sapi_name) == 0) { in accel_find_sapi()
2844 strcmp(sapi_module.name, "cli") == 0 in accel_find_sapi()
2845 || strcmp(sapi_module.name, "phpdbg") == 0)) { in accel_find_sapi()
3157 (strcmp(sapi_module.name, "cli") == 0 || in accel_startup()
3158 strcmp(sapi_module.name, "cli-server") == 0 || in accel_startup()
3159 strcmp(sapi_module.name, "cgi-fcgi") == 0 || in accel_startup()
3160 strcmp(sapi_module.name, "fpm-fcgi") == 0)) { in accel_startup()
3169 strcmp(sapi_module.name, "cli") == 0) { in accel_startup()
4612 int (*orig_activate)(void) = sapi_module.activate;
4613 int (*orig_deactivate)(void) = sapi_module.deactivate;
4614 …void (*orig_register_server_variables)(zval *track_vars_array) = sapi_module.register_server_varia…
4615 …pi_header, sapi_header_op_enum op, sapi_headers_struct *sapi_headers) = sapi_module.header_handler;
4616 int (*orig_send_headers)(sapi_headers_struct *sapi_headers) = sapi_module.send_headers;
4617 …void (*orig_send_header)(sapi_header_struct *sapi_header, void *server_context)= sapi_module.send_…
4618 char *(*orig_getenv)(const char *name, size_t name_len) = sapi_module.getenv;
4619 size_t (*orig_ub_write)(const char *str, size_t str_length) = sapi_module.ub_write;
4620 void (*orig_flush)(void *server_context) = sapi_module.flush;
4625 sapi_module.activate = NULL;
4626 sapi_module.deactivate = NULL;
4627 sapi_module.register_server_variables = NULL;
4628 sapi_module.header_handler = preload_header_handler;
4629 sapi_module.send_headers = preload_send_headers;
4630 sapi_module.send_header = preload_send_header;
4631 sapi_module.getenv = NULL;
4632 sapi_module.ub_write = preload_ub_write;
4633 sapi_module.flush = preload_flush;
4691 sapi_module.activate = orig_activate;
4692 sapi_module.deactivate = orig_deactivate;
4693 sapi_module.register_server_variables = orig_register_server_variables;
4694 sapi_module.header_handler = orig_header_handler;
4695 sapi_module.send_headers = orig_send_headers;
4696 sapi_module.send_header = orig_send_header;
4697 sapi_module.getenv = orig_getenv;
4698 sapi_module.ub_write = orig_ub_write;
4699 sapi_module.flush = orig_flush;
4722 bool sapi_requires_preload_user = !(strcmp(sapi_module.name, "cli") == 0
4723 || strcmp(sapi_module.name, "phpdbg") == 0);