Searched refs:sapi_module (Results 1 - 25 of 45) sorted by relevance

12

/PHP_5_5/ext/standard/
H A Dcredits.c30 if (!sapi_module.phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE) {
34 if (!sapi_module.phpinfo_as_text) {
52 if (!sapi_module.phpinfo_as_text) {
127 if (!sapi_module.phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE) {
H A Ddl.c73 if ((strncmp(sapi_module.name, "cgi", 3) != 0) &&
74 (strcmp(sapi_module.name, "cli") != 0) &&
75 (strncmp(sapi_module.name, "embed", 5) != 0)
H A Dphp_fopen_wrapper.c88 } else if (sapi_module.read_post) {
89 read_bytes = sapi_module.read_post(buf, count TSRMLS_CC);
222 if (!strcmp(sapi_module.name, "cli")) {
235 if (!strcmp(sapi_module.name, "cli")) {
248 if (!strcmp(sapi_module.name, "cli")) {
266 if (strcmp(sapi_module.name, "cli")) {
H A Dinfo.c52 #define SECTION(name) if (!sapi_module.phpinfo_as_text) { \
111 if (!sapi_module.phpinfo_as_text) {
120 if (!sapi_module.phpinfo_as_text) {
133 if (!sapi_module.phpinfo_as_text) {
150 if (!sapi_module.phpinfo_as_text) {
166 if (!sapi_module.phpinfo_as_text) {
208 if (!sapi_module.phpinfo_as_text) {
218 if (!sapi_module.phpinfo_as_text) {
229 if (!sapi_module.phpinfo_as_text) {
235 if (!sapi_module
[all...]
/PHP_5_5/main/
H A DSAPI.h70 extern SAPI_API sapi_module_struct sapi_module; /* true global */
221 int (*startup)(struct _sapi_module_struct *sapi_module);
222 int (*shutdown)(struct _sapi_module_struct *sapi_module);
H A Dphp_ini.c89 esc_html = !sapi_module.phpinfo_as_text;
91 if (!sapi_module.phpinfo_as_text) {
102 esc_html = !sapi_module.phpinfo_as_text;
104 if (!sapi_module.phpinfo_as_text) {
129 if (!sapi_module.phpinfo_as_text) {
396 if (sapi_module.ini_defaults) {
397 sapi_module.ini_defaults(&configuration_hash);
405 if (sapi_module.php_ini_path_override) {
406 php_ini_file_name = sapi_module.php_ini_path_override;
407 php_ini_search_path = sapi_module
[all...]
H A Dphp_variables.c259 if (sapi_module.input_filter(PARSE_POST, var, &val, val_len, &new_val_len TSRMLS_CC)) {
389 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len TSRMLS_CC)) {
400 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len TSRMLS_CC)) {
549 if (sapi_module.register_server_variables) {
550 sapi_module.register_server_variables(array_ptr TSRMLS_CC);
638 sapi_module.treat_data(PARSE_GET, NULL, NULL TSRMLS_CC);
665 sapi_module.treat_data(PARSE_POST, NULL, NULL TSRMLS_CC);
688 sapi_module.treat_data(PARSE_COOKIE, NULL, NULL TSRMLS_CC);
H A DSAPI.c73 SAPI_API sapi_module_struct sapi_module; variable
83 sapi_module = *sf;
237 if (!sapi_module.default_post_reader) {
240 sapi_module.sapi_error(E_WARNING, "Unsupported content type: '%s'", content_type);
254 if(sapi_module.default_post_reader) {
255 sapi_module.default_post_reader(TSRMLS_C);
273 read_bytes = sapi_module.read_post(SG(request_info).post_data+SG(read_post_bytes), SAPI_POST_BLOCK_SIZE TSRMLS_CC);
415 SG(request_info).cookie_data = sapi_module.read_cookies(TSRMLS_C);
416 if (sapi_module.activate) {
417 sapi_module
[all...]
H A Dmain.c273 if (sapi_module.executable_location) {
275 if (!strchr(sapi_module.executable_location, '/')) {
288 snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location);
301 } else if (!VCWD_REALPATH(sapi_module.executable_location, binary_location) || VCWD_ACCESS(binary_location, X_OK)) {
392 cgi_or_cli = (!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module.name, "cgi"));
660 if (sapi_module.log_message) {
661 sapi_module.log_message(log_message TSRMLS_CC);
1096 if ((!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module
[all...]
/PHP_5_5/sapi/aolserver/
H A Daolserver.c62 sapi_module_struct *sapi_module; member in struct:__anon321
281 php_ns_startup(sapi_module_struct *sapi_module) argument
283 if (php_module_startup(sapi_module, &php_aolserver_module, 1) == FAILURE) {
581 ctx->sapi_module->shutdown(ctx->sapi_module);
603 sapi_module.startup(&aolserver_sapi_module);
610 ctx->sapi_module = &aolserver_sapi_module;
/PHP_5_5/sapi/apache/
H A Dmod_php5.c273 if (sapi_module.input_filter(PARSE_SERVER, elts[i].key, &val, val_len, &new_val_len TSRMLS_CC)) {
290 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &((request_rec *) SG(server_context))->uri, strlen(((request_rec *) SG(server_context))->uri), &new_val_len TSRMLS_CC)) {
298 static int php_apache_startup(sapi_module_struct *sapi_module) argument
300 if (php_module_startup(sapi_module, &apache_module_entry, 1) == FAILURE) {
/PHP_5_5/sapi/apache2filter/
H A Dsapi_apache2.c236 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len TSRMLS_CC)) {
242 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len TSRMLS_CC)) {
319 static int php_apache2_startup(sapi_module_struct *sapi_module) argument
321 if (php_module_startup(sapi_module, &php_apache_module, 1)==FAILURE) {
/PHP_5_5/sapi/caudium/
H A Dcaudium.c524 static int php_caudium_startup(sapi_module_struct *sapi_module) argument
526 if (php_module_startup(sapi_module, &php_caudium_module, 1)==FAILURE) {
765 sapi_module.startup(&caudium_sapi_module);
781 sapi_module.shutdown(&caudium_sapi_module);
/PHP_5_5/sapi/cli/
H A Dphp_cli.c351 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, len, &len TSRMLS_CC)) {
354 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &php_self, len, &len TSRMLS_CC)) {
359 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_FILENAME", &script_filename, len, &len TSRMLS_CC)) {
362 if (sapi_module.input_filter(PARSE_SERVER, "PATH_TRANSLATED", &script_filename, len, &len TSRMLS_CC)) {
367 if (sapi_module.input_filter(PARSE_SERVER, "DOCUMENT_ROOT", &docroot, len, &len TSRMLS_CC)) {
415 static int php_cli_startup(sapi_module_struct *sapi_module) /* {{{ */ argument
417 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
1219 sapi_module_struct *sapi_module = &cli_sapi_module; local
1314 sapi_module = &cli_server_sapi_module;
1323 sapi_module
[all...]
/PHP_5_5/sapi/continuity/
H A Dcapi.c352 static int php_capi_startup(sapi_module_struct *sapi_module);
389 static int php_capi_startup(sapi_module_struct *sapi_module) { argument
390 if(php_module_startup(sapi_module,&continuity_module_entry,1)==FAILURE) {
/PHP_5_5/sapi/embed/
H A Dphp_embed.c103 static int php_embed_startup(sapi_module_struct *sapi_module) argument
105 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
/PHP_5_5/sapi/phttpd/
H A Dphttpd.c44 php_phttpd_startup(sapi_module_struct *sapi_module) argument
48 if (php_module_startup(sapi_module, NULL, 0)) {
/PHP_5_5/sapi/pi3web/
H A Dpi3web_sapi.c202 static int php_pi3web_startup(sapi_module_struct *sapi_module) argument
204 if (php_module_startup(sapi_module, &php_pi3web_module, 1)==FAILURE) {
/PHP_5_5/sapi/roxen/
H A Droxen.c474 static int php_roxen_startup(sapi_module_struct *sapi_module) argument
476 if(php_module_startup(sapi_module, &php_roxen_module, 1) == FAILURE) {
/PHP_5_5/sapi/thttpd/
H A Dthttpd.c352 static int php_thttpd_startup(sapi_module_struct *sapi_module) argument
355 if (php_module_startup(sapi_module, &php_thttpd_module, 1) == FAILURE) {
357 if (php_module_startup(sapi_module) == FAILURE
/PHP_5_5/sapi/tux/
H A Dphp_tux.c256 static int php_tux_startup(sapi_module_struct *sapi_module) argument
258 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
/PHP_5_5/sapi/webjames/
H A Dwebjames.c269 static int php_webjames_startup(sapi_module_struct *sapi_module) argument
271 if(php_module_startup(sapi_module, &php_webjames_module, 1) == FAILURE) {
278 static sapi_module_struct sapi_module = { variable
319 sapi_startup(&sapi_module);
320 sapi_module.startup(&sapi_module);
328 sapi_module.shutdown(&sapi_module);
/PHP_5_5/ext/session/
H A Dmod_mm.c277 int mod_name_len = strlen(sapi_module.name);
303 memcpy(ps_mm_path + save_path_len, sapi_module.name, mod_name_len);
/PHP_5_5/sapi/apache2handler/
H A Dsapi_apache2.c279 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len TSRMLS_CC)) {
284 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len TSRMLS_CC)) {
346 static int php_apache2_startup(sapi_module_struct *sapi_module) argument
348 if (php_module_startup(sapi_module, &php_apache_module, 1)==FAILURE) {
/PHP_5_5/sapi/litespeed/
H A Dlsapi_main.c91 static int php_lsapi_startup(sapi_module_struct *sapi_module) argument
93 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
96 argv0 = sapi_module->executable_location;
212 if (sapi_module.input_filter(filter_arg, (char *)pKey, &new_val, valLen, &new_val_len TSRMLS_CC)) {
843 php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2014 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
845 php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2014 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());

Completed in 31 milliseconds

12