Lines Matching refs:first2
114 bool is_permutation(SVIter first1, SVIter last1, SVIter first2) in is_permutation() argument
121 for (; first1 != last1; ++first1, ++first2) in is_permutation()
126 yBuckets [first2->key]++; in is_permutation()
127 yPayloads[first2->key] += first2->payload; in is_permutation()
142 bool is_permutation(Iter1 first1, Iter1 last1, Iter2 first2) in is_permutation() argument
150 for (; first1 != last1; ++first1, ++first2) in is_permutation()
153 yBuckets [*first2]++; in is_permutation()
328 static bool compare_unique(Iter1 first1, Iter1 last1, Iter2 first2, Iter2 last2) in compare_unique() argument
330 assert(first1 != last1 && first2 != last2); in compare_unique()
331 if (*first1 != *first2) return false; in compare_unique()
334 ++first1; ++first2; in compare_unique()
335 while(first1 != last1 && first2 != last2) in compare_unique()
340 if (*first1 != *first2) return false; in compare_unique()
342 ++first1; ++first2; in compare_unique()
346 if (first1 == last1 && first2 != last2) return false; in compare_unique()