Lines Matching refs:constructor
33 // They get passed a block of memory in the constructor, and unless the
111 // __cxa_vec_new2(element_count, element_size, padding_size, constructor,
115 void (*constructor)(void*), void (*destructor)(void*) ) {
118 constructor, destructor, &::operator new [], &::operator delete [] );
126 // the padding is non-zero, and call the given constructor on each element.
130 // NULL, return NULL. If the constructor throws an exception, call
134 // The constructor may be NULL, in which case it must not be called. If the
141 void (*constructor)(void*), void (*destructor)(void*),
158 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor );
170 void (*constructor)(void*), void (*destructor)(void*),
187 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor );
196 // element count and an element size, call the given copy constructor to
198 // copy constructor's arguments are the destination address and source
201 // throws an exception, call terminate(). The constructor and or destructor
207 void (*constructor) (void*, void*), void (*destructor)(void*) ) {
209 if ( NULL != constructor ) {
217 constructor ( dest_ptr, src_ptr );
224 // and the number and size of its elements, call the given constructor on
225 // each element. If the constructor throws an exception, call the given
228 // constructor and/or destructor pointers may be NULL. If either is NULL,
232 void (*constructor)(void*), void (*destructor)(void*) ) {
234 if ( NULL != constructor ) {
241 constructor ( ptr );