Searched refs:index1 (Results 1 – 4 of 4) sorted by relevance
148 size_t index1) { in swap() argument149 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap()150 if (index0 < mSize && index1 < mSize && index0 != index1) { in swap()155 moveOrCopyAssign(data()[index0], data()[index1]); in swap()156 moveOrCopyAssign(data()[index1], temp); in swap()
303 void DynamicVector<ElementType>::swap(size_type index0, size_type index1) { in swap() argument304 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap()305 if (index0 != index1) { in swap()310 moveOrCopyAssign(data()[index0], data()[index1]); in swap()311 moveOrCopyAssign(data()[index1], temp); in swap()
162 void swap(size_t index0, size_t index1);
247 void swap(size_type index0, size_type index1);