Lines Matching full:element_count
29 inline static void __set_element_count ( void *p, size_t element_count ) {
30 static_cast <size_t *> (p)[-1] = element_count;
115 // __cxa_vec_new2(element_count, element_size, padding_size, constructor,
118 __cxa_vec_new(size_t element_count, size_t element_size, size_t padding_size,
120 return __cxa_vec_new2 ( element_count, element_size, padding_size,
143 __cxa_vec_new2(size_t element_count, size_t element_size, size_t padding_size,
146 const size_t heap_size = element_count * element_size + padding_size;
156 __set_element_count ( vec_base, element_count );
160 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor );
171 __cxa_vec_new3(size_t element_count, size_t element_size, size_t padding_size,
174 const size_t heap_size = element_count * element_size + padding_size;
184 __set_element_count ( vec_base, element_count );
188 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor );
207 size_t element_count,
217 for ( idx = 0; idx < element_count;
233 __cxa_vec_ctor(void *array_address, size_t element_count, size_t element_size,
241 for ( idx = 0; idx < element_count; ++idx, ptr += element_size )
254 size_t element_count,
259 size_t idx = element_count;
263 ptr += element_count * element_size; // one past the last element
280 size_t element_count,
285 size_t idx = element_count;
288 ptr += element_count * element_size; // one past the last element
355 const size_t element_count = padding_size ? __get_element_count ( vec_base ) : 0;
356 const size_t heap_block_size = element_size * element_count + padding_size;
360 __cxa_vec_dtor ( array_address, element_count, element_size, destructor );