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.h148 void FixedSizeVector<ElementType, kCapacity>::swap(size_t index0, in swap() argument
150 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap()
151 if (index0 < mSize && index1 < mSize && index0 != index1) { in swap()
155 uninitializedMoveOrCopy(&data()[index0], 1, &temp); in swap()
156 moveOrCopyAssign(data()[index0], data()[index1]); in swap()
Ddynamic_vector_impl.h302 void DynamicVector<ElementType>::swap(size_type index0, size_type index1) { in swap() argument
303 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap()
304 if (index0 != index1) { in swap()
308 uninitializedMoveOrCopy(&data()[index0], 1, &temp); in swap()
309 moveOrCopyAssign(data()[index0], data()[index1]); in swap()
Dfixed_size_vector.h162 void swap(size_t index0, size_t index1);
Ddynamic_vector.h246 void swap(size_type index0, size_type index1);