Searched refs:index1 (Results 1 – 4 of 4) sorted by relevance
112 size_t index1) { in swap() argument113 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap()114 if (index0 < mSize && index1 < mSize && index0 != index1) { in swap()119 moveOrCopyAssign(data()[index0], data()[index1]); in swap()120 moveOrCopyAssign(data()[index1], temp); in swap()
248 void DynamicVector<ElementType>::swap(size_t index0, size_t index1) { in swap() argument249 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap()250 if (index0 < mSize && index1 < mSize && index0 != index1) { in swap()255 moveOrCopyAssign(mData[index0], mData[index1]); in swap()256 moveOrCopyAssign(mData[index1], temp); in swap()
137 void swap(size_t index0, size_t index1);
229 void swap(size_t index0, size_t index1);