Lines Matching refs:FG
57 return (FG(stream_wrappers) ? FG(stream_wrappers) : &url_stream_wrappers_hash); in _php_stream_get_url_stream_wrappers_hash()
143 if (!FG(wrapper_errors)) { in php_get_wrapper_errors_list()
146 …return (zend_llist*) zend_hash_str_find_ptr(FG(wrapper_errors), (const char*)&wrapper, sizeof(wrap… in php_get_wrapper_errors_list()
223 if (wrapper && FG(wrapper_errors)) { in php_stream_tidy_wrapper_error_log()
224 zend_hash_str_del(FG(wrapper_errors), (const char*)&wrapper, sizeof(wrapper)); in php_stream_tidy_wrapper_error_log()
253 if (!FG(wrapper_errors)) { in php_stream_wrapper_log_error()
254 ALLOC_HASHTABLE(FG(wrapper_errors)); in php_stream_wrapper_log_error()
255 zend_hash_init(FG(wrapper_errors), 8, NULL, wrapper_list_dtor, 0); in php_stream_wrapper_log_error()
257 list = zend_hash_str_find_ptr(FG(wrapper_errors), (const char*)&wrapper, sizeof(wrapper)); in php_stream_wrapper_log_error()
263 list = zend_hash_str_update_mem(FG(wrapper_errors), (const char*)&wrapper, in php_stream_wrapper_log_error()
294 ret->chunk_size = FG(def_chunk_size); in _php_stream_alloc()
301 if (FG(auto_detect_line_endings)) { in _php_stream_alloc()
1657 FG(pclose_ret) = php_stream_free(stream, PHP_STREAM_FREE_CLOSE | PHP_STREAM_FREE_RSRC_DTOR); in stream_resource_regular_dtor()
1663 FG(pclose_ret) = php_stream_free(stream, PHP_STREAM_FREE_CLOSE | PHP_STREAM_FREE_RSRC_DTOR); in stream_resource_persistent_dtor()
1668 FG(user_stream_current_filename) = NULL; in php_shutdown_stream_hashes()
1669 if (FG(stream_wrappers)) { in php_shutdown_stream_hashes()
1670 zend_hash_destroy(FG(stream_wrappers)); in php_shutdown_stream_hashes()
1671 efree(FG(stream_wrappers)); in php_shutdown_stream_hashes()
1672 FG(stream_wrappers) = NULL; in php_shutdown_stream_hashes()
1675 if (FG(stream_filters)) { in php_shutdown_stream_hashes()
1676 zend_hash_destroy(FG(stream_filters)); in php_shutdown_stream_hashes()
1677 efree(FG(stream_filters)); in php_shutdown_stream_hashes()
1678 FG(stream_filters) = NULL; in php_shutdown_stream_hashes()
1681 if (FG(wrapper_errors)) { in php_shutdown_stream_hashes()
1682 zend_hash_destroy(FG(wrapper_errors)); in php_shutdown_stream_hashes()
1683 efree(FG(wrapper_errors)); in php_shutdown_stream_hashes()
1684 FG(wrapper_errors) = NULL; in php_shutdown_stream_hashes()
1763 ALLOC_HASHTABLE(FG(stream_wrappers)); in clone_wrapper_hash()
1764 …zend_hash_init(FG(stream_wrappers), zend_hash_num_elements(&url_stream_wrappers_hash), NULL, NULL,… in clone_wrapper_hash()
1765 zend_hash_copy(FG(stream_wrappers), &url_stream_wrappers_hash, NULL); in clone_wrapper_hash()
1775 if (!FG(stream_wrappers)) { in php_register_url_stream_wrapper_volatile()
1779 return zend_hash_add_ptr(FG(stream_wrappers), protocol, wrapper) ? SUCCESS : FAILURE; in php_register_url_stream_wrapper_volatile()
1784 if (!FG(stream_wrappers)) { in php_unregister_url_stream_wrapper_volatile()
1788 return zend_hash_del(FG(stream_wrappers), protocol); in php_unregister_url_stream_wrapper_volatile()
1795 HashTable *wrapper_hash = (FG(stream_wrappers) ? FG(stream_wrappers) : &url_stream_wrappers_hash);
1880 if (FG(stream_wrappers)) {