Lines Matching refs:last

81 #define OFForEach(InputIterator_type, Function_type, first, last, f) for_each((first), (last), (f))  argument
82 #define OFFind(InputIterator_type, T_type, first, last, value) find((first), (last), (value)) argument
83 #define OFFindIf(InputIterator_type, Predicate_type, first, last, pred) find_if((first), (last), (p… argument
84 #define OFAdjacentFind(ForwardIterator_type, first, last) adjacent_find((first), (last)) argument
85 …Pred(ForwardIterator_type, BinaryPredicate_type, first, last, pred) adjacent_find((first), (last),… argument
90 #define OFForEach(InputIterator_type, Function_type, first, last, f) OF_ForEach((first), (last), (f… argument
92 #define OFFind(InputIterator_type, T_type, first, last, value) OF_Find((first), (last), (value)) argument
94 #define OFFindIf(InputIterator_type, Predicate_type, first, last, pred) OF_FindIf((first), (last), … argument
96 #define OFAdjacentFind(ForwardIterator_type, first, last) OF_AdjacentFind((first), (last)) argument
98 …red(ForwardIterator_type, BinaryPredicate_type, first, last, pred) OF_AdjacentFind((first), (last)… argument
102 …ator_type, Function_type, first, last, f) OF_ForEachClass<InputIterator_type, Function_type>::OF_F… argument
104 …nd(InputIterator_type, T_type, first, last, value) OF_FindClass<InputIterator_type, T_type>::OF_Fi… argument
106 …or_type, Predicate_type, first, last, pred) OF_FindIfClass<InputIterator_type, Predicate_type>::OF… argument
108 …Find(ForwardIterator_type, first, last) OF_AdjacentFindClass<ForwardIterator_type, int>::OF_Adjace… argument
110 …dicate_type, first, last, pred) OF_AdjacentFindPredClass<ForwardIterator_type, BinaryPredicate_typ… argument
123 Function OF_ForEach(InputIterator first, InputIterator last, Function f) in OF_ForEach() argument
125 while (first != last) in OF_ForEach()
143 InputIterator OF_Find(InputIterator first, InputIterator last, const T & value) in OF_Find() argument
145 while (first != last && *first != value) ++ first; in OF_Find()
160 InputIterator OF_FindIf(InputIterator first, InputIterator last, in OF_FindIf() argument
163 while (first != last && !pred(*first)) ++first; in OF_FindIf()
177 ForwardIterator OF_AdjacentFind(ForwardIterator first, ForwardIterator last) in OF_AdjacentFind() argument
179 if (first == last) return last; in OF_AdjacentFind()
181 while (++next != last) in OF_AdjacentFind()
186 return last; in OF_AdjacentFind()
199 ForwardIterator OF_AdjacentFind(ForwardIterator first, ForwardIterator last, in OF_AdjacentFind() argument
202 if (first == last) return last; in OF_AdjacentFind()
204 while (++next != last) in OF_AdjacentFind()
206 if (pred(*first, *last)) return first; in OF_AdjacentFind()
209 return last; in OF_AdjacentFind()