Lines Matching refs:_Distance
266 typename _Distance>
269 _OutputIterator __out, const _Distance __n)
277 _Distance __remaining = std::distance(__first, __last);
278 _Distance __m = min(__n, __remaining);
300 typename _Distance, typename _RandomNumberGenerator>
303 _OutputIterator __out, const _Distance __n,
311 _RandomNumberGenerator, _Distance, _Distance>)
314 _Distance __remaining = std::distance(__first, __last);
315 _Distance __m = min(__n, __remaining);
332 typename _Distance>
336 const _Distance __n)
338 _Distance __m = 0;
339 _Distance __t = __n;
346 _Distance __M = std::rand() % (__t);
355 typename _RandomNumberGenerator, typename _Distance>
360 const _Distance __n)
364 _RandomNumberGenerator, _Distance, _Distance>)
366 _Distance __m = 0;
367 _Distance __t = __n;
374 _Distance __M = __rand(__t);