Lines Matching refs:BG

3520 	BG(mt_rand_is_seeded) = 0;  in basic_globals_ctor()
3521 BG(mt_rand_mode) = MT_RAND_MT19937; in basic_globals_ctor()
3522 BG(umask) = -1; in basic_globals_ctor()
3523 BG(next) = NULL; in basic_globals_ctor()
3524 BG(left) = -1; in basic_globals_ctor()
3525 BG(user_tick_functions) = NULL; in basic_globals_ctor()
3526 BG(user_filter_map) = NULL; in basic_globals_ctor()
3527 BG(serialize_lock) = 0; in basic_globals_ctor()
3529 memset(&BG(serialize), 0, sizeof(BG(serialize))); in basic_globals_ctor()
3530 memset(&BG(unserialize), 0, sizeof(BG(unserialize))); in basic_globals_ctor()
3532 memset(&BG(url_adapt_session_ex), 0, sizeof(BG(url_adapt_session_ex))); in basic_globals_ctor()
3533 memset(&BG(url_adapt_output_ex), 0, sizeof(BG(url_adapt_output_ex))); in basic_globals_ctor()
3535 BG(url_adapt_session_ex).type = 1; in basic_globals_ctor()
3536 BG(url_adapt_output_ex).type = 0; in basic_globals_ctor()
3538 zend_hash_init(&BG(url_adapt_session_hosts_ht), 0, NULL, NULL, 1); in basic_globals_ctor()
3539 zend_hash_init(&BG(url_adapt_output_hosts_ht), 0, NULL, NULL, 1); in basic_globals_ctor()
3542 memset(&BG(mblen_state), 0, sizeof(BG(mblen_state))); in basic_globals_ctor()
3545 BG(incomplete_class) = incomplete_class_entry; in basic_globals_ctor()
3546 BG(page_uid) = -1; in basic_globals_ctor()
3547 BG(page_gid) = -1; in basic_globals_ctor()
3610 BG(incomplete_class) = incomplete_class_entry = php_create_incomplete_class(); in PHP_MINIT_FUNCTION()
3776 memset(BG(strtok_table), 0, 256); in PHP_RINIT_FUNCTION()
3778 BG(serialize_lock) = 0; in PHP_RINIT_FUNCTION()
3779 memset(&BG(serialize), 0, sizeof(BG(serialize))); in PHP_RINIT_FUNCTION()
3780 memset(&BG(unserialize), 0, sizeof(BG(unserialize))); in PHP_RINIT_FUNCTION()
3782 BG(strtok_string) = NULL; in PHP_RINIT_FUNCTION()
3783 ZVAL_UNDEF(&BG(strtok_zval)); in PHP_RINIT_FUNCTION()
3784 BG(strtok_last) = NULL; in PHP_RINIT_FUNCTION()
3785 BG(locale_string) = NULL; in PHP_RINIT_FUNCTION()
3786 BG(locale_changed) = 0; in PHP_RINIT_FUNCTION()
3787 BG(array_walk_fci) = empty_fcall_info; in PHP_RINIT_FUNCTION()
3788 BG(array_walk_fci_cache) = empty_fcall_info_cache; in PHP_RINIT_FUNCTION()
3789 BG(user_compare_fci) = empty_fcall_info; in PHP_RINIT_FUNCTION()
3790 BG(user_compare_fci_cache) = empty_fcall_info_cache; in PHP_RINIT_FUNCTION()
3791 BG(page_uid) = -1; in PHP_RINIT_FUNCTION()
3792 BG(page_gid) = -1; in PHP_RINIT_FUNCTION()
3793 BG(page_inode) = -1; in PHP_RINIT_FUNCTION()
3794 BG(page_mtime) = -1; in PHP_RINIT_FUNCTION()
3796 zend_hash_init(&BG(putenv_ht), 1, NULL, php_putenv_destructor, 0); in PHP_RINIT_FUNCTION()
3798 BG(user_shutdown_function_names) = NULL; in PHP_RINIT_FUNCTION()
3822 zval_ptr_dtor(&BG(strtok_zval)); in PHP_RSHUTDOWN_FUNCTION()
3823 ZVAL_UNDEF(&BG(strtok_zval)); in PHP_RSHUTDOWN_FUNCTION()
3824 BG(strtok_string) = NULL; in PHP_RSHUTDOWN_FUNCTION()
3827 zend_hash_destroy(&BG(putenv_ht)); in PHP_RSHUTDOWN_FUNCTION()
3831 BG(mt_rand_is_seeded) = 0; in PHP_RSHUTDOWN_FUNCTION()
3833 if (BG(umask) != -1) { in PHP_RSHUTDOWN_FUNCTION()
3834 umask(BG(umask)); in PHP_RSHUTDOWN_FUNCTION()
3839 if (BG(locale_changed)) { in PHP_RSHUTDOWN_FUNCTION()
3843 if (BG(locale_string)) { in PHP_RSHUTDOWN_FUNCTION()
3844 zend_string_release_ex(BG(locale_string), 0); in PHP_RSHUTDOWN_FUNCTION()
3845 BG(locale_string) = NULL; in PHP_RSHUTDOWN_FUNCTION()
3865 if (BG(user_tick_functions)) { in PHP_RSHUTDOWN_FUNCTION()
3866 zend_llist_destroy(BG(user_tick_functions)); in PHP_RSHUTDOWN_FUNCTION()
3867 efree(BG(user_tick_functions)); in PHP_RSHUTDOWN_FUNCTION()
3868 BG(user_tick_functions) = NULL; in PHP_RSHUTDOWN_FUNCTION()
3874 BG(page_uid) = -1; in PHP_RSHUTDOWN_FUNCTION()
3875 BG(page_gid) = -1; in PHP_RSHUTDOWN_FUNCTION()
4204 zend_hash_str_del(&BG(putenv_ht), pe.key, pe.key_len);
4259 zend_hash_str_add_mem(&BG(putenv_ht), pe.key, pe.key_len, &pe, sizeof(putenv_entry));
5131 zend_llist_apply(BG(user_tick_functions), (llist_apply_func_t) user_tick_function_call);
5161 if (BG(user_shutdown_function_names)) {
5163 zend_hash_apply(BG(user_shutdown_function_names), user_shutdown_function_call);
5172 if (BG(user_shutdown_function_names))
5174 zend_hash_destroy(BG(user_shutdown_function_names));
5175 FREE_HASHTABLE(BG(user_shutdown_function_names));
5176 BG(user_shutdown_function_names) = NULL;
5179 FREE_HASHTABLE(BG(user_shutdown_function_names));
5180 BG(user_shutdown_function_names) = NULL;
5214 if (!BG(user_shutdown_function_names)) {
5215 ALLOC_HASHTABLE(BG(user_shutdown_function_names));
5216 zend_hash_init(BG(user_shutdown_function_names), 0, NULL, user_shutdown_function_dtor, 0);
5222 …zend_hash_next_index_insert_mem(BG(user_shutdown_function_names), &shutdown_function_entry, sizeof…
5229 if (!BG(user_shutdown_function_names)) {
5230 ALLOC_HASHTABLE(BG(user_shutdown_function_names));
5231 zend_hash_init(BG(user_shutdown_function_names), 0, NULL, user_shutdown_function_dtor, 0);
5234 …zend_hash_str_update_mem(BG(user_shutdown_function_names), function_name, function_len, shutdown_f…
5241 if (BG(user_shutdown_function_names)) {
5242 …return zend_hash_str_del(BG(user_shutdown_function_names), function_name, function_len) != FAILURE;
5251 if (!BG(user_shutdown_function_names)) {
5252 ALLOC_HASHTABLE(BG(user_shutdown_function_names));
5253 zend_hash_init(BG(user_shutdown_function_names), 0, NULL, user_shutdown_function_dtor, 0);
5256 …return zend_hash_next_index_insert_mem(BG(user_shutdown_function_names), &shutdown_function_entry,…
5858 if (!BG(user_tick_functions)) {
5859 BG(user_tick_functions) = (zend_llist *) emalloc(sizeof(zend_llist));
5860 zend_llist_init(BG(user_tick_functions),
5870 zend_llist_add_element(BG(user_tick_functions), &tick_fe);
5887 if (!BG(user_tick_functions)) {
5898 …zend_llist_del_element(BG(user_tick_functions), &tick_fe, (int (*)(void *, void *)) user_tick_func…
6044 array_init(&BG(active_ini_file_section));
6045 zend_symtable_update(Z_ARRVAL_P(arr), Z_STR_P(arg1), &BG(active_ini_file_section));
6049 if (Z_TYPE(BG(active_ini_file_section)) != IS_UNDEF) {
6050 active_arr = &BG(active_ini_file_section);
6085 ZVAL_UNDEF(&BG(active_ini_file_section));
6125 ZVAL_UNDEF(&BG(active_ini_file_section));