|
Blender V4.5
|
#include <stddef.h>Go to the source code of this file.
Classes | |
| struct | BArrayStore_AtSize |
Functions | |
| struct BArrayStore * | BLI_array_store_at_size_ensure (struct BArrayStore_AtSize *bs_stride, int stride, int chunk_size) |
| struct BArrayStore * | BLI_array_store_at_size_get (struct BArrayStore_AtSize *bs_stride, int stride) |
| void | BLI_array_store_at_size_clear (struct BArrayStore_AtSize *bs_stride) |
| void | BLI_array_store_at_size_calc_memory_usage (const struct BArrayStore_AtSize *bs_stride, size_t *r_size_expanded, size_t *r_size_compacted) |
| void BLI_array_store_at_size_calc_memory_usage | ( | const struct BArrayStore_AtSize * | bs_stride, |
| size_t * | r_size_expanded, | ||
| size_t * | r_size_compacted ) |
| void BLI_array_store_at_size_clear | ( | struct BArrayStore_AtSize * | bs_stride | ) |
Definition at line 49 of file array_store_utils.cc.
References BLI_array_store_at_size_clear(), BLI_array_store_destroy(), i, MEM_SAFE_FREE, BArrayStore_AtSize::stride_table, and BArrayStore_AtSize::stride_table_len.
Referenced by BLI_array_store_at_size_clear(), uf_arraystore_free(), and um_arraystore_free().
| struct BArrayStore * BLI_array_store_at_size_ensure | ( | struct BArrayStore_AtSize * | bs_stride, |
| int | stride, | ||
| int | chunk_size ) |
Definition at line 17 of file array_store_utils.cc.
References BLI_array_store_at_size_ensure(), BLI_array_store_create(), MEM_recallocN, MEM_SIZE_OPTIMAL, power_of_2_max_u(), size(), BArrayStore_AtSize::stride_table, and BArrayStore_AtSize::stride_table_len.
Referenced by BLI_array_store_at_size_ensure(), and um_arraystore_cd_compact().
| struct BArrayStore * BLI_array_store_at_size_get | ( | struct BArrayStore_AtSize * | bs_stride, |
| int | stride ) |
Definition at line 43 of file array_store_utils.cc.
References BLI_array_store_at_size_get(), BLI_assert, and BArrayStore_AtSize::stride_table.
Referenced by BLI_array_store_at_size_get(), um_arraystore_cd_free(), and um_arraystore_free().