Home
last modified time | relevance | path

Searched refs:index0 (Results 1 – 4 of 4) sorted by relevance

/system/chre/util/include/chre/util/
Dfixed_size_vector_impl.h140 void FixedSizeVector<ElementType, kCapacity>::swap(size_t index0, in swap() argument
142 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap()
143 if (index0 < mSize && index1 < mSize && index0 != index1) { in swap()
147 uninitializedMoveOrCopy(&data()[index0], 1, &temp); in swap()
148 moveOrCopyAssign(data()[index0], data()[index1]); in swap()
Ddynamic_vector_impl.h300 void DynamicVector<ElementType>::swap(size_type index0, size_type index1) { in swap() argument
301 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap()
302 if (index0 != index1) { in swap()
306 uninitializedMoveOrCopy(&mData[index0], 1, &temp); in swap()
307 moveOrCopyAssign(mData[index0], mData[index1]); in swap()
Dfixed_size_vector.h154 void swap(size_t index0, size_t index1);
Ddynamic_vector.h272 void swap(size_type index0, size_type index1);