Searched refs:ini_entry (Results 1 - 13 of 13) 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/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/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/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.c2263 zend_ini_entry *ini_entry; local
2365 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), "include_path", sizeof("include_path")-1)) != NULL) {
2391 orig_include_path_on_modify = ini_entry->on_modify;
2392 ini_entry->on_modify = accel_include_path_on_modify;
2434 zend_ini_entry *ini_entry; local
2460 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), "include_path", sizeof("include_path")-1)) != NULL) {
2461 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/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/standard/
H A Dbasic_functions.c5226 zend_ini_entry *ini_entry = Z_PTR_P(zv); local
5232 if (module_number != 0 && ini_entry->module_number != module_number) {
5242 if (ini_entry->orig_value) {
5243 add_assoc_str(&option, "global_value", zend_string_copy(ini_entry->orig_value));
5244 } else if (ini_entry->value) {
5245 add_assoc_str(&option, "global_value", zend_string_copy(ini_entry->value));
5250 if (ini_entry->value) {
5251 add_assoc_str(&option, "local_value", zend_string_copy(ini_entry->value));
5256 add_assoc_long(&option, "access", ini_entry->modifiable);
5258 zend_symtable_update(Z_ARRVAL_P(ini_array), ini_entry
[all...]
/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
5279 zend_ini_entry *ini_entry = (zend_ini_entry*)Z_PTR_P(el); local
[all...]

Completed in 34 milliseconds