Home | History | Annotate | Download | only in depool

Lines Matching defs:capacity

44 	int				capacity;			/*!< Number of allocated elements in the array.		*/
53 deBool dePoolArray_reserve (dePoolArray* arr, int capacity);
100 int capacity; \
108 DE_INLINE deBool TYPENAME##_reserve (DE_PTR_TYPE(TYPENAME) arr, int capacity) DE_UNUSED_FUNCTION; \
128 DE_INLINE deBool TYPENAME##_reserve (DE_PTR_TYPE(TYPENAME) arr, int capacity) \
130 if (capacity > arr->capacity) \
131 return dePoolArray_reserve((dePoolArray*)arr, capacity); \
137 if (size > arr->capacity) \
171 if ((arr->numElements + 1 >= arr->capacity) && !TYPENAME##_reserve(arr, arr->numElements + 1)) \