Searched refs:ini_entry (Results 1 - 15 of 15) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_ini.c39 zend_ini_entry *ini_entry = (zend_ini_entry *)Z_PTR_P(el); local
41 if (ini_entry->module_number == module_number) {
49 static int zend_restore_ini_entry_cb(zend_ini_entry *ini_entry, int stage) /* {{{ */ argument
53 if (ini_entry->modified) {
54 if (ini_entry->on_modify) {
59 result = ini_entry->on_modify(ini_entry, ini_entry->orig_value, ini_entry->mh_arg1, ini_entry
81 zend_ini_entry *ini_entry = (zend_ini_entry *)Z_PTR_P(el); local
212 zend_register_ini_entries(const zend_ini_entry_def *ini_entry, int module_number) argument
332 zend_ini_entry *ini_entry; local
362 zend_hash_add_ptr(EG(modified_ini_directives), name, ini_entry); local
384 zend_ini_entry *ini_entry; local
403 zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type)) argument
405 zend_ini_entry *ini_entry; local
423 zend_ini_entry *ini_entry; local
440 zend_ini_entry *ini_entry; local
457 zend_ini_entry *ini_entry; local
495 zend_ini_displayer_cb(zend_ini_entry *ini_entry, int type) argument
[all...]
H A Dzend_ini.h31 #define ZEND_INI_DISP(name) void name(zend_ini_entry *ini_entry, int type)
40 void (*displayer)(zend_ini_entry *ini_entry, int type);
55 void (*displayer)(zend_ini_entry *ini_entry, int type);
74 ZEND_API int zend_register_ini_entries(const zend_ini_entry_def *ini_entry, int module_number);
89 ZEND_API int zend_ini_register_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 in struct:_zend_module_entry
/PHP_TRUNK/ext/interbase/
H A Dinterbase.c698 if ((type == PHP_INI_DISPLAY_ORIG && ini_entry->orig_value)
699 || (type == PHP_INI_DISPLAY_ACTIVE && ini_entry->value)) {
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c221 if (type == PHP_INI_DISPLAY_ORIG && ini_entry->modified) {
222 value = ini_entry->orig_value;
223 } else if (ini_entry->value) {
224 value = ini_entry->value;
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c525 if (type == PHP_INI_DISPLAY_ORIG && ini_entry->modified) {
526 value = ini_entry->orig_value->val;
527 } else if (ini_entry->value) {
528 value = ini_entry->value->val;
549 if (type == PHP_INI_DISPLAY_ORIG && ini_entry->modified) {
550 value = ini_entry->orig_value->val;
551 } else if (ini_entry->value) {
552 value = ini_entry->value->val;
579 if (type == PHP_INI_DISPLAY_ORIG && ini_entry->modified) {
580 value = ini_entry
[all...]
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c2255 zend_ini_entry *ini_entry; local
2352 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), "include_path", sizeof("include_path")-1)) != NULL) {
2378 orig_include_path_on_modify = ini_entry->on_modify;
2379 ini_entry->on_modify = accel_include_path_on_modify;
2421 zend_ini_entry *ini_entry; local
2447 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), "include_path", sizeof("include_path")-1)) != NULL) {
2448 ini_entry->on_modify = orig_include_path_on_modify;
H A Dzend_accelerator_module.c119 zend_ini_entry *ini_entry; local
125 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives),
131 ini_entry->value = zend_string_init(new_new_value, 1, 1);
156 zend_ini_entry *ini_entry; local
170 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives),
175 ini_entry->value = zend_string_init(new_new_value, strlen(new_new_value), 1);
199 zend_ini_entry *ini_entry; local
204 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives),
209 ini_entry->value = zend_string_init(new_new_value, strlen(new_new_value), 1);
/PHP_TRUNK/main/
H A Dmain.c380 if (type == ZEND_INI_DISPLAY_ORIG && ini_entry->modified) {
381 tmp_value = (ini_entry->orig_value ? ini_entry->orig_value->val : NULL );
382 tmp_value_length = (int)ini_entry->orig_value->len;
383 } else if (ini_entry->value) {
384 tmp_value = ini_entry->value->val;
385 tmp_value_length = (int)ini_entry->value->len;
H A Dphp_ini.c77 static void php_ini_displayer_cb(zend_ini_entry *ini_entry, int type) argument
79 if (ini_entry->displayer) {
80 ini_entry->displayer(ini_entry, type);
86 if (type == ZEND_INI_DISPLAY_ORIG && ini_entry->modified) {
87 if (ini_entry->orig_value && ini_entry->orig_value->val[0]) {
88 display_string = ini_entry->orig_value->val;
89 display_string_length = ini_entry->orig_value->len;
100 } else if (ini_entry
127 zend_ini_entry *ini_entry = (zend_ini_entry*)Z_PTR_P(el); local
158 zend_ini_entry *ini_entry = (zend_ini_entry *)Z_PTR_P(el); local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_wait.c305 zval *ini_entry; local
309 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(zvp), key, ini_entry) {
310 if (key && Z_TYPE_P(ini_entry) == IS_STRING) {
312 if (!original_ini->on_modify || original_ini->on_modify(original_ini, Z_STR_P(ini_entry), original_ini->mh_arg1, original_ini->mh_arg2, original_ini->mh_arg3, ZEND_INI_STAGE_ACTIVATE) == SUCCESS) {
316 original_ini->value = Z_STR_P(ini_entry);
317 Z_ADDREF_P(ini_entry); /* don't free the string */
325 zval *ini_entry; local
328 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(zvp), key, ini_entry) {
329 if (key && Z_TYPE_P(ini_entry) == IS_STRING) {
330 zend_alter_ini_entry_ex(key, Z_STR_P(ini_entry), ZEND_INI_PERDI
[all...]
H A Dphpdbg_webdata_transfer.c122 zend_ini_entry *ini_entry; local
125 ZEND_HASH_FOREACH_PTR(EG(ini_directives), ini_entry) {
127 if (ini_entry->modified) {
128 if (!ini_entry->orig_value) {
132 ZVAL_STR(value, ini_entry->orig_value);
134 if (!ini_entry->value) {
138 ZVAL_STR(value, ini_entry->value);
140 zend_hash_add(Z_ARRVAL(zv[3]), ini_entry->name, value);
147 zend_ini_entry *ini_entry; local
150 ZEND_HASH_FOREACH_PTR(EG(ini_directives), ini_entry) {
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c5219 zend_ini_entry *ini_entry = Z_PTR_P(zv); local
5225 if (module_number != 0 && ini_entry->module_number != module_number) {
5235 if (ini_entry->orig_value) {
5236 add_assoc_str(&option, "global_value", zend_string_copy(ini_entry->orig_value));
5237 } else if (ini_entry->value) {
5238 add_assoc_str(&option, "global_value", zend_string_copy(ini_entry->value));
5243 if (ini_entry->value) {
5244 add_assoc_str(&option, "local_value", zend_string_copy(ini_entry->value));
5249 add_assoc_long(&option, "access", ini_entry->modifiable);
5251 zend_symtable_update(Z_ARRVAL_P(ini_array), ini_entry
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c964 zend_ini_entry *ini_entry = (zend_ini_entry*)Z_PTR_P(el); local
970 if (number == ini_entry->module_number) {
971 string_printf(str, " %sEntry [ %s <", indent, ini_entry->name->val);
972 if (ini_entry->modifiable == ZEND_INI_ALL) {
975 if (ini_entry->modifiable & ZEND_INI_USER) {
979 if (ini_entry->modifiable & ZEND_INI_PERDIR) {
983 if (ini_entry->modifiable & ZEND_INI_SYSTEM) {
989 string_printf(str, " %s Current = '%s'\n", indent, ini_entry->value ? ini_entry->value->val : "");
990 if (ini_entry
5347 zend_ini_entry *ini_entry = (zend_ini_entry*)Z_PTR_P(el); local
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php.c28 zend_ini_entry *ini_entry; local
31 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length))) {
37 if (!ini_entry->on_modify
38 || ini_entry->on_modify(ini_entry, duplicate,
39 ini_entry->mh_arg1, ini_entry->mh_arg2, ini_entry->mh_arg3, stage) == SUCCESS) {
40 ini_entry->value = duplicate;
41 ini_entry
[all...]

Completed in 35 milliseconds