sanitizer_common.h | 406 // Don't use std::min, std::max or std::swap, to minimize dependency 410 template<class T> void Swap(T& a, T& b) { 504 void swap(InternalMmapVectorNoCtor &other) { function in class:__sanitizer::InternalMmapVectorNoCtor 505 Swap(data_, other.data_); 506 Swap(capacity_bytes_, other.capacity_bytes_); 507 Swap(size_, other.size_); 590 Swap(v[j], v[p]); 595 // Stage 2: swap largest element with the last one, 598 Swap(v[0], v[i]); 609 Swap(v[j], v[max_ind]) [all...] |