Lines Matching refs:numElements
43 int numElements; /*!< Number of elements in the array. */ member
99 int numElements; \
125 return arr->numElements; \
140 arr->numElements = size; \
146 arr->numElements = 0; \
151 DE_ASSERT(ndx >= 0 && ndx < arr->numElements); \
161 DE_ASSERT(ndx >= 0 && ndx < arr->numElements); \
171 if ((arr->numElements + 1 >= arr->capacity) && !TYPENAME##_reserve(arr, arr->numElements + 1)) \
173 arr->numElements++; \
174 TYPENAME##_set(arr, arr->numElements - 1, elem); \
180 int ndx = arr->numElements - 1; \
183 DE_ASSERT(arr->numElements > 0); \
184 arr->numElements--; \
193 int numElements = src->numElements; \
195 if (!TYPENAME##_setSize(dst, numElements)) \
197 for (ndx = 0; ndx < numElements; ndx++) \