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

/PHP_TRUNK/Zend/
H A Dzend_modules.h78 const struct _zend_ini_entry *ini_entry; member in struct:_zend_module_entry
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);
73 ZEND_API int zend_register_ini_entries(const zend_ini_entry_def *ini_entry, int module_number TSRMLS_DC);
88 ZEND_API int zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type));
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 TSRMLS_DC) /* {{{ */ 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
206 zend_register_ini_entries(const zend_ini_entry_def *ini_entry, int module_number TSRMLS_DC) argument
328 zend_ini_entry *ini_entry; local
358 zend_hash_add_ptr(EG(modified_ini_directives), name, ini_entry); local
380 zend_ini_entry *ini_entry; local
400 zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type)) argument
402 zend_ini_entry *ini_entry; local
420 zend_ini_entry *ini_entry; local
438 zend_ini_entry *ini_entry; local
456 zend_ini_entry *ini_entry; local
495 zend_ini_displayer_cb(zend_ini_entry *ini_entry, int type) argument
[all...]
/PHP_TRUNK/ext/opcache/
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);
H A DZendAccelerator.c2261 zend_ini_entry *ini_entry; local
2363 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), "include_path", sizeof("include_path")-1)) != NULL) {
2389 orig_include_path_on_modify = ini_entry->on_modify;
2390 ini_entry->on_modify = accel_include_path_on_modify;
2432 zend_ini_entry *ini_entry; local
2458 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), "include_path", sizeof("include_path")-1)) != NULL) {
2459 ini_entry->on_modify = orig_include_path_on_modify;
/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 TSRMLS_CC) == SUCCESS) {
40 ini_entry->value = duplicate;
41 ini_entry
[all...]
/PHP_TRUNK/ext/interbase/
H A Dinterbase.c699 if ((type == PHP_INI_DISPLAY_ORIG && ini_entry->orig_value)
700 || (type == PHP_INI_DISPLAY_ACTIVE && ini_entry->value)) {
/PHP_TRUNK/main/
H A Dphp_ini.c77 static void php_ini_displayer_cb(zend_ini_entry *ini_entry, int type TSRMLS_DC) argument
79 if (ini_entry->displayer) {
80 ini_entry->displayer(ini_entry, type);
85 if (type == ZEND_INI_DISPLAY_ORIG && ini_entry->modified) {
86 if (ini_entry->orig_value && ini_entry->orig_value->val[0]) {
87 display_string = ini_entry->orig_value->val;
88 display_string_length = ini_entry->orig_value->len;
99 } else if (ini_entry
126 zend_ini_entry *ini_entry = (zend_ini_entry*)Z_PTR_P(el); local
157 zend_ini_entry *ini_entry = (zend_ini_entry *)Z_PTR_P(el); local
[all...]
H A Dmain.c381 if (type == ZEND_INI_DISPLAY_ORIG && ini_entry->modified) {
382 tmp_value = (ini_entry->orig_value ? ini_entry->orig_value->val : NULL );
383 tmp_value_length = ini_entry->orig_value->len;
384 } else if (ini_entry->value) {
385 tmp_value = ini_entry->value->val;
386 tmp_value_length = ini_entry->value->len;
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c222 if (type == PHP_INI_DISPLAY_ORIG && ini_entry->modified) {
223 value = ini_entry->orig_value;
224 } else if (ini_entry->value) {
225 value = ini_entry->value;
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c526 if (type == PHP_INI_DISPLAY_ORIG && ini_entry->modified) {
527 value = ini_entry->orig_value->val;
528 } else if (ini_entry->value) {
529 value = ini_entry->value->val;
551 if (type == PHP_INI_DISPLAY_ORIG && ini_entry->modified) {
552 value = ini_entry->orig_value->val;
553 } else if (ini_entry->value) {
554 value = ini_entry->value->val;
582 if (type == PHP_INI_DISPLAY_ORIG && ini_entry->modified) {
583 value = ini_entry
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c954 zend_ini_entry *ini_entry = (zend_ini_entry*)Z_PTR_P(el); local
960 if (number == ini_entry->module_number) {
961 string_printf(str, " %sEntry [ %s <", indent, ini_entry->name->val);
962 if (ini_entry->modifiable == ZEND_INI_ALL) {
965 if (ini_entry->modifiable & ZEND_INI_USER) {
969 if (ini_entry->modifiable & ZEND_INI_PERDIR) {
973 if (ini_entry->modifiable & ZEND_INI_SYSTEM) {
979 string_printf(str, " %s Current = '%s'\n", indent, ini_entry->value ? ini_entry->value->val : "");
980 if (ini_entry
5287 zend_ini_entry *ini_entry = (zend_ini_entry*)Z_PTR_P(el); local
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c5227 zend_ini_entry *ini_entry = Z_PTR_P(zv); local
5233 if (module_number != 0 && ini_entry->module_number != module_number) {
5243 if (ini_entry->orig_value) {
5244 add_assoc_str(&option, "global_value", zend_string_copy(ini_entry->orig_value));
5245 } else if (ini_entry->value) {
5246 add_assoc_str(&option, "global_value", zend_string_copy(ini_entry->value));
5251 if (ini_entry->value) {
5252 add_assoc_str(&option, "local_value", zend_string_copy(ini_entry->value));
5257 add_assoc_long(&option, "access", ini_entry->modifiable);
5259 zend_symtable_update(Z_ARRVAL_P(ini_array), ini_entry
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_wait.c304 zval *ini_entry; local
308 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(zvp), key, ini_entry) {
309 if (key && Z_TYPE_P(ini_entry) == IS_STRING) {
311 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 TSRMLS_CC) == SUCCESS) {
315 original_ini->value = Z_STR_P(ini_entry);
316 Z_ADDREF_P(ini_entry); /* don't free the string */
324 zval *ini_entry; local
327 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(zvp), key, ini_entry) {
328 if (key && Z_TYPE_P(ini_entry) == IS_STRING) {
329 zend_alter_ini_entry_ex(key, Z_STR_P(ini_entry), ZEND_INI_PERDI
[all...]
H A Dphpdbg_webdata_transfer.c124 zend_ini_entry *ini_entry; local
127 ZEND_HASH_FOREACH_PTR(EG(ini_directives), ini_entry) {
129 if (ini_entry->modified) {
130 if (!ini_entry->orig_value) {
134 ZVAL_STR(value, ini_entry->orig_value);
136 if (!ini_entry->value) {
140 ZVAL_STR(value, ini_entry->value);
142 zend_hash_add(Z_ARRVAL(zv[3]), ini_entry->name, value);
149 zend_ini_entry *ini_entry; local
152 ZEND_HASH_FOREACH_PTR(EG(ini_directives), ini_entry) {
[all...]

Completed in 36 milliseconds