ARB
|
Go to the source code of this file.
Macros | |
#define | MEMORY_TEST 0 |
#define | GB_RESOLVE(typ, struct_add, member_name) |
#define | GB_SETREL(struct_add, member_name, address) |
Typedefs | |
typedef long | GB_REL_ADD |
typedef long | GB_REL_STRING |
typedef long | GB_REL_GBDATA |
typedef long | GB_REL_CONTAINER |
typedef long | GB_REL_HLS |
typedef long | GB_REL_IFES |
typedef long | GB_REL_IFS |
typedef long | GB_REL_PIFES |
Enumerations | |
enum | ARB_MEMORY_INDEX { GBM_CB_INDEX = -1, GBM_HASH_INDEX = -2, GBM_HEADER_INDEX = -3, GBM_UNDO = -4, GBM_DICT_INDEX = -5, GBM_USER_INDEX = -6 } |
Functions | |
void * | gbmGetMemImpl (size_t size, long index) |
void | gbmFreeMemImpl (void *data, size_t size, long index) |
void * | gbm_get_mem (size_t size, long index) |
void | gbm_free_mem (void *block, size_t size, long index) |
#define MEMORY_TEST 0 |
Definition at line 20 of file gb_memory.h.
#define GB_RESOLVE | ( | typ, | |
struct_add, | |||
member_name | |||
) |
Definition at line 77 of file gb_memory.h.
Referenced by GB_DATA_LIST_HEADER(), GB_FATHER(), GB_HEADER_LIST_GBD(), GB_IF_ENTRIES_GBD(), GB_IF_ENTRIES_NEXT(), GB_INDEX_FILES_ENTRIES(), GB_INDEX_FILES_NEXT(), GBCONTAINER_IFS(), and gb_extern_data::get_data().
#define GB_SETREL | ( | struct_add, | |
member_name, | |||
address | |||
) |
Definition at line 82 of file gb_memory.h.
Referenced by gb_extern_data::set_data(), SET_GB_DATA_LIST_HEADER(), SET_GB_FATHER(), SET_GB_HEADER_LIST_GBD(), SET_GB_IF_ENTRIES_GBD(), SET_GB_IF_ENTRIES_NEXT(), SET_GB_INDEX_FILES_ENTRIES(), SET_GB_INDEX_FILES_NEXT(), and SET_GBCONTAINER_IFS().
typedef long GB_REL_ADD |
Definition at line 37 of file gb_memory.h.
typedef long GB_REL_STRING |
Definition at line 55 of file gb_memory.h.
typedef long GB_REL_GBDATA |
Definition at line 56 of file gb_memory.h.
typedef long GB_REL_CONTAINER |
Definition at line 57 of file gb_memory.h.
typedef long GB_REL_HLS |
Definition at line 58 of file gb_memory.h.
typedef long GB_REL_IFES |
Definition at line 59 of file gb_memory.h.
typedef long GB_REL_IFS |
Definition at line 60 of file gb_memory.h.
typedef long GB_REL_PIFES |
Definition at line 61 of file gb_memory.h.
enum ARB_MEMORY_INDEX |
Enumerator | |
---|---|
GBM_CB_INDEX | |
GBM_HASH_INDEX | |
GBM_HEADER_INDEX | |
GBM_UNDO | |
GBM_DICT_INDEX | |
GBM_USER_INDEX |
Definition at line 99 of file gb_memory.h.
Definition at line 431 of file admalloc.cxx.
References arb_mem::alloc_aligned(), gbm_pool::allsize, gbm_table::data, gbm_pool::extern_data_items, gbm_pool::extern_data_size, gbm_pool::first, GB_internal_error(), GBM_ALIGNED, gbm_get_memblk(), GBM_LD_ALIGNED, GBM_MAGIC, GBM_MAX_INDEX, GBM_MAX_SIZE, gbm_pool4idx, GBM_SYSTEM_PAGE_SIZE, GBM_TABLE_SIZE, gbm_pool::gds, gbm_data::magic, gbm_data::next, gbm_table::next, result, gbm_pool::size, gbm_pool::tablecnt, gbm_pool::tables, and gbm_pool::useditems.
Referenced by gbm_get_mem().
Definition at line 485 of file admalloc.cxx.
References gbb_data::allocFromSystem, block, gbm_pool::extern_data_items, gbm_pool::extern_data_size, gb_isMappedMemory(), GBB_HEADER_SIZE, GBB_MINSIZE, GBM_ALIGNED, GBM_LD_ALIGNED, GBM_MAGIC, GBM_MAX_INDEX, GBM_MAX_SIZE, gbm_pool4idx, gbm_put_memblk(), imemerr(), gbm_data::magic, gbm_data::next, gbb_data::size, gbm_pool::tablecnt, gbm_pool::tables, and gbm_pool::useditems.
Referenced by gbm_free_mem().
Definition at line 130 of file gb_memory.h.
References gbmGetMemImpl().
Referenced by GBENTRY::alloc_data(), build_dict_tree(), GBDATA::create_extended(), gb_build_uncompress_tree(), gb_compress_huffmann(), gb_compress_huffmann_add_to_list(), gb_create_dictionaries(), gb_create_dictionary(), gb_create_header_array(), GB_create_index(), GB_init_gb(), gb_load_dictionary_data(), gb_make_container(), gb_make_entry(), gb_new_gb_transaction_save(), gbcms_add_to_delete_list(), GBS_incr_hash(), GBS_write_numhash(), GBENTRY::index_check_in(), new_dtree(), new_g_b_undo_entry(), readAndWrite(), single2full_dtree(), and write_hash().
Definition at line 131 of file gb_memory.h.
References gbmFreeMemImpl().
Referenced by add_dtree_to_dtree(), build_dict_tree(), cut_dtree(), cut_useless_words(), delete_from_list(), delete_g_b_undo_entry(), GBDATA::destroy_extended(), GBENTRY::free_data(), free_dtree(), gb_compress_huffmann_pop(), gb_compress_huffmann_rek(), gb_create_dictionaries(), gb_create_dictionary(), gb_create_header_array(), gb_del_ref_gb_transaction_save(), gb_delete_entry(), gb_destroy_indices(), GB_exit_gb(), gb_free_compress_tree(), GB_free_dictionary(), gb_free_dictionary(), gb_read_bin(), gbcms_write_deleted(), GBS_erase_hash(), GBS_erase_numhash(), GBS_write_numhash(), GBENTRY::index_check_out(), readAndWrite(), remove_word_from_dtree(), and single2full_dtree().