Lines Matching refs:FG
60 return (FG(stream_wrappers) ? FG(stream_wrappers) : &url_stream_wrappers_hash); in _php_stream_get_url_stream_wrappers_hash()
154 if (!FG(wrapper_errors)) { in php_get_wrapper_errors_list()
157 zend_hash_find(FG(wrapper_errors), (const char*)&wrapper, in php_get_wrapper_errors_list()
230 if (wrapper && FG(wrapper_errors)) { in php_stream_tidy_wrapper_error_log()
231 zend_hash_del(FG(wrapper_errors), (const char*)&wrapper, sizeof wrapper); in php_stream_tidy_wrapper_error_log()
254 if (!FG(wrapper_errors)) { in php_stream_wrapper_log_error()
255 ALLOC_HASHTABLE(FG(wrapper_errors)); in php_stream_wrapper_log_error()
256 zend_hash_init(FG(wrapper_errors), 8, NULL, in php_stream_wrapper_log_error()
259 zend_hash_find(FG(wrapper_errors), (const char*)&wrapper, in php_stream_wrapper_log_error()
266 zend_hash_update(FG(wrapper_errors), (const char*)&wrapper, in php_stream_wrapper_log_error()
297 ret->chunk_size = FG(def_chunk_size); in _php_stream_alloc()
304 if (FG(auto_detect_line_endings)) { in _php_stream_alloc()
1546 FG(pclose_ret) = php_stream_free(stream, PHP_STREAM_FREE_CLOSE | PHP_STREAM_FREE_RSRC_DTOR); in stream_resource_regular_dtor()
1552 FG(pclose_ret) = php_stream_free(stream, PHP_STREAM_FREE_CLOSE | PHP_STREAM_FREE_RSRC_DTOR); in stream_resource_persistent_dtor()
1557 if (FG(stream_wrappers)) { in php_shutdown_stream_hashes()
1558 zend_hash_destroy(FG(stream_wrappers)); in php_shutdown_stream_hashes()
1559 efree(FG(stream_wrappers)); in php_shutdown_stream_hashes()
1560 FG(stream_wrappers) = NULL; in php_shutdown_stream_hashes()
1563 if (FG(stream_filters)) { in php_shutdown_stream_hashes()
1564 zend_hash_destroy(FG(stream_filters)); in php_shutdown_stream_hashes()
1565 efree(FG(stream_filters)); in php_shutdown_stream_hashes()
1566 FG(stream_filters) = NULL; in php_shutdown_stream_hashes()
1569 if (FG(wrapper_errors)) { in php_shutdown_stream_hashes()
1570 zend_hash_destroy(FG(wrapper_errors)); in php_shutdown_stream_hashes()
1571 efree(FG(wrapper_errors)); in php_shutdown_stream_hashes()
1572 FG(wrapper_errors) = NULL; in php_shutdown_stream_hashes()
1651 ALLOC_HASHTABLE(FG(stream_wrappers)); in clone_wrapper_hash()
1652 …zend_hash_init(FG(stream_wrappers), zend_hash_num_elements(&url_stream_wrappers_hash), NULL, NULL,… in clone_wrapper_hash()
1653 zend_hash_copy(FG(stream_wrappers), &url_stream_wrappers_hash, NULL, &tmp, sizeof(tmp)); in clone_wrapper_hash()
1665 if (!FG(stream_wrappers)) { in php_register_url_stream_wrapper_volatile()
1669 …return zend_hash_add(FG(stream_wrappers), protocol, protocol_len + 1, &wrapper, sizeof(wrapper), N… in php_register_url_stream_wrapper_volatile()
1674 if (!FG(stream_wrappers)) { in php_unregister_url_stream_wrapper_volatile()
1678 return zend_hash_del(FG(stream_wrappers), protocol, strlen(protocol) + 1); in php_unregister_url_stream_wrapper_volatile()
1685 HashTable *wrapper_hash = (FG(stream_wrappers) ? FG(stream_wrappers) : &url_stream_wrappers_hash);
1772 if (FG(stream_wrappers)) {