/PHP-5.6/Zend/ |
H A D | zend_ini.c | 57 …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 D | zend_ini.h | 61 #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 D | zend_modules.h | 78 const struct _zend_ini_entry *ini_entry; member
|
/PHP-5.6/sapi/fpm/fpm/ |
H A D | fpm_php.c | 28 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 D | php_ini.c | 79 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 D | main.c | 378 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 D | zend_accelerator_module.c | 123 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 D | ZendAccelerator.c | 2604 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 D | php_odbc.c | 543 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 D | basic_functions.c | 5342 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 D | php_reflection.c | 1011 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 D | php_mssql.c | 222 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 D | interbase.c | 703 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()
|