Lines Matching refs:__result
233 …Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, false> __result) {
248 *__result.__seg_ &= ~__m;
249 *__result.__seg_ |= __b;
250 __result.__seg_ += (__dn + __result.__ctz_) / __bits_per_word;
251 __result.__ctz_ = static_cast<unsigned>((__dn + __result.__ctz_) % __bits_per_word);
258 std::copy_n(std::__to_address(__first.__seg_), __nw, std::__to_address(__result.__seg_));
260 __result.__seg_ += __nw;
266 *__result.__seg_ &= ~__m;
267 *__result.__seg_ |= __b;
268 __result.__ctz_ = static_cast<unsigned>(__n);
271 return __result;
276 …Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, false> __result) {
291 unsigned __clz_r = __bits_per_word - __result.__ctz_;
293 …__m = (~__storage_type(0) << __result.__ctz_) & (~__storage_type(0) >> (__clz_r -…
294 *__result.__seg_ &= ~__m;
295 if (__result.__ctz_ > __first.__ctz_)
296 *__result.__seg_ |= __b << (__result.__ctz_ - __first.__ctz_);
298 *__result.__seg_ |= __b >> (__first.__ctz_ - __result.__ctz_);
299 __result.__seg_ += (__ddn + __result.__ctz_) / __bits_per_word;
300 __result.__ctz_ = static_cast<unsigned>((__ddn + __result.__ctz_) % __bits_per_word);
304 *__result.__seg_ &= ~__m;
305 *__result.__seg_ |= __b >> (__first.__ctz_ + __ddn);
306 __result.__ctz_ = static_cast<unsigned>(__dn);
313 unsigned __clz_r = __bits_per_word - __result.__ctz_;
314 __storage_type __m = ~__storage_type(0) << __result.__ctz_;
317 *__result.__seg_ &= ~__m;
318 *__result.__seg_ |= __b << __result.__ctz_;
319 ++__result.__seg_;
320 *__result.__seg_ &= __m;
321 *__result.__seg_ |= __b >> __clz_r;
328 …__m = (~__storage_type(0) << __result.__ctz_) & (~__storage_type(0) >> (__clz_r - …
329 *__result.__seg_ &= ~__m;
330 *__result.__seg_ |= __b << __result.__ctz_;
331 __result.__seg_ += (__dn + __result.__ctz_) / __bits_per_word;
332 __result.__ctz_ = static_cast<unsigned>((__dn + __result.__ctz_) % __bits_per_word);
336 *__result.__seg_ &= ~__m;
337 *__result.__seg_ |= __b >> __dn;
338 __result.__ctz_ = static_cast<unsigned>(__n);
342 return __result;
347 …Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, false> __result) {
348 if (__first.__ctz_ == __result.__ctz_)
349 return std::__copy_aligned(__first, __last, __result);
350 return std::__copy_unaligned(__first, __last, __result);
357 …Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, false> __result) {
372 *__result.__seg_ &= ~__m;
373 *__result.__seg_ |= __b;
374 …__result.__ctz_ = static_cast<unsigned>(((-__dn & (__bits_per_word - 1)) + __result.__ctz_) % __bi…
378 // __result.__ctz_ == 0 || __n == 0
381 __result.__seg_ -= __nw;
383 std::copy_n(std::__to_address(__last.__seg_), __nw, std::__to_address(__result.__seg_));
389 *--__result.__seg_ &= ~__m;
390 *__result.__seg_ |= __b;
391 __result.__ctz_ = static_cast<unsigned>(-__n & (__bits_per_word - 1));
394 return __result;
399 …Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, false> __result) {
414 unsigned __clz_r = __bits_per_word - __result.__ctz_;
415 __storage_type __ddn = std::min(__dn, static_cast<difference_type>(__result.__ctz_));
417 __m = (~__storage_type(0) << (__result.__ctz_ - __ddn)) & (~__storage_type(0) >> __clz_r);
418 *__result.__seg_ &= ~__m;
419 if (__result.__ctz_ > __last.__ctz_)
420 *__result.__seg_ |= __b << (__result.__ctz_ - __last.__ctz_);
422 *__result.__seg_ |= __b >> (__last.__ctz_ - __result.__ctz_);
423 …__result.__ctz_ = static_cast<unsigned>(((-__ddn & (__bits_per_word - 1)) + __result.__ctz_) % __b…
427 // __result.__ctz_ == 0
428 --__result.__seg_;
429 __result.__ctz_ = static_cast<unsigned>(-__dn & (__bits_per_word - 1));
430 __m = ~__storage_type(0) << __result.__ctz_;
431 *__result.__seg_ &= ~__m;
433 *__result.__seg_ |= __b << (__result.__ctz_ - __last.__ctz_);
438 // __result.__ctz_ != 0 || __n == 0
440 unsigned __clz_r = __bits_per_word - __result.__ctz_;
444 *__result.__seg_ &= ~__m;
445 *__result.__seg_ |= __b >> __clz_r;
446 *--__result.__seg_ &= __m;
447 *__result.__seg_ |= __b << __result.__ctz_;
453 __clz_r = __bits_per_word - __result.__ctz_;
454 __storage_type __dn = std::min(__n, static_cast<difference_type>(__result.__ctz_));
455 …__m = (~__storage_type(0) << (__result.__ctz_ - __dn)) & (~__storage_type(0) >> __…
456 *__result.__seg_ &= ~__m;
457 *__result.__seg_ |= __b >> (__bits_per_word - __result.__ctz_);
458 …__result.__ctz_ = static_cast<unsigned>(((-__dn & (__bits_per_word - 1)) + __result.__ctz_) % __bi…
461 // __result.__ctz_ == 0
462 --__result.__seg_;
463 __result.__ctz_ = static_cast<unsigned>(-__n & (__bits_per_word - 1));
464 __m = ~__storage_type(0) << __result.__ctz_;
465 *__result.__seg_ &= ~__m;
466 *__result.__seg_ |= __b << (__result.__ctz_ - (__bits_per_word - __n - __dn));
470 return __result;
475 …Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, false> __result) {
476 if (__last.__ctz_ == __result.__ctz_)
477 return std::__copy_backward_aligned(__first, __last, __result);
478 return std::__copy_backward_unaligned(__first, __last, __result);
485 …Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, false> __result) {
486 return std::copy(__first, __last, __result);
493 …Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, false> __result) {
494 return std::copy_backward(__first, __last, __result);
501 …ator<_Cl, false> __first, __bit_iterator<_Cl, false> __last, __bit_iterator<_Cr, false> __result) {
517 __storage_type __b2 = *__result.__seg_ & __m;
518 *__result.__seg_ &= ~__m;
519 *__result.__seg_ |= __b1;
521 __result.__seg_ += (__dn + __result.__ctz_) / __bits_per_word;
522 __result.__ctz_ = static_cast<unsigned>((__dn + __result.__ctz_) % __bits_per_word);
528 for (; __n >= __bits_per_word; __n -= __bits_per_word, ++__first.__seg_, ++__result.__seg_)
529 swap(*__first.__seg_, *__result.__seg_);
535 __storage_type __b2 = *__result.__seg_ & __m;
536 *__result.__seg_ &= ~__m;
537 *__result.__seg_ |= __b1;
539 __result.__ctz_ = static_cast<unsigned>(__n);
542 return __result;
547 …ator<_Cl, false> __first, __bit_iterator<_Cl, false> __last, __bit_iterator<_Cr, false> __result) {
563 unsigned __clz_r = __bits_per_word - __result.__ctz_;
565 …__m = (~__storage_type(0) << __result.__ctz_) & (~__storage_type(0) >> (__clz_r -…
566 __storage_type __b2 = *__result.__seg_ & __m;
567 *__result.__seg_ &= ~__m;
568 if (__result.__ctz_ > __first.__ctz_) {
569 unsigned __s = __result.__ctz_ - __first.__ctz_;
570 *__result.__seg_ |= __b1 << __s;
573 unsigned __s = __first.__ctz_ - __result.__ctz_;
574 *__result.__seg_ |= __b1 >> __s;
577 __result.__seg_ += (__ddn + __result.__ctz_) / __bits_per_word;
578 __result.__ctz_ = static_cast<unsigned>((__ddn + __result.__ctz_) % __bits_per_word);
582 __b2 = *__result.__seg_ & __m;
583 *__result.__seg_ &= ~__m;
585 *__result.__seg_ |= __b1 >> __s;
587 __result.__ctz_ = static_cast<unsigned>(__dn);
594 __storage_type __m = ~__storage_type(0) << __result.__ctz_;
595 unsigned __clz_r = __bits_per_word - __result.__ctz_;
598 __storage_type __b2 = *__result.__seg_ & __m;
599 *__result.__seg_ &= ~__m;
600 *__result.__seg_ |= __b1 << __result.__ctz_;
601 *__first.__seg_ = __b2 >> __result.__ctz_;
602 ++__result.__seg_;
603 __b2 = *__result.__seg_ & ~__m;
604 *__result.__seg_ &= __m;
605 *__result.__seg_ |= __b1 >> __clz_r;
614 …__m = (~__storage_type(0) << __result.__ctz_) & (~__storage_type(0) >> (__clz_r - …
615 __storage_type __b2 = *__result.__seg_ & __m;
616 *__result.__seg_ &= ~__m;
617 *__result.__seg_ |= __b1 << __result.__ctz_;
618 *__first.__seg_ |= __b2 >> __result.__ctz_;
619 __result.__seg_ += (__dn + __result.__ctz_) / __bits_per_word;
620 __result.__ctz_ = static_cast<unsigned>((__dn + __result.__ctz_) % __bits_per_word);
624 __b2 = *__result.__seg_ & __m;
625 *__result.__seg_ &= ~__m;
626 *__result.__seg_ |= __b1 >> __dn;
628 __result.__ctz_ = static_cast<unsigned>(__n);
632 return __result;
1015 …_iterator<_Dp, _IC> __first, __bit_iterator<_Dp, _IC> __last, __bit_iterator<_Dp, false> __result);
1018 …_iterator<_Dp, _IC> __first, __bit_iterator<_Dp, _IC> __last, __bit_iterator<_Dp, false> __result);
1021 …_iterator<_Dp, _IC> __first, __bit_iterator<_Dp, _IC> __last, __bit_iterator<_Dp, false> __result);
1024 …_iterator<_Dp, _IC> __first, __bit_iterator<_Dp, _IC> __last, __bit_iterator<_Dp, false> __result);
1027 …_iterator<_Dp, _IC> __first, __bit_iterator<_Dp, _IC> __last, __bit_iterator<_Dp, false> __result);
1030 …_iterator<_Dp, _IC> __first, __bit_iterator<_Dp, _IC> __last, __bit_iterator<_Dp, false> __result);