Lines Matching refs:BG

197 	BG(mt_rand_is_seeded) = 0;  in basic_globals_ctor()
198 BG(mt_rand_mode) = MT_RAND_MT19937; in basic_globals_ctor()
199 BG(umask) = -1; in basic_globals_ctor()
200 BG(next) = NULL; in basic_globals_ctor()
201 BG(left) = -1; in basic_globals_ctor()
202 BG(user_tick_functions) = NULL; in basic_globals_ctor()
203 BG(user_filter_map) = NULL; in basic_globals_ctor()
204 BG(serialize_lock) = 0; in basic_globals_ctor()
206 memset(&BG(serialize), 0, sizeof(BG(serialize))); in basic_globals_ctor()
207 memset(&BG(unserialize), 0, sizeof(BG(unserialize))); in basic_globals_ctor()
209 memset(&BG(url_adapt_session_ex), 0, sizeof(BG(url_adapt_session_ex))); in basic_globals_ctor()
210 memset(&BG(url_adapt_output_ex), 0, sizeof(BG(url_adapt_output_ex))); in basic_globals_ctor()
212 BG(url_adapt_session_ex).type = 1; in basic_globals_ctor()
213 BG(url_adapt_output_ex).type = 0; in basic_globals_ctor()
215 zend_hash_init(&BG(url_adapt_session_hosts_ht), 0, NULL, NULL, 1); in basic_globals_ctor()
216 zend_hash_init(&BG(url_adapt_output_hosts_ht), 0, NULL, NULL, 1); in basic_globals_ctor()
219 memset(&BG(mblen_state), 0, sizeof(BG(mblen_state))); in basic_globals_ctor()
222 BG(page_uid) = -1; in basic_globals_ctor()
223 BG(page_gid) = -1; in basic_globals_ctor()
456 memset(BG(strtok_table), 0, 256); in PHP_RINIT_FUNCTION()
458 BG(serialize_lock) = 0; in PHP_RINIT_FUNCTION()
459 memset(&BG(serialize), 0, sizeof(BG(serialize))); in PHP_RINIT_FUNCTION()
460 memset(&BG(unserialize), 0, sizeof(BG(unserialize))); in PHP_RINIT_FUNCTION()
462 BG(strtok_string) = NULL; in PHP_RINIT_FUNCTION()
463 BG(strtok_last) = NULL; in PHP_RINIT_FUNCTION()
464 BG(ctype_string) = NULL; in PHP_RINIT_FUNCTION()
465 BG(locale_changed) = 0; in PHP_RINIT_FUNCTION()
466 BG(array_walk_fci) = empty_fcall_info; in PHP_RINIT_FUNCTION()
467 BG(array_walk_fci_cache) = empty_fcall_info_cache; in PHP_RINIT_FUNCTION()
468 BG(user_compare_fci) = empty_fcall_info; in PHP_RINIT_FUNCTION()
469 BG(user_compare_fci_cache) = empty_fcall_info_cache; in PHP_RINIT_FUNCTION()
470 BG(page_uid) = -1; in PHP_RINIT_FUNCTION()
471 BG(page_gid) = -1; in PHP_RINIT_FUNCTION()
472 BG(page_inode) = -1; in PHP_RINIT_FUNCTION()
473 BG(page_mtime) = -1; in PHP_RINIT_FUNCTION()
475 zend_hash_init(&BG(putenv_ht), 1, NULL, php_putenv_destructor, 0); in PHP_RINIT_FUNCTION()
477 BG(user_shutdown_function_names) = NULL; in PHP_RINIT_FUNCTION()
501 if (BG(strtok_string)) { in PHP_RSHUTDOWN_FUNCTION()
502 zend_string_release(BG(strtok_string)); in PHP_RSHUTDOWN_FUNCTION()
503 BG(strtok_string) = NULL; in PHP_RSHUTDOWN_FUNCTION()
507 zend_hash_destroy(&BG(putenv_ht)); in PHP_RSHUTDOWN_FUNCTION()
511 BG(mt_rand_is_seeded) = 0; in PHP_RSHUTDOWN_FUNCTION()
513 if (BG(umask) != -1) { in PHP_RSHUTDOWN_FUNCTION()
514 umask(BG(umask)); in PHP_RSHUTDOWN_FUNCTION()
519 if (BG(locale_changed)) { in PHP_RSHUTDOWN_FUNCTION()
522 if (BG(ctype_string)) { in PHP_RSHUTDOWN_FUNCTION()
523 zend_string_release_ex(BG(ctype_string), 0); in PHP_RSHUTDOWN_FUNCTION()
524 BG(ctype_string) = NULL; in PHP_RSHUTDOWN_FUNCTION()
544 if (BG(user_tick_functions)) { in PHP_RSHUTDOWN_FUNCTION()
545 zend_llist_destroy(BG(user_tick_functions)); in PHP_RSHUTDOWN_FUNCTION()
546 efree(BG(user_tick_functions)); in PHP_RSHUTDOWN_FUNCTION()
547 BG(user_tick_functions) = NULL; in PHP_RSHUTDOWN_FUNCTION()
553 BG(page_uid) = -1; in PHP_RSHUTDOWN_FUNCTION()
554 BG(page_gid) = -1; in PHP_RSHUTDOWN_FUNCTION()
873 zend_hash_str_del(&BG(putenv_ht), pe.key, pe.key_len);
928 zend_hash_str_add_mem(&BG(putenv_ht), pe.key, pe.key_len, &pe, sizeof(putenv_entry));
1734 zend_llist_apply(BG(user_tick_functions), (llist_apply_func_t) user_tick_function_call);
1764 if (BG(user_shutdown_function_names)) {
1766 zend_hash_apply(BG(user_shutdown_function_names), user_shutdown_function_call);
1775 if (BG(user_shutdown_function_names))
1777 zend_hash_destroy(BG(user_shutdown_function_names));
1778 FREE_HASHTABLE(BG(user_shutdown_function_names));
1779 BG(user_shutdown_function_names) = NULL;
1782 FREE_HASHTABLE(BG(user_shutdown_function_names));
1783 BG(user_shutdown_function_names) = NULL;
1814 if (!BG(user_shutdown_function_names)) {
1815 ALLOC_HASHTABLE(BG(user_shutdown_function_names));
1816 zend_hash_init(BG(user_shutdown_function_names), 0, NULL, user_shutdown_function_dtor, 0);
1819 …zend_hash_str_update_mem(BG(user_shutdown_function_names), function_name, function_len, shutdown_f…
1826 if (BG(user_shutdown_function_names)) {
1827 …return zend_hash_str_del(BG(user_shutdown_function_names), function_name, function_len) != FAILURE;
1836 if (!BG(user_shutdown_function_names)) {
1837 ALLOC_HASHTABLE(BG(user_shutdown_function_names));
1838 zend_hash_init(BG(user_shutdown_function_names), 0, NULL, user_shutdown_function_dtor, 0);
1841 …return zend_hash_next_index_insert_mem(BG(user_shutdown_function_names), shutdown_function_entry, …
2405 if (!BG(user_tick_functions)) {
2406 BG(user_tick_functions) = (zend_llist *) emalloc(sizeof(zend_llist));
2407 zend_llist_init(BG(user_tick_functions),
2417 zend_llist_add_element(BG(user_tick_functions), &tick_fe);
2434 if (!BG(user_tick_functions)) {
2441 …zend_llist_del_element(BG(user_tick_functions), &tick_fe, (int (*)(void *, void *)) user_tick_func…
2583 array_init(&BG(active_ini_file_section));
2584 zend_symtable_update(Z_ARRVAL_P(arr), Z_STR_P(arg1), &BG(active_ini_file_section));
2588 if (Z_TYPE(BG(active_ini_file_section)) != IS_UNDEF) {
2589 active_arr = &BG(active_ini_file_section);
2623 ZVAL_UNDEF(&BG(active_ini_file_section));
2662 ZVAL_UNDEF(&BG(active_ini_file_section));