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

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php.c28 zend_ini_entry *ini_entry; local
31 if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry) == FAILURE) {
37 if (!ini_entry->on_modify
38 || ini_entry->on_modify(ini_entry, duplicate, new_value_length,
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/Zend/
H A Dzend_ini.c37 static int zend_remove_ini_entries(zend_ini_entry *ini_entry, int *module_number TSRMLS_DC) /* {{{ */ argument
39 if (ini_entry->module_number == *module_number) {
47 static int zend_restore_ini_entry_cb(zend_ini_entry *ini_entry, int stage TSRMLS_DC) /* {{{ */ argument
51 if (ini_entry->modified) {
52 if (ini_entry->on_modify) {
57 result = ini_entry->on_modify(ini_entry, ini_entry->orig_value, ini_entry->orig_value_length, ini_entry
134 zend_ini_entry ini_entry; local
142 zend_hash_copy(EG(ini_directives), registered_zend_ini_directives, NULL, &ini_entry, sizeof(zend_ini_entry)); local
177 zend_register_ini_entries(const zend_ini_entry *ini_entry, int module_number TSRMLS_DC) argument
257 zend_ini_entry *ini_entry; local
288 zend_hash_add(EG(modified_ini_directives), name, name_length, &ini_entry, sizeof(zend_ini_entry*), NULL); local
311 zend_ini_entry *ini_entry; local
331 zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type)) argument
333 zend_ini_entry *ini_entry; local
350 zend_ini_entry *ini_entry; local
367 zend_ini_entry *ini_entry; local
384 zend_ini_entry *ini_entry; local
422 zend_ini_displayer_cb(zend_ini_entry *ini_entry, int type) argument
[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 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/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.c532 if (type == PHP_INI_DISPLAY_ORIG && ini_entry->modified) {
533 value = ini_entry->orig_value;
534 } else if (ini_entry->value) {
535 value = ini_entry->value;
557 if (type == PHP_INI_DISPLAY_ORIG && ini_entry->modified) {
558 value = ini_entry->orig_value;
559 } else if (ini_entry->value) {
560 value = ini_entry->value;
588 if (type == PHP_INI_DISPLAY_ORIG && ini_entry->modified) {
589 value = 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[0]) {
87 display_string = ini_entry->orig_value;
88 display_string_length = ini_entry->orig_value_length;
99 } else if (ini_entry
124 php_ini_displayer(zend_ini_entry *ini_entry, int module_number TSRMLS_DC) argument
152 php_ini_available(zend_ini_entry *ini_entry, int *module_number_available TSRMLS_DC) argument
[all...]
H A Dmain.c378 if (type == ZEND_INI_DISPLAY_ORIG && ini_entry->modified) {
379 tmp_value = (ini_entry->orig_value ? ini_entry->orig_value : NULL );
380 tmp_value_length = ini_entry->orig_value_length;
381 } else if (ini_entry->value) {
382 tmp_value = ini_entry->value;
383 tmp_value_length = ini_entry->value_length;
/PHP_TRUNK/ext/interbase/
H A Dinterbase.c703 if ((type == PHP_INI_DISPLAY_ORIG && ini_entry->orig_value)
704 || (type == PHP_INI_DISPLAY_ACTIVE && ini_entry->value)) {
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c2543 zend_ini_entry *ini_entry; local
2657 if (zend_hash_find(EG(ini_directives), "include_path", sizeof("include_path"), (void **) &ini_entry) == SUCCESS) {
2683 orig_include_path_on_modify = ini_entry->on_modify;
2684 ini_entry->on_modify = accel_include_path_on_modify;
2726 zend_ini_entry *ini_entry; local
2754 if (zend_hash_find(EG(ini_directives), "include_path", sizeof("include_path"), (void **) &ini_entry) == SUCCESS) {
2755 ini_entry->on_modify = orig_include_path_on_modify;
H A Dzend_accelerator_module.c123 zend_ini_entry *ini_entry; local
132 (void *) &ini_entry) == FAILURE) {
136 ini_entry->value = strdup(new_new_value);
137 ini_entry->value_length = strlen(new_new_value);
162 zend_ini_entry *ini_entry; local
179 (void *) &ini_entry) == FAILURE) {
182 ini_entry->value = strdup(new_new_value);
183 ini_entry->value_length = strlen(new_new_value);
207 zend_ini_entry *ini_entry; local
215 (void *) &ini_entry)
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c969 static int _extension_ini_string(zend_ini_entry *ini_entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */
976 if (number == ini_entry->module_number) {
977 string_printf(str, " %sEntry [ %s <", indent, ini_entry->name);
978 if (ini_entry->modifiable == ZEND_INI_ALL) {
981 if (ini_entry->modifiable & ZEND_INI_USER) {
985 if (ini_entry->modifiable & ZEND_INI_PERDIR) {
989 if (ini_entry->modifiable & ZEND_INI_SYSTEM) {
995 string_printf(str, " %s Current = '%s'\n", indent, ini_entry->value ? ini_entry->value : "");
996 if (ini_entry
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c5213 static int php_ini_get_option(zend_ini_entry *ini_entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */
5220 if (module_number != 0 && ini_entry->module_number != module_number) {
5231 if (ini_entry->orig_value) {
5232 add_assoc_stringl(option, "global_value", ini_entry->orig_value, ini_entry->orig_value_length, 1);
5233 } else if (ini_entry->value) {
5234 add_assoc_stringl(option, "global_value", ini_entry->value, ini_entry->value_length, 1);
5239 if (ini_entry->value) {
5240 add_assoc_stringl(option, "local_value", ini_entry
[all...]

Completed in 34 milliseconds