Lines Matching refs:v
27 void STLSortAndRemoveDuplicates(T* v) { in STLSortAndRemoveDuplicates() argument
28 std::sort(v->begin(), v->end()); in STLSortAndRemoveDuplicates()
29 v->erase(std::unique(v->begin(), v->end()), v->end()); in STLSortAndRemoveDuplicates()
73 void STLDeleteValues(T *v) { in STLDeleteValues() argument
74 if (!v) return; in STLDeleteValues()
75 for (typename T::iterator i = v->begin(); i != v->end(); ++i) { in STLDeleteValues()
78 v->clear(); in STLDeleteValues()
82 std::string ToString(const T& v) { in ToString() argument
85 for (size_t i = 0; i < v.size(); ++i) { in ToString()
86 os << v[i]; in ToString()
87 if (i < v.size() - 1) { in ToString()