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

12

/PHP_TRUNK/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) {
128 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 Dinfo.c53 #define SECTION(name) if (!sapi_module.phpinfo_as_text) { \
107 if (!sapi_module.phpinfo_as_text) {
116 if (!sapi_module.phpinfo_as_text) {
129 if (!sapi_module.phpinfo_as_text) {
146 if (!sapi_module.phpinfo_as_text) {
167 if (!sapi_module.phpinfo_as_text) {
210 if (!sapi_module.phpinfo_as_text) {
220 if (!sapi_module.phpinfo_as_text) {
229 if (!sapi_module.phpinfo_as_text) {
235 if (!sapi_module
[all...]
H A Dphp_fopen_wrapper.c248 if (!strcmp(sapi_module.name, "cli")) {
261 if (!strcmp(sapi_module.name, "cli")) {
274 if (!strcmp(sapi_module.name, "cli")) {
292 if (strcmp(sapi_module.name, "cli")) {
/PHP_TRUNK/main/
H A DSAPI.c81 SAPI_API sapi_module_struct sapi_module; variable
91 sapi_module = *sf;
228 if (!sapi_module.default_post_reader) {
231 sapi_module.sapi_error(E_WARNING, "Unsupported content type: '%s'", content_type);
245 if(sapi_module.default_post_reader) {
246 sapi_module.default_post_reader();
254 if (!sapi_module.read_post) {
258 read_bytes = (int)sapi_module.read_post(buffer, buflen);
283 if (sapi_module.read_post) {
429 SG(request_info).cookie_data = sapi_module
[all...]
H A DSAPI.h72 extern SAPI_API sapi_module_struct sapi_module; /* true global */
225 int (*startup)(struct _sapi_module_struct *sapi_module);
226 int (*shutdown)(struct _sapi_module_struct *sapi_module);
H A Dmain.c276 if (sapi_module.executable_location) {
278 if (!strchr(sapi_module.executable_location, '/')) {
291 snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location);
304 } else if (!VCWD_REALPATH(sapi_module.executable_location, binary_location) || VCWD_ACCESS(binary_location, X_OK)) {
394 cgi_or_cli = (!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module.name, "cgi"));
705 if (sapi_module.log_message) {
706 sapi_module.log_message(log_message);
1147 if ((!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module
[all...]
H A Dphp_ini.c90 esc_html = !sapi_module.phpinfo_as_text;
92 if (!sapi_module.phpinfo_as_text) {
103 esc_html = !sapi_module.phpinfo_as_text;
105 if (!sapi_module.phpinfo_as_text) {
133 if (!sapi_module.phpinfo_as_text) {
391 if (sapi_module.ini_defaults) {
392 sapi_module.ini_defaults(&configuration_hash);
400 if (sapi_module.php_ini_path_override) {
401 php_ini_file_name = sapi_module.php_ini_path_override;
402 php_ini_search_path = sapi_module
[all...]
H A Dphp_variables.c284 if (sapi_module.input_filter(PARSE_POST, var->ptr, &val, vlen, &new_vlen)) {
459 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) {
470 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) {
594 if (sapi_module.register_server_variables) {
595 sapi_module.register_server_variables(&PG(http_globals)[TRACK_VARS_SERVER]);
671 sapi_module.treat_data(PARSE_GET, NULL, NULL);
690 sapi_module.treat_data(PARSE_POST, NULL, NULL);
705 sapi_module.treat_data(PARSE_COOKIE, NULL, NULL);
/PHP_TRUNK/sapi/aolserver/
H A Daolserver.c62 sapi_module_struct *sapi_module; member in struct:__anon282
281 php_ns_startup(sapi_module_struct *sapi_module) argument
283 if (php_module_startup(sapi_module, &php_aolserver_module, 1) == FAILURE) {
580 ctx->sapi_module->shutdown(ctx->sapi_module);
602 sapi_module.startup(&aolserver_sapi_module);
609 ctx->sapi_module = &aolserver_sapi_module;
/PHP_TRUNK/sapi/apache2filter/
H A Dsapi_apache2.c239 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len)) {
245 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len)) {
321 static int php_apache2_startup(sapi_module_struct *sapi_module) argument
323 if (php_module_startup(sapi_module, &php_apache_module, 1)==FAILURE) {
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c282 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len)) {
287 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len)) {
348 static int php_apache2_startup(sapi_module_struct *sapi_module) argument
350 if (php_module_startup(sapi_module, &php_apache_module, 1)==FAILURE) {
/PHP_TRUNK/sapi/caudium/
H A Dcaudium.c523 static int php_caudium_startup(sapi_module_struct *sapi_module) argument
525 if (php_module_startup(sapi_module, &php_caudium_module, 1)==FAILURE) {
763 sapi_module.startup(&caudium_sapi_module);
779 sapi_module.shutdown(&caudium_sapi_module);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c355 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, len, &len)) {
358 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &php_self, len, &len)) {
363 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_FILENAME", &script_filename, len, &len)) {
366 if (sapi_module.input_filter(PARSE_SERVER, "PATH_TRANSLATED", &script_filename, len, &len)) {
371 if (sapi_module.input_filter(PARSE_SERVER, "DOCUMENT_ROOT", &docroot, len, &len)) {
419 static int php_cli_startup(sapi_module_struct *sapi_module) /* {{{ */ argument
421 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
1201 sapi_module_struct *sapi_module = &cli_sapi_module; local
1297 sapi_module = &cli_server_sapi_module;
1306 sapi_module
[all...]
/PHP_TRUNK/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_TRUNK/sapi/embed/
H A Dphp_embed.c107 static int php_embed_startup(sapi_module_struct *sapi_module) argument
109 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
/PHP_TRUNK/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)) {
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());
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c578 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &PHPDBG_G(exec), PHPDBG_G(exec_len), &len)) {
581 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &PHPDBG_G(exec), PHPDBG_G(exec_len), &len)) {
585 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_FILENAME", &PHPDBG_G(exec), PHPDBG_G(exec_len), &len)) {
588 if (sapi_module.input_filter(PARSE_SERVER, "PATH_TRANSLATED", &PHPDBG_G(exec), PHPDBG_G(exec_len), &len)) {
595 if (sapi_module.input_filter(PARSE_SERVER, "DOCUMENT_ROOT", &docroot, len, &len)) {
1615 /* sapi_module.deactivate is where to backup things, last chance before mm_shutdown... */
H A Dphpdbg_rinit_hook.c36 if (!strcmp(sapi_module.name, PHPDBG_NAME)) {
H A Dphpdbg_wait.c202 PHPDBG_G(sapi_name_ptr) = sapi_module.name = strdup(Z_STRVAL_P(zvp));
204 PHPDBG_G(sapi_name_ptr) = sapi_module.name = NULL;
235 if (!sapi_module.name || strcmp(sapi_module.name, Z_STRVAL_P(module))) {
H A Dphpdbg_webdata_transfer.c69 if (sapi_module.name) {
70 ZVAL_STRING(&zv[6], sapi_module.name);
/PHP_TRUNK/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_TRUNK/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_TRUNK/sapi/tux/
H A Dphp_tux.c252 static int php_tux_startup(sapi_module_struct *sapi_module) argument
254 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
/PHP_TRUNK/sapi/webjames/
H A Dwebjames.c267 static int php_webjames_startup(sapi_module_struct *sapi_module) argument
269 if(php_module_startup(sapi_module, &php_webjames_module, 1) == FAILURE) {
276 static sapi_module_struct sapi_module = { variable
316 sapi_startup(&sapi_module);
317 sapi_module.startup(&sapi_module);
325 sapi_module.shutdown(&sapi_module);

Completed in 30 milliseconds

12