Home | History | Annotate | Download | only in wtf

Lines Matching refs:VectorTraits

30 #include "wtf/VectorTraits.h"
247 VectorDestructor<VectorTraits<T>::needsDestruction, T>::destruct(begin, end);
252 VectorInitializer<VectorTraits<T>::canInitializeWithMemset, T>::initialize(begin, end);
257 VectorMover<VectorTraits<T>::canMoveWithMemcpy, T>::move(src, srcEnd, dst);
262 VectorMover<VectorTraits<T>::canMoveWithMemcpy, T>::moveOverlapping(src, srcEnd, dst);
267 VectorMover<VectorTraits<T>::canMoveWithMemcpy, T>::swap(src, srcEnd, dst);
272 VectorCopier<VectorTraits<T>::canCopyWithMemcpy, T>::uninitializedCopy(src, srcEnd, dst);
277 VectorFiller<VectorTraits<T>::canFillWithMemset, T>::uninitializedFill(dst, dstEnd, val);
282 return VectorComparer<VectorTraits<T>::canCompareWithMemcmp, T>::compare(a, b, size);
292 typedef typename Allocator::template VectorBackingHelper<T, VectorTraits<T> >::Type VectorBacking;
310 VectorUnusedSlotClearer<Allocator::isGarbageCollected && (VectorTraits<T>::needsDestruction || ShouldBeTraced<VectorTraits<T> >::value), T>::clear(from, to);
513 // correctness of non-finalized garbage-collected classes and the use of VectorTraits::needsDestruction.
527 // The use of VectorTraits<Elements>::needsDestruction is delayed until we know that
531 // depending on the value of VectorTraits<Elements>::needsDestruction.
545 class VectorDestructorBase<Derived, Elements, true, true> : public HeapVectorWithInlineCapacityDestructorBase<Derived, VectorTraits<Elements>::needsDestruction> { };
568 COMPILE_ASSERT(!Allocator::isGarbageCollected || !VectorTraits<T>::needsDestruction || VectorTraits<T>::canInitializeWithMemset, ClassHasProblemsWithFinalizersCalledOnClearedMemory);
569 COMPILE_ASSERT(!WTF::IsPolymorphic<T>::value || !VectorTraits<T>::canInitializeWithMemset, CantInitializeWithMemsetIfThereIsAVtable);
580 COMPILE_ASSERT(!Allocator::isGarbageCollected || !VectorTraits<T>::needsDestruction || VectorTraits<T>::canInitializeWithMemset, ClassHasProblemsWithFinalizersCalledOnClearedMemory);
1022 VectorCopier<VectorTraits<T>::canCopyWithMemcpy, T>::uninitializedCopy(data, &data[dataSize], dest);
1081 VectorCopier<VectorTraits<T>::canCopyWithMemcpy, T>::uninitializedCopy(data, &data[dataSize], spot);
1193 if (ShouldBeTraced<VectorTraits<T> >::value) {
1195 Allocator::template trace<T, VectorTraits<T> >(visitor, *const_cast<T*>(bufferEntry));