Lines Matching defs:num_elements
38 VGint num_elements;
79 array->num_elements = (array->num_elements > num) ? num :
80 array->num_elements;
84 const void *data, int num_elements)
88 while (array->num_elements + num_elements > array->size) {
89 array_resize(array, (array->num_elements + num_elements) * 1.5);
92 memcpy(adata + (array->num_elements * array->datatype_size), data,
93 num_elements * array->datatype_size);
94 array->num_elements += num_elements;
100 int num_elements)
104 num_elements * array->datatype_size);
113 (array->num_elements - idx - 1) * array->datatype_size);
114 --array->num_elements;
119 array->num_elements = 0;