Searched refs:index0 (Results 1 – 4 of 4) sorted by relevance
/system/chre/util/include/chre/util/ |
D | fixed_size_vector_impl.h | 111 void FixedSizeVector<ElementType, kCapacity>::swap(size_t index0, in swap() argument 113 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap() 114 if (index0 < mSize && index1 < mSize && index0 != index1) { in swap() 118 uninitializedMoveOrCopy(&data()[index0], 1, &temp); in swap() 119 moveOrCopyAssign(data()[index0], data()[index1]); in swap()
|
D | dynamic_vector_impl.h | 248 void DynamicVector<ElementType>::swap(size_t index0, size_t index1) { in swap() argument 249 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap() 250 if (index0 < mSize && index1 < mSize && index0 != index1) { in swap() 254 uninitializedMoveOrCopy(&mData[index0], 1, &temp); in swap() 255 moveOrCopyAssign(mData[index0], mData[index1]); in swap()
|
D | fixed_size_vector.h | 137 void swap(size_t index0, size_t index1);
|
D | dynamic_vector.h | 229 void swap(size_t index0, size_t index1);
|