Lines Matching refs:FG

60 	return (FG(stream_wrappers) ? FG(stream_wrappers) : &url_stream_wrappers_hash);  in _php_stream_get_url_stream_wrappers_hash()
142 if (!FG(wrapper_errors)) { in php_get_wrapper_errors_list()
145 …return (zend_llist*) zend_hash_str_find_ptr(FG(wrapper_errors), (const char*)&wrapper, sizeof(wrap… in php_get_wrapper_errors_list()
216 if (wrapper && FG(wrapper_errors)) { in php_stream_tidy_wrapper_error_log()
217 zend_hash_str_del(FG(wrapper_errors), (const char*)&wrapper, sizeof(wrapper)); in php_stream_tidy_wrapper_error_log()
246 if (!FG(wrapper_errors)) { in php_stream_wrapper_log_error()
247 ALLOC_HASHTABLE(FG(wrapper_errors)); in php_stream_wrapper_log_error()
248 zend_hash_init(FG(wrapper_errors), 8, NULL, wrapper_list_dtor, 0); in php_stream_wrapper_log_error()
250 list = zend_hash_str_find_ptr(FG(wrapper_errors), (const char*)&wrapper, sizeof(wrapper)); in php_stream_wrapper_log_error()
256 list = zend_hash_str_update_mem(FG(wrapper_errors), (const char*)&wrapper, in php_stream_wrapper_log_error()
287 ret->chunk_size = FG(def_chunk_size); in _php_stream_alloc()
294 if (FG(auto_detect_line_endings)) { in _php_stream_alloc()
1619 FG(pclose_ret) = php_stream_free(stream, PHP_STREAM_FREE_CLOSE | PHP_STREAM_FREE_RSRC_DTOR); in stream_resource_regular_dtor()
1625 FG(pclose_ret) = php_stream_free(stream, PHP_STREAM_FREE_CLOSE | PHP_STREAM_FREE_RSRC_DTOR); in stream_resource_persistent_dtor()
1630 if (FG(stream_wrappers)) { in php_shutdown_stream_hashes()
1631 zend_hash_destroy(FG(stream_wrappers)); in php_shutdown_stream_hashes()
1632 efree(FG(stream_wrappers)); in php_shutdown_stream_hashes()
1633 FG(stream_wrappers) = NULL; in php_shutdown_stream_hashes()
1636 if (FG(stream_filters)) { in php_shutdown_stream_hashes()
1637 zend_hash_destroy(FG(stream_filters)); in php_shutdown_stream_hashes()
1638 efree(FG(stream_filters)); in php_shutdown_stream_hashes()
1639 FG(stream_filters) = NULL; in php_shutdown_stream_hashes()
1642 if (FG(wrapper_errors)) { in php_shutdown_stream_hashes()
1643 zend_hash_destroy(FG(wrapper_errors)); in php_shutdown_stream_hashes()
1644 efree(FG(wrapper_errors)); in php_shutdown_stream_hashes()
1645 FG(wrapper_errors) = NULL; in php_shutdown_stream_hashes()
1719 ALLOC_HASHTABLE(FG(stream_wrappers)); in clone_wrapper_hash()
1720 …zend_hash_init(FG(stream_wrappers), zend_hash_num_elements(&url_stream_wrappers_hash), NULL, NULL,… in clone_wrapper_hash()
1721 zend_hash_copy(FG(stream_wrappers), &url_stream_wrappers_hash, NULL); in clone_wrapper_hash()
1733 if (!FG(stream_wrappers)) { in php_register_url_stream_wrapper_volatile()
1737 …return zend_hash_str_add_ptr(FG(stream_wrappers), protocol, protocol_len, wrapper) ? SUCCESS : FAI… in php_register_url_stream_wrapper_volatile()
1742 if (!FG(stream_wrappers)) { in php_unregister_url_stream_wrapper_volatile()
1746 return zend_hash_str_del(FG(stream_wrappers), protocol, strlen(protocol)); in php_unregister_url_stream_wrapper_volatile()
1753 HashTable *wrapper_hash = (FG(stream_wrappers) ? FG(stream_wrappers) : &url_stream_wrappers_hash);
1837 if (FG(stream_wrappers)) {