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 ((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, 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_modules.h78 const struct _zend_ini_entry *ini_entry; member in struct:_zend_module_entry
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->orig_value_length, ini_entry
83 zend_ini_entry *ini_entry = (zend_ini_entry *)Z_PTR_P(el); local
180 zend_register_ini_entries(const zend_ini_entry *ini_entry, int module_number TSRMLS_DC) argument
263 zend_ini_entry *ini_entry; local
294 zend_hash_add_ptr(EG(modified_ini_directives), name, ini_entry); local
317 zend_ini_entry *ini_entry; local
337 zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type)) argument
339 zend_ini_entry *ini_entry; local
357 zend_ini_entry *ini_entry; local
375 zend_ini_entry *ini_entry; local
393 zend_ini_entry *ini_entry; local
432 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)
51 void (*displayer)(zend_ini_entry *ini_entry, int type);
64 ZEND_API int zend_register_ini_entries(const zend_ini_entry *ini_entry, int module_number TSRMLS_DC);
77 ZEND_API int zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type));
/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/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
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 : NULL );
383 tmp_value_length = ini_entry->orig_value_length;
384 } else if (ini_entry->value) {
385 tmp_value = ini_entry->value;
386 tmp_value_length = ini_entry->value_length;
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c2253 zend_ini_entry *ini_entry; local
2355 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), "include_path", sizeof("include_path")-1)) != NULL) {
2381 orig_include_path_on_modify = ini_entry->on_modify;
2382 ini_entry->on_modify = accel_include_path_on_modify;
2424 zend_ini_entry *ini_entry; local
2450 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), "include_path", sizeof("include_path")-1)) != NULL) {
2451 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 = strdup(new_new_value);
132 ini_entry->value_length = strlen(new_new_value);
157 zend_ini_entry *ini_entry; local
171 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives),
176 ini_entry->value = strdup(new_new_value);
177 ini_entry->value_length = strlen(new_new_value);
201 zend_ini_entry *ini_entry; local
206 if ((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;
528 } else if (ini_entry->value) {
529 value = ini_entry->value;
551 if (type == PHP_INI_DISPLAY_ORIG && ini_entry->modified) {
552 value = ini_entry->orig_value;
553 } else if (ini_entry->value) {
554 value = ini_entry->value;
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);
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 : "");
980 if (ini_entry
5275 zend_ini_entry *ini_entry = (zend_ini_entry*)Z_PTR_P(el); local
[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_stringl(&option, "global_value", ini_entry->orig_value, ini_entry->orig_value_length);
5237 } else if (ini_entry->value) {
5238 add_assoc_stringl(&option, "global_value", ini_entry->value, ini_entry->value_length);
5243 if (ini_entry->value) {
5244 add_assoc_stringl(&option, "local_value", 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)) {

Completed in 33 milliseconds