Lines Matching refs:SPL_G

310 		file_exts = SPL_G(autoload_extensions);  in PHP_FUNCTION()
348 if (SPL_G(autoload_extensions)) { in PHP_FUNCTION()
349 zend_string_release_ex(SPL_G(autoload_extensions), 0); in PHP_FUNCTION()
351 SPL_G(autoload_extensions) = zend_string_copy(file_exts); in PHP_FUNCTION()
354 if (SPL_G(autoload_extensions) == NULL) { in PHP_FUNCTION()
357 zend_string_addref(SPL_G(autoload_extensions)); in PHP_FUNCTION()
358 RETURN_STR(SPL_G(autoload_extensions)); in PHP_FUNCTION()
416 if (!SPL_G(autoload_functions)) { in spl_perform_autoload()
423 zend_hash_internal_pointer_reset_ex(SPL_G(autoload_functions), &pos); in spl_perform_autoload()
426 zend_hash_get_current_data_ptr_ex(SPL_G(autoload_functions), &pos); in spl_perform_autoload()
450 zend_hash_move_forward_ex(SPL_G(autoload_functions), &pos); in spl_perform_autoload()
479 if (!SPL_G(autoload_functions)) { in spl_find_registered_function()
484 ZEND_HASH_FOREACH_PTR(SPL_G(autoload_functions), alfi) { in spl_find_registered_function()
513 if (!SPL_G(autoload_functions)) { in PHP_FUNCTION()
514 ALLOC_HASHTABLE(SPL_G(autoload_functions)); in PHP_FUNCTION()
515 zend_hash_init(SPL_G(autoload_functions), 1, NULL, autoload_func_info_zval_dtor, 0); in PHP_FUNCTION()
517 zend_hash_real_init_mixed(SPL_G(autoload_functions)); in PHP_FUNCTION()
557 zend_hash_next_index_insert_ptr(SPL_G(autoload_functions), alfi); in PHP_FUNCTION()
558 if (prepend && SPL_G(autoload_functions)->nNumOfElements > 1) { in PHP_FUNCTION()
560 HT_MOVE_TAIL_TO_HEAD(SPL_G(autoload_functions)); in PHP_FUNCTION()
579 zend_hash_clean(SPL_G(autoload_functions)); in PHP_FUNCTION()
587 zend_hash_del_bucket(SPL_G(autoload_functions), p); in PHP_FUNCTION()
604 if (SPL_G(autoload_functions)) { in PHP_FUNCTION()
605 ZEND_HASH_FOREACH_PTR(SPL_G(autoload_functions), alfi) { in PHP_FUNCTION()
660 if (!SPL_G(hash_mask_init)) { in php_spl_object_hash()
661 SPL_G(hash_mask_handle) = (intptr_t)(php_mt_rand() >> 1); in php_spl_object_hash()
662 SPL_G(hash_mask_handlers) = (intptr_t)(php_mt_rand() >> 1); in php_spl_object_hash()
663 SPL_G(hash_mask_init) = 1; in php_spl_object_hash()
666 hash_handle = SPL_G(hash_mask_handle)^(intptr_t)Z_OBJ_HANDLE_P(obj); in php_spl_object_hash()
667 hash_handlers = SPL_G(hash_mask_handlers); in php_spl_object_hash()
735 SPL_G(autoload_extensions) = NULL; in PHP_RINIT_FUNCTION()
736 SPL_G(autoload_functions) = NULL; in PHP_RINIT_FUNCTION()
737 SPL_G(hash_mask_init) = 0; in PHP_RINIT_FUNCTION()
743 if (SPL_G(autoload_extensions)) { in PHP_RSHUTDOWN_FUNCTION()
744 zend_string_release_ex(SPL_G(autoload_extensions), 0); in PHP_RSHUTDOWN_FUNCTION()
745 SPL_G(autoload_extensions) = NULL; in PHP_RSHUTDOWN_FUNCTION()
747 if (SPL_G(autoload_functions)) { in PHP_RSHUTDOWN_FUNCTION()
748 zend_hash_destroy(SPL_G(autoload_functions)); in PHP_RSHUTDOWN_FUNCTION()
749 FREE_HASHTABLE(SPL_G(autoload_functions)); in PHP_RSHUTDOWN_FUNCTION()
750 SPL_G(autoload_functions) = NULL; in PHP_RSHUTDOWN_FUNCTION()
752 if (SPL_G(hash_mask_init)) { in PHP_RSHUTDOWN_FUNCTION()
753 SPL_G(hash_mask_init) = 0; in PHP_RSHUTDOWN_FUNCTION()