Lines Matching refs:first

77 #define OFForEach(InputIterator_type, Function_type, first, last, f) STD_NAMESPACE for_each((first)…  argument
78 #define OFFind(InputIterator_type, T_type, first, last, value) STD_NAMESPACE find((first), (last), … argument
79 #define OFFindIf(InputIterator_type, Predicate_type, first, last, pred) STD_NAMESPACE find_if((firs… argument
80 #define OFAdjacentFind(ForwardIterator_type, first, last) STD_NAMESPACE adjacent_find((first), (las… argument
81 …dPred(ForwardIterator_type, BinaryPredicate_type, first, last, pred) STD_NAMESPACE adjacent_find(( argument
86 #define OFForEach(InputIterator_type, Function_type, first, last, f) OF_ForEach((first), (last), (f… argument
88 #define OFFind(InputIterator_type, T_type, first, last, value) OF_Find((first), (last), (value)) argument
90 #define OFFindIf(InputIterator_type, Predicate_type, first, last, pred) OF_FindIf((first), (last), … argument
92 #define OFAdjacentFind(ForwardIterator_type, first, last) OF_AdjacentFind((first), (last)) argument
94 …entFindPred(ForwardIterator_type, BinaryPredicate_type, first, last, pred) OF_AdjacentFind((first)… argument
98 …nputIterator_type, Function_type, first, last, f) OF_ForEachClass<InputIterator_type, Function_typ… argument
100 …ne OFFind(InputIterator_type, T_type, first, last, value) OF_FindClass<InputIterator_type, T_type>… argument
102 …utIterator_type, Predicate_type, first, last, pred) OF_FindIfClass<InputIterator_type, Predicate_t… argument
104 …djacentFind(ForwardIterator_type, first, last) OF_AdjacentFindClass<ForwardIterator_type, int>::OF… argument
106 …inaryPredicate_type, first, last, pred) OF_AdjacentFindPredClass<ForwardIterator_type, BinaryPredi… argument
119 Function OF_ForEach(InputIterator first, InputIterator last, Function f) in OF_ForEach() argument
121 while (first != last) in OF_ForEach()
123 f(*first); in OF_ForEach()
124 ++first; in OF_ForEach()
139 InputIterator OF_Find(InputIterator first, InputIterator last, const T & value) in OF_Find() argument
141 while (first != last && *first != value) ++ first; in OF_Find()
142 return first; in OF_Find()
156 InputIterator OF_FindIf(InputIterator first, InputIterator last, in OF_FindIf() argument
159 while (first != last && !pred(*first)) ++first; in OF_FindIf()
160 return first; in OF_FindIf()
173 ForwardIterator OF_AdjacentFind(ForwardIterator first, ForwardIterator last) in OF_AdjacentFind() argument
175 if (first == last) return last; in OF_AdjacentFind()
176 ForwardIterator next(first); in OF_AdjacentFind()
179 if (*first == *next) return *first; in OF_AdjacentFind()
180 ++first; in OF_AdjacentFind()
195 ForwardIterator OF_AdjacentFind(ForwardIterator first, ForwardIterator last, in OF_AdjacentFind() argument
198 if (first == last) return last; in OF_AdjacentFind()
199 ForwardIterator next = first; in OF_AdjacentFind()
202 if (pred(*first, *last)) return first; in OF_AdjacentFind()
203 ++first; in OF_AdjacentFind()