Lines Matching refs:D2U

674       Int needbytes=D2U(d)*sizeof(Unit);/* bytes needed  */  in uprv_decNumberFromString()
688 up=res+D2U(d)-1; /* -> msu */ in uprv_decNumberFromString()
837 msua=ua+D2U(lhs->digits)-1; /* -> msu of lhs */ in uprv_decNumberAnd()
838 msub=ub+D2U(rhs->digits)-1; /* -> msu of rhs */ in uprv_decNumberAnd()
839 msuc=uc+D2U(set->digits)-1; /* -> msu of result */ in uprv_decNumberAnd()
965 needbytes=sizeof(decNumber)+(D2U(lhs->digits)-1)*sizeof(Unit); in uprv_decNumberCompareTotalMag()
979 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit); in uprv_decNumberCompareTotalMag()
1158 needbytes=sizeof(decNumber)+(D2U(dcmul.digits)-1)*sizeof(Unit); in uprv_decNumberFMA()
1231 msua=ua+D2U(rhs->digits)-1; /* -> msu of rhs */ in uprv_decNumberInvert()
1232 msuc=uc+D2U(set->digits)-1; /* -> msu of result */ in uprv_decNumberInvert()
1491 needbytes=sizeof(decNumber)+(D2U(p)-1)*sizeof(Unit); in uprv_decNumberLog10()
1514 needbytes=sizeof(decNumber)+(D2U(p)-1)*sizeof(Unit); in uprv_decNumberLog10()
1852 msua=ua+D2U(lhs->digits)-1; /* -> msu of lhs */ in uprv_decNumberOr()
1853 msub=ub+D2U(rhs->digits)-1; /* -> msu of rhs */ in uprv_decNumberOr()
1854 msuc=uc+D2U(set->digits)-1; /* -> msu of result */ in uprv_decNumberOr()
2161 needbytes=sizeof(decNumber)+(D2U(aset.digits)-1)*sizeof(Unit); in uprv_decNumberPower()
2513 Unit *msu=res->lsu+D2U(res->digits)-1; /* current msu */ in uprv_decNumberRotate()
2514 Unit *msumax=res->lsu+D2U(set->digits)-1; /* rotation msu */ in uprv_decNumberRotate()
2555 decShiftToLeast(res->lsu, D2U(res->digits), shift); in uprv_decNumberRotate()
2742 decShiftToLeast(res->lsu, D2U(res->digits), -shift); in uprv_decNumberShift()
2922 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit); in uprv_decNumberSquareRoot()
2931 needbytes=sizeof(decNumber)+(D2U(maxp)-1)*sizeof(Unit); in uprv_decNumberSquareRoot()
3120 decShiftToLeast(a->lsu, D2U(a->digits), todrop); in uprv_decNumberSquareRoot()
3282 msua=ua+D2U(lhs->digits)-1; /* -> msu of lhs */ in uprv_decNumberXor()
3283 msub=ub+D2U(rhs->digits)-1; /* -> msu of rhs */ in uprv_decNumberXor()
3284 msuc=uc+D2U(set->digits)-1; /* -> msu of result */ in uprv_decNumberXor()
3403 smsup=src->lsu+D2U(src->digits); /* -> source msu+1 */ in uprv_decNumberCopy()
3521 Unit *up=dn->lsu+D2U(dn->digits)-1; /* -> msu [target pointer] */ in uprv_decNumberSetBCD()
3656 const Unit *up=dn->lsu+D2U(dn->digits)-1; /* -> msu [input pointer] */ in decToString()
3995 res->digits=decGetDigits(res->lsu, D2U(res->digits)); in decAddOp()
4049 rhsshift=D2U(padding+1)-1; /* this much by Unit shift .. */ in decAddOp()
4069 Int need=D2U(maxdigits)+1; in decAddOp()
4085 decDumpAr('A', lhs->lsu, D2U(lhs->digits)); in decAddOp()
4086 decDumpAr('B', rhs->lsu, D2U(rhs->digits)); in decAddOp()
4093 res->digits=decUnitAddSub(lhs->lsu, D2U(lhs->digits), in decAddOp()
4094 rhs->lsu, D2U(rhs->digits), in decAddOp()
4102 decDumpAr('+', acc, D2U(res->digits)); in decAddOp()
4116 res->digits=decGetDigits(acc, D2U(res->digits)); in decAddOp()
4127 *(acc+D2U(res->digits))=0; /* ensure leading 0 is there */ in decAddOp()
4135 res->digits=decGetDigits(acc, D2U(res->digits)); in decAddOp()
4151 res->digits=decGetDigits(res->lsu, D2U(res->digits)); in decAddOp()
4435 acclength=D2U(reqdigits+DECDPUN); /* in Units */ in decDivideOp()
4458 var1units=D2U(maxdigits)+2; in decDivideOp()
4477 source=lhs->lsu+D2U(lhs->digits)-1; /* msu of input array */ in decDivideOp()
4483 var2units=D2U(rhs->digits); /* rhs actual length (units) */ in decDivideOp()
4514 var1initpad=(var1units-D2U(lhs->digits))*DECDPUN; in decDivideOp()
4673 accunits=D2U(accdigits); in decDivideOp()
4727 accunits=D2U(accdigits); in decDivideOp()
4748 compare=decUnitCompare(accnext, tarunits, rhs->lsu, D2U(rhs->digits), in decDivideOp()
4796 rhs->lsu, D2U(rhs->digits), in decDivideOp()
4799 accunits=D2U(accdigits); /* and recalculate the units for copy */ in decDivideOp()
5109 needbytes=(D2U(lhs->digits)+D2U(rhs->digits))*sizeof(Unit); in decMultiplyOp()
5124 madlength=D2U(lhs->digits); /* this won't change */ in decMultiplyOp()
5125 mermsup=rhs->lsu+D2U(rhs->digits); /* -> msu+1 of multiplier */ in decMultiplyOp()
5396 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit); in decExpOp()
5428 needbytes=sizeof(decNumber)+(D2U(p*2)-1)*sizeof(Unit); in decExpOp()
5440 needbytes=sizeof(decNumber)+(D2U(p+2)-1)*sizeof(Unit); in decExpOp()
5709 needbytes=sizeof(decNumber)+(D2U(MAXI(p,16))-1)*sizeof(Unit);
5718 needbytes=sizeof(decNumber)+(D2U(MAXI(pp,16))-1)*sizeof(Unit);
6107 result=decUnitCompare(lhs->lsu, D2U(lhs->digits),
6108 rhs->lsu, D2U(rhs->digits), 0);
6251 compare=decUnitCompare(lhs->lsu, D2U(lhs->digits),
6252 rhs->lsu, D2U(rhs->digits),
6299 if (alength>blength+(Int)D2U(exp)) return 1;
6300 if (alength+1<blength+(Int)D2U(exp)) return -1;
6305 need=blength+D2U(exp); /* maximum real length of B */
6687 decShiftToLeast(dn->lsu, D2U(dn->digits), d);
6739 source=uar+D2U(digits)-1; /* where msu comes from */
6740 target=source+D2U(shift); /* where upper part of first cut goes */
6746 first=uar+D2U(digits+shift)-1; /* where msu of source will end up */
6797 up=uar+D2U(shift);
6803 up=uar+D2U(shift-cut); /* source; correct to whole Units */
6858 +(D2U(set->digits)-1)*sizeof(Unit));
7262 decUnitAddSub(dn->lsu, D2U(dn->digits), uarrone, 1, 0, dn->lsu, bump);
7687 msu=dn->lsu+D2U(dn->digits-drop)-1; /* -> likely msu */
7755 uresp1=res->lsu+D2U(set->digits);
7757 res->digits=D2U(set->digits)*DECDPUN;
7881 up=dn->lsu+D2U(dn->digits)-1; /* msu */
8032 decDumpAr('I', dn->lsu, D2U(dn->digits));