Lines Matching refs:BG

3523 	BG(mt_rand_is_seeded) = 0;  in basic_globals_ctor()
3524 BG(mt_rand_mode) = MT_RAND_MT19937; in basic_globals_ctor()
3525 BG(umask) = -1; in basic_globals_ctor()
3526 BG(next) = NULL; in basic_globals_ctor()
3527 BG(left) = -1; in basic_globals_ctor()
3528 BG(user_tick_functions) = NULL; in basic_globals_ctor()
3529 BG(user_filter_map) = NULL; in basic_globals_ctor()
3530 BG(serialize_lock) = 0; in basic_globals_ctor()
3532 memset(&BG(serialize), 0, sizeof(BG(serialize))); in basic_globals_ctor()
3533 memset(&BG(unserialize), 0, sizeof(BG(unserialize))); in basic_globals_ctor()
3535 memset(&BG(url_adapt_session_ex), 0, sizeof(BG(url_adapt_session_ex))); in basic_globals_ctor()
3536 memset(&BG(url_adapt_output_ex), 0, sizeof(BG(url_adapt_output_ex))); in basic_globals_ctor()
3538 BG(url_adapt_session_ex).type = 1; in basic_globals_ctor()
3539 BG(url_adapt_output_ex).type = 0; in basic_globals_ctor()
3541 zend_hash_init(&BG(url_adapt_session_hosts_ht), 0, NULL, NULL, 1); in basic_globals_ctor()
3542 zend_hash_init(&BG(url_adapt_output_hosts_ht), 0, NULL, NULL, 1); in basic_globals_ctor()
3545 memset(&BG(mblen_state), 0, sizeof(BG(mblen_state))); in basic_globals_ctor()
3548 BG(incomplete_class) = incomplete_class_entry; in basic_globals_ctor()
3549 BG(page_uid) = -1; in basic_globals_ctor()
3550 BG(page_gid) = -1; in basic_globals_ctor()
3626 BG(incomplete_class) = incomplete_class_entry = php_create_incomplete_class(); in PHP_MINIT_FUNCTION()
3794 memset(BG(strtok_table), 0, 256); in PHP_RINIT_FUNCTION()
3796 BG(serialize_lock) = 0; in PHP_RINIT_FUNCTION()
3797 memset(&BG(serialize), 0, sizeof(BG(serialize))); in PHP_RINIT_FUNCTION()
3798 memset(&BG(unserialize), 0, sizeof(BG(unserialize))); in PHP_RINIT_FUNCTION()
3800 BG(strtok_string) = NULL; in PHP_RINIT_FUNCTION()
3801 ZVAL_UNDEF(&BG(strtok_zval)); in PHP_RINIT_FUNCTION()
3802 BG(strtok_last) = NULL; in PHP_RINIT_FUNCTION()
3803 BG(locale_string) = NULL; in PHP_RINIT_FUNCTION()
3804 BG(locale_changed) = 0; in PHP_RINIT_FUNCTION()
3805 BG(array_walk_fci) = empty_fcall_info; in PHP_RINIT_FUNCTION()
3806 BG(array_walk_fci_cache) = empty_fcall_info_cache; in PHP_RINIT_FUNCTION()
3807 BG(user_compare_fci) = empty_fcall_info; in PHP_RINIT_FUNCTION()
3808 BG(user_compare_fci_cache) = empty_fcall_info_cache; in PHP_RINIT_FUNCTION()
3809 BG(page_uid) = -1; in PHP_RINIT_FUNCTION()
3810 BG(page_gid) = -1; in PHP_RINIT_FUNCTION()
3811 BG(page_inode) = -1; in PHP_RINIT_FUNCTION()
3812 BG(page_mtime) = -1; in PHP_RINIT_FUNCTION()
3814 zend_hash_init(&BG(putenv_ht), 1, NULL, php_putenv_destructor, 0); in PHP_RINIT_FUNCTION()
3816 BG(user_shutdown_function_names) = NULL; in PHP_RINIT_FUNCTION()
3840 zval_ptr_dtor(&BG(strtok_zval)); in PHP_RSHUTDOWN_FUNCTION()
3841 ZVAL_UNDEF(&BG(strtok_zval)); in PHP_RSHUTDOWN_FUNCTION()
3842 BG(strtok_string) = NULL; in PHP_RSHUTDOWN_FUNCTION()
3844 zend_hash_destroy(&BG(putenv_ht)); in PHP_RSHUTDOWN_FUNCTION()
3847 BG(mt_rand_is_seeded) = 0; in PHP_RSHUTDOWN_FUNCTION()
3849 if (BG(umask) != -1) { in PHP_RSHUTDOWN_FUNCTION()
3850 umask(BG(umask)); in PHP_RSHUTDOWN_FUNCTION()
3855 if (BG(locale_changed)) { in PHP_RSHUTDOWN_FUNCTION()
3859 if (BG(locale_string)) { in PHP_RSHUTDOWN_FUNCTION()
3860 zend_string_release_ex(BG(locale_string), 0); in PHP_RSHUTDOWN_FUNCTION()
3861 BG(locale_string) = NULL; in PHP_RSHUTDOWN_FUNCTION()
3881 if (BG(user_tick_functions)) { in PHP_RSHUTDOWN_FUNCTION()
3882 zend_llist_destroy(BG(user_tick_functions)); in PHP_RSHUTDOWN_FUNCTION()
3883 efree(BG(user_tick_functions)); in PHP_RSHUTDOWN_FUNCTION()
3884 BG(user_tick_functions) = NULL; in PHP_RSHUTDOWN_FUNCTION()
3890 BG(page_uid) = -1; in PHP_RSHUTDOWN_FUNCTION()
3891 BG(page_gid) = -1; in PHP_RSHUTDOWN_FUNCTION()
4208 zend_hash_str_del(&BG(putenv_ht), pe.key, pe.key_len);
4262 zend_hash_str_add_mem(&BG(putenv_ht), pe.key, pe.key_len, &pe, sizeof(putenv_entry));
5112 zend_llist_apply(BG(user_tick_functions), (llist_apply_func_t) user_tick_function_call);
5142 if (BG(user_shutdown_function_names)) {
5144 zend_hash_apply(BG(user_shutdown_function_names), user_shutdown_function_call);
5153 if (BG(user_shutdown_function_names))
5155 zend_hash_destroy(BG(user_shutdown_function_names));
5156 FREE_HASHTABLE(BG(user_shutdown_function_names));
5157 BG(user_shutdown_function_names) = NULL;
5160 FREE_HASHTABLE(BG(user_shutdown_function_names));
5161 BG(user_shutdown_function_names) = NULL;
5195 if (!BG(user_shutdown_function_names)) {
5196 ALLOC_HASHTABLE(BG(user_shutdown_function_names));
5197 zend_hash_init(BG(user_shutdown_function_names), 0, NULL, user_shutdown_function_dtor, 0);
5203 …zend_hash_next_index_insert_mem(BG(user_shutdown_function_names), &shutdown_function_entry, sizeof…
5210 if (!BG(user_shutdown_function_names)) {
5211 ALLOC_HASHTABLE(BG(user_shutdown_function_names));
5212 zend_hash_init(BG(user_shutdown_function_names), 0, NULL, user_shutdown_function_dtor, 0);
5215 …zend_hash_str_update_mem(BG(user_shutdown_function_names), function_name, function_len, shutdown_f…
5222 if (BG(user_shutdown_function_names)) {
5223 …return zend_hash_str_del(BG(user_shutdown_function_names), function_name, function_len) != FAILURE;
5232 if (!BG(user_shutdown_function_names)) {
5233 ALLOC_HASHTABLE(BG(user_shutdown_function_names));
5234 zend_hash_init(BG(user_shutdown_function_names), 0, NULL, user_shutdown_function_dtor, 0);
5237 …return zend_hash_next_index_insert_mem(BG(user_shutdown_function_names), &shutdown_function_entry,…
5848 if (!BG(user_tick_functions)) {
5849 BG(user_tick_functions) = (zend_llist *) emalloc(sizeof(zend_llist));
5850 zend_llist_init(BG(user_tick_functions),
5860 zend_llist_add_element(BG(user_tick_functions), &tick_fe);
5877 if (!BG(user_tick_functions)) {
5888 …zend_llist_del_element(BG(user_tick_functions), &tick_fe, (int (*)(void *, void *)) user_tick_func…
6034 array_init(&BG(active_ini_file_section));
6035 zend_symtable_update(Z_ARRVAL_P(arr), Z_STR_P(arg1), &BG(active_ini_file_section));
6039 if (Z_TYPE(BG(active_ini_file_section)) != IS_UNDEF) {
6040 active_arr = &BG(active_ini_file_section);
6075 ZVAL_UNDEF(&BG(active_ini_file_section));
6117 ZVAL_UNDEF(&BG(active_ini_file_section));