Lines Matching defs:pValue1Result

600  * @returns pValue1Result.
601 * @param pValue1Result The first value and result.
604 DECLINLINE(PRTUINT128U) RTUInt128AssignAdd(PRTUINT128U pValue1Result, PCRTUINT128U pValue2)
606 uint64_t const uTmp = pValue1Result->s.Lo;
607 pValue1Result->s.Lo += pValue2->s.Lo;
608 if (pValue1Result->s.Lo < uTmp)
609 pValue1Result->s.Hi++;
610 pValue1Result->s.Hi += pValue2->s.Hi;
611 return pValue1Result;
619 * @returns pValue1Result.
620 * @param pValue1Result The first value and result.
623 DECLINLINE(PRTUINT128U) RTUInt128AssignAddU64(PRTUINT128U pValue1Result, uint64_t uValue2)
625 pValue1Result->s.Lo += uValue2;
626 if (pValue1Result->s.Lo < uValue2)
627 pValue1Result->s.Hi++;
628 return pValue1Result;
636 * @returns pValue1Result.
637 * @param pValue1Result The minuend value and result.
640 DECLINLINE(PRTUINT128U) RTUInt128AssignSub(PRTUINT128U pValue1Result, PCRTUINT128U pValue2)
642 uint64_t const uTmp = pValue1Result->s.Lo;
643 pValue1Result->s.Lo -= pValue2->s.Lo;
644 if (pValue1Result->s.Lo > uTmp)
645 pValue1Result->s.Hi--;
646 pValue1Result->s.Hi -= pValue2->s.Hi;
647 return pValue1Result;
655 * @returns pValue1Result.
656 * @param pValue1Result The first value and result.
659 DECLINLINE(PRTUINT128U) RTUInt128AssignMul(PRTUINT128U pValue1Result, PCRTUINT128U pValue2)
662 RTUInt128Mul(&Result, pValue1Result, pValue2);
663 *pValue1Result = Result;
664 return pValue1Result;
672 * @returns pValue1Result.
673 * @param pValue1Result The dividend value and result.
676 DECLINLINE(PRTUINT128U) RTUInt128AssignDiv(PRTUINT128U pValue1Result, PCRTUINT128U pValue2)
680 RTUInt128DivRem(&Result, &Ignored, pValue1Result, pValue2);
681 *pValue1Result = Result;
682 return pValue1Result;
690 * @returns pValue1Result.
691 * @param pValue1Result The dividend value and result (remainder).
694 DECLINLINE(PRTUINT128U) RTUInt128AssignMod(PRTUINT128U pValue1Result, PCRTUINT128U pValue2)
698 RTUInt128DivRem(&Ignored, &Result, pValue1Result, pValue2);
699 *pValue1Result = Result;
700 return pValue1Result;
708 * @returns pValue1Result.
709 * @param pValue1Result The first value and result.
712 DECLINLINE(PRTUINT128U) RTUInt128AssignAnd(PRTUINT128U pValue1Result, PCRTUINT128U pValue2)
715 pValue1Result->s.Hi &= pValue2->s.Hi;
716 pValue1Result->s.Lo &= pValue2->s.Lo;
718 pValue1Result->DWords.dw0 &= pValue2->DWords.dw0;
719 pValue1Result->DWords.dw1 &= pValue2->DWords.dw1;
720 pValue1Result->DWords.dw2 &= pValue2->DWords.dw2;
721 pValue1Result->DWords.dw3 &= pValue2->DWords.dw3;
723 return pValue1Result;
755 * @returns pValue1Result.
756 * @param pValue1Result The first value and result.
759 DECLINLINE(PRTUINT128U) RTUInt128AssignOr(PRTUINT128U pValue1Result, PCRTUINT128U pValue2)
762 pValue1Result->s.Hi |= pValue2->s.Hi;
763 pValue1Result->s.Lo |= pValue2->s.Lo;
765 pValue1Result->DWords.dw0 |= pValue2->DWords.dw0;
766 pValue1Result->DWords.dw1 |= pValue2->DWords.dw1;
767 pValue1Result->DWords.dw2 |= pValue2->DWords.dw2;
768 pValue1Result->DWords.dw3 |= pValue2->DWords.dw3;
770 return pValue1Result;
777 * @returns pValue1Result.
778 * @param pValue1Result The first value and result.
781 DECLINLINE(PRTUINT128U) RTUInt128AssignOrBit(PRTUINT128U pValue1Result, uint32_t iBit)
785 pValue1Result->s.Hi |= RT_BIT_64(iBit - 64);
787 pValue1Result->s.Lo |= RT_BIT_64(iBit);
792 pValue1Result->DWords.dw3 |= RT_BIT_32(iBit - 96);
794 pValue1Result->DWords.dw2 |= RT_BIT_32(iBit - 64);
799 pValue1Result->DWords.dw1 |= RT_BIT_32(iBit - 32);
801 pValue1Result->DWords.dw0 |= RT_BIT_32(iBit);
804 return pValue1Result;
813 * @returns pValue1Result.
814 * @param pValue1Result The first value and result.
817 DECLINLINE(PRTUINT128U) RTUInt128AssignXor(PRTUINT128U pValue1Result, PCRTUINT128U pValue2)
820 pValue1Result->s.Hi ^= pValue2->s.Hi;
821 pValue1Result->s.Lo ^= pValue2->s.Lo;
823 pValue1Result->DWords.dw0 ^= pValue2->DWords.dw0;
824 pValue1Result->DWords.dw1 ^= pValue2->DWords.dw1;
825 pValue1Result->DWords.dw2 ^= pValue2->DWords.dw2;
826 pValue1Result->DWords.dw3 ^= pValue2->DWords.dw3;
828 return pValue1Result;
836 * @returns pValue1Result.
837 * @param pValue1Result The first value and result.
887 * @returns pValue1Result.
888 * @param pValue1Result The first value and result.