Lines Matching defs:Swap
453 // Don't use std::min, std::max or std::swap, to minimize dependency
463 template<class T> void Swap(T& a, T& b) {
558 void swap(InternalMmapVectorNoCtor &other) {
559 Swap(data_, other.data_);
560 Swap(capacity_bytes_, other.capacity_bytes_);
561 Swap(size_, other.size_);
644 Swap(v[j], v[p]);
649 // Stage 2: swap largest element with the last one,
652 Swap(v[0], v[i]);
663 Swap(v[j], v[max_ind]);