Home
last modified time | relevance | path

Searched refs:TPOOL_ALLOC_TYPE (Results 1 – 5 of 5) sorted by relevance

/dports/graphics/blender/blender-2.91.0/extern/rangetree/intern/
H A Dgeneric_alloc_impl.h50 !defined(TPOOL_ALLOC_TYPE) || \
97 TPOOL_ALLOC_TYPE buf[0];
118 (((1 << 16) - sizeof(struct TPoolChunk)) / sizeof(TPOOL_ALLOC_TYPE))
128 sizeof(struct TPoolChunk) + (sizeof(TPOOL_ALLOC_TYPE) * tot_elems)); in pool_alloc_chunk()
135 static TPOOL_ALLOC_TYPE *pool_elem_alloc(struct TPOOL_STRUCT *pool) in pool_elem_alloc()
137 TPOOL_ALLOC_TYPE *elem; in pool_elem_alloc()
140 elem = (TPOOL_ALLOC_TYPE *)pool->free; in pool_elem_alloc()
155 static TPOOL_ALLOC_TYPE *pool_elem_calloc(struct TPOOL_STRUCT *pool) in pool_elem_calloc()
157 TPOOL_ALLOC_TYPE *elem = pool_elem_alloc(pool); in pool_elem_calloc()
162 static void pool_elem_free(struct TPOOL_STRUCT *pool, TPOOL_ALLOC_TYPE *elem) in pool_elem_free()
H A Drange_tree.c59 #define TPOOL_ALLOC_TYPE Node macro
63 #undef TPOOL_ALLOC_TYPE
/dports/graphics/blender/blender-2.91.0/extern/curve_fit_nd/intern/
H A Dgeneric_alloc_impl.h55 !defined(TPOOL_ALLOC_TYPE) || \
102 TPOOL_ALLOC_TYPE buf[0];
123 (((1 << 16) - sizeof(struct TPoolChunk)) / sizeof(TPOOL_ALLOC_TYPE))
133 sizeof(struct TPoolChunk) + (sizeof(TPOOL_ALLOC_TYPE) * tot_elems)); in pool_alloc_chunk()
140 static TPOOL_ALLOC_TYPE *pool_elem_alloc(struct TPOOL_STRUCT *pool) in pool_elem_alloc()
142 TPOOL_ALLOC_TYPE *elem; in pool_elem_alloc()
145 elem = (TPOOL_ALLOC_TYPE *)pool->free; in pool_elem_alloc()
160 static TPOOL_ALLOC_TYPE *pool_elem_calloc(struct TPOOL_STRUCT *pool) in pool_elem_calloc()
162 TPOOL_ALLOC_TYPE *elem = pool_elem_alloc(pool); in pool_elem_calloc()
167 static void pool_elem_free(struct TPOOL_STRUCT *pool, TPOOL_ALLOC_TYPE *elem) in pool_elem_free()
H A Dgeneric_heap.c63 #define TPOOL_ALLOC_TYPE HeapNode macro
67 #undef TPOOL_ALLOC_TYPE
H A Dcurve_fit_cubic_refit.c152 #define TPOOL_ALLOC_TYPE struct KnotRemoveState macro
156 #undef TPOOL_ALLOC_TYPE
173 #define TPOOL_ALLOC_TYPE struct KnotRefitState macro
177 #undef TPOOL_ALLOC_TYPE
198 #define TPOOL_ALLOC_TYPE struct KnotCornerState macro
202 #undef TPOOL_ALLOC_TYPE