Lines Matching defs:first
76 NS_COUNT( InputIterator& first, const InputIterator& last, const T& value )
79 for ( ; first != last; ++first )
80 if ( *first == value )
88 copy_string( InputIterator& first, const InputIterator& last, OutputIterator& result )
93 while ( first != last )
95 PRInt32 count_copied = PRInt32(sink_traits::write(result, source_traits::read(first), source_traits::readable_distance(first, last)));
97 source_traits::advance(first, count_copied);
105 copy_string_backward( const InputIterator& first, InputIterator& last, OutputIterator& result )
107 while ( first != last )
112 if ( first.fragment().mStart == last.fragment().mStart )
113 lengthToCopy = NS_MIN(lengthToCopy, PRUint32(last.get() - first.get()));