Home
last modified time | relevance | path

Searched refs:ini_entry (Results 1 – 13 of 13) sorted by relevance

/PHP-5.6/Zend/
H A Dzend_ini.c57 …result = ini_entry->on_modify(ini_entry, ini_entry->orig_value, ini_entry->orig_value_length, ini_… in zend_restore_ini_entry_cb()
64 if (ini_entry->value != ini_entry->orig_value) { in zend_restore_ini_entry_cb()
67 ini_entry->value = ini_entry->orig_value; in zend_restore_ini_entry_cb()
68 ini_entry->value_length = ini_entry->orig_value_length; in zend_restore_ini_entry_cb()
69 ini_entry->modifiable = ini_entry->orig_modifiable; in zend_restore_ini_entry_cb()
284 ini_entry->orig_value = ini_entry->value; in zend_alter_ini_entry_ex()
285 ini_entry->orig_value_length = ini_entry->value_length; in zend_alter_ini_entry_ex()
294 …|| ini_entry->on_modify(ini_entry, duplicate, new_value_length, ini_entry->mh_arg1, ini_entry->mh_… in zend_alter_ini_entry_ex()
425 ini_entry->displayer(ini_entry, type); in zend_ini_displayer_cb()
443 } else if (ini_entry->value && ini_entry->value[0]) { in zend_ini_displayer_cb()
[all …]
H A Dzend_ini.h61 #define ZEND_INI_DISP(name) void name(zend_ini_entry *ini_entry, int type)
81 void (*displayer)(zend_ini_entry *ini_entry, int type);
94 ZEND_API int zend_register_ini_entries(const zend_ini_entry *ini_entry, int module_number TSRMLS_DC…
107 …er_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type));
H A Dzend_modules.h78 const struct _zend_ini_entry *ini_entry; member
/PHP-5.6/sapi/fpm/fpm/
H A Dfpm_php.c28 zend_ini_entry *ini_entry; in fpm_php_zend_ini_alter_master() local
31 if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry) == FAILURE) { in fpm_php_zend_ini_alter_master()
37 if (!ini_entry->on_modify in fpm_php_zend_ini_alter_master()
38 || ini_entry->on_modify(ini_entry, duplicate, new_value_length, in fpm_php_zend_ini_alter_master()
39 ini_entry->mh_arg1, ini_entry->mh_arg2, ini_entry->mh_arg3, stage TSRMLS_CC) == SUCCESS) { in fpm_php_zend_ini_alter_master()
40 ini_entry->value = duplicate; in fpm_php_zend_ini_alter_master()
41 ini_entry->value_length = new_value_length; in fpm_php_zend_ini_alter_master()
42 ini_entry->modifiable = mode; in fpm_php_zend_ini_alter_master()
/PHP-5.6/main/
H A Dphp_ini.c79 if (ini_entry->displayer) { in php_ini_displayer_cb()
80 ini_entry->displayer(ini_entry, type); in php_ini_displayer_cb()
86 if (ini_entry->orig_value && ini_entry->orig_value[0]) { in php_ini_displayer_cb()
87 display_string = ini_entry->orig_value; in php_ini_displayer_cb()
88 display_string_length = ini_entry->orig_value_length; in php_ini_displayer_cb()
99 } else if (ini_entry->value && ini_entry->value[0]) { in php_ini_displayer_cb()
100 display_string = ini_entry->value; in php_ini_displayer_cb()
101 display_string_length = ini_entry->value_length; in php_ini_displayer_cb()
126 if (ini_entry->module_number != module_number) { in php_ini_displayer()
132 PHPWRITE(ini_entry->name, ini_entry->name_length - 1); in php_ini_displayer()
[all …]
H A Dmain.c378 if (type == ZEND_INI_DISPLAY_ORIG && ini_entry->modified) { in PHP_INI_DISP()
379 tmp_value = (ini_entry->orig_value ? ini_entry->orig_value : NULL ); in PHP_INI_DISP()
380 tmp_value_length = ini_entry->orig_value_length; in PHP_INI_DISP()
381 } else if (ini_entry->value) { in PHP_INI_DISP()
382 tmp_value = ini_entry->value; in PHP_INI_DISP()
383 tmp_value_length = ini_entry->value_length; in PHP_INI_DISP()
/PHP-5.6/ext/opcache/
H A Dzend_accelerator_module.c123 zend_ini_entry *ini_entry; in ZEND_INI_MH() local
132 (void *) &ini_entry) == FAILURE) { in ZEND_INI_MH()
136 ini_entry->value = strdup(new_new_value); in ZEND_INI_MH()
137 ini_entry->value_length = strlen(new_new_value); in ZEND_INI_MH()
162 zend_ini_entry *ini_entry; in ZEND_INI_MH() local
179 (void *) &ini_entry) == FAILURE) { in ZEND_INI_MH()
182 ini_entry->value = strdup(new_new_value); in ZEND_INI_MH()
183 ini_entry->value_length = strlen(new_new_value); in ZEND_INI_MH()
207 zend_ini_entry *ini_entry; in ZEND_INI_MH() local
215 (void *) &ini_entry) == FAILURE) { in ZEND_INI_MH()
[all …]
H A DZendAccelerator.c2604 zend_ini_entry *ini_entry; local
2710 …ind(EG(ini_directives), "include_path", sizeof("include_path"), (void **) &ini_entry) == SUCCESS) {
2736 orig_include_path_on_modify = ini_entry->on_modify;
2737 ini_entry->on_modify = accel_include_path_on_modify;
2779 zend_ini_entry *ini_entry; local
2807 …ind(EG(ini_directives), "include_path", sizeof("include_path"), (void **) &ini_entry) == SUCCESS) {
2808 ini_entry->on_modify = orig_include_path_on_modify;
/PHP-5.6/ext/odbc/
H A Dphp_odbc.c543 value = ini_entry->orig_value; in PHP_INI_DISP()
544 } else if (ini_entry->value) { in PHP_INI_DISP()
545 value = ini_entry->value; in PHP_INI_DISP()
569 } else if (ini_entry->value) { in PHP_INI_DISP()
570 value = ini_entry->value; in PHP_INI_DISP()
600 } else if (ini_entry->value) { in PHP_INI_DISP()
601 value = ini_entry->value; in PHP_INI_DISP()
631 } else if (ini_entry->value) { in PHP_INI_DISP()
632 value = ini_entry->value; in PHP_INI_DISP()
657 } else if (ini_entry->value) { in PHP_INI_DISP()
[all …]
/PHP-5.6/ext/standard/
H A Dbasic_functions.c5342 if (ini_entry->orig_value) {
5343 … add_assoc_stringl(option, "global_value", ini_entry->orig_value, ini_entry->orig_value_length, 1);
5344 } else if (ini_entry->value) {
5345 add_assoc_stringl(option, "global_value", ini_entry->value, ini_entry->value_length, 1);
5350 if (ini_entry->value) {
5351 add_assoc_stringl(option, "local_value", ini_entry->value, ini_entry->value_length, 1);
5356 add_assoc_long(option, "access", ini_entry->modifiable);
5358 add_assoc_zval_ex(ini_array, ini_entry->name, ini_entry->name_length, option);
5360 if (ini_entry->value) {
5361 add_assoc_stringl(ini_array, ini_entry->name, ini_entry->value, ini_entry->value_length, 1);
[all …]
/PHP-5.6/ext/reflection/
H A Dphp_reflection.c1011 if (number == ini_entry->module_number) { in _extension_ini_string()
1013 if (ini_entry->modifiable == ZEND_INI_ALL) { in _extension_ini_string()
1016 if (ini_entry->modifiable & ZEND_INI_USER) { in _extension_ini_string()
1020 if (ini_entry->modifiable & ZEND_INI_PERDIR) { in _extension_ini_string()
1030 string_printf(str, " %s Current = '%s'\n", indent, ini_entry->value ? ini_entry->value : ""); in _extension_ini_string()
1031 if (ini_entry->modified) { in _extension_ini_string()
1032 …string_printf(str, " %s Default = '%s'\n", indent, ini_entry->orig_value ? ini_entry->orig_val… in _extension_ini_string()
5404 if (number == ini_entry->module_number) { in _addinientry()
5405 if (ini_entry->value) { in _addinientry()
5406 add_assoc_stringl(retval, ini_entry->name, ini_entry->value, ini_entry->value_length, 1); in _addinientry()
[all …]
/PHP-5.6/ext/mssql/
H A Dphp_mssql.c222 if (type == PHP_INI_DISPLAY_ORIG && ini_entry->modified) { in PHP_INI_DISP()
223 value = ini_entry->orig_value; in PHP_INI_DISP()
224 } else if (ini_entry->value) { in PHP_INI_DISP()
225 value = ini_entry->value; in PHP_INI_DISP()
/PHP-5.6/ext/interbase/
H A Dinterbase.c703 if ((type == PHP_INI_DISPLAY_ORIG && ini_entry->orig_value) in PHP_INI_DISP()
704 || (type == PHP_INI_DISPLAY_ACTIVE && ini_entry->value)) { in PHP_INI_DISP()

Completed in 75 milliseconds