Lines Matching refs:element_count
27 inline static void __set_element_count ( void *p, size_t element_count ) { in __set_element_count() argument
28 static_cast <size_t *> (p)[-1] = element_count; in __set_element_count()
114 size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new() argument
117 return __cxa_vec_new2 ( element_count, element_size, padding_size, in __cxa_vec_new()
140 size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new2() argument
144 const size_t heap_size = element_count * element_size + padding_size; in __cxa_vec_new2()
154 __set_element_count ( vec_base, element_count ); in __cxa_vec_new2()
158 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor ); in __cxa_vec_new2()
169 size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new3() argument
173 const size_t heap_size = element_count * element_size + padding_size; in __cxa_vec_new3()
183 __set_element_count ( vec_base, element_count ); in __cxa_vec_new3()
187 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor ); in __cxa_vec_new3()
206 size_t element_count, size_t element_size, in __cxa_vec_cctor() argument
215 for ( idx = 0; idx < element_count; in __cxa_vec_cctor()
231 void* array_address, size_t element_count, size_t element_size, in __cxa_vec_ctor() argument
240 for ( idx = 0; idx < element_count; ++idx, ptr += element_size ) in __cxa_vec_ctor()
253 void* array_address, size_t element_count, size_t element_size, in __cxa_vec_dtor() argument
258 size_t idx = element_count; in __cxa_vec_dtor()
262 ptr += element_count * element_size; // one past the last element in __cxa_vec_dtor()
278 void __cxa_vec_cleanup( void* array_address, size_t element_count, in __cxa_vec_cleanup() argument
283 size_t idx = element_count; in __cxa_vec_cleanup()
286 ptr += element_count * element_size; // one past the last element in __cxa_vec_cleanup()
355 const size_t element_count = padding_size ? __get_element_count ( vec_base ) : 0; in __cxa_vec_delete3() local
356 const size_t heap_block_size = element_size * element_count + padding_size; in __cxa_vec_delete3()
360 __cxa_vec_dtor ( array_address, element_count, element_size, destructor ); in __cxa_vec_delete3()