Lines Matching refs:uInt

207   #define ueInt uInt	      /* unsigned extended integer */
211 static const uInt multies[]={131073, 26215, 5243, 1049, 210};
213 #define QUOT10(u, n) ((((uInt)(u)>>(n))*multies[n])>>17)
225 decContext *, uByte, uInt *);
227 static uInt decCheckMath(const decNumber *, decContext *, uInt *);
228 static void decApplyRound(decNumber *, decContext *, Int, uInt *);
232 Flag, uInt *);
234 Int *, uInt *);
237 const decNumber *, decContext *, Flag, uInt *);
239 decContext *, uInt *);
240 static void decFinalize(decNumber *, decContext *, Int *, uInt *);
244 decContext *, uInt *);
247 uInt *);
249 const decNumber *, decContext *, uInt *);
252 uInt *);
255 Int, Int *, uInt *);
257 static void decSetOverflow(decNumber *, decContext *, uInt *);
258 static void decSetSubnormal(decNumber *, decContext *, Int *, uInt *);
261 static void decStatus(decNumber *, uInt, decContext *);
267 static bool mulUInt128ByPowOf10(uLong *, uLong *, uInt);
273 static void decFinish(decNumber *, decContext *, Int *, uInt *);
274 static decNumber * decRoundOperand(const decNumber *, decContext *, uInt *);
293 uInt decAllocBytes=0; /* count of bytes allocated */
339 uInt unsig; in decNumberFromInt32()
342 if (in==BADINT) unsig=(uInt)1073741824*2; /* special case */ in decNumberFromInt32()
351 decNumber * decNumberFromUInt32(decNumber *dn, uInt uin) { in decNumberFromUInt32()
383 uInt hi=0, lo; /* .. */ in decNumberToInt32()
409 uInt decNumberToUInt32(const decNumber *dn, decContext *set) { in decNumberToUInt32()
419 uInt hi=0, lo; /* .. */ in decNumberToUInt32()
671 uInt status=0; /* error code */ in decNumberFromString()
905 uInt status=0; /* accumulator */ in decNumberAbs()
936 uInt status=0; /* accumulator */ in decNumberAdd()
1030 uInt status=0; /* accumulator */ in decNumberCompare()
1050 uInt status=0; /* accumulator */ in decNumberCompareSignal()
1071 uInt status=0; /* accumulator */ in decNumberCompareTotal()
1092 uInt status=0; /* accumulator */ in decNumberCompareTotalMag()
1093 uInt needbytes; /* for space calculations */ in decNumberCompareTotalMag()
1157 uInt status=0; /* accumulator */ in decNumberDivide()
1180 uInt status=0; /* accumulator */ in decNumberDivideInteger()
1213 uInt status=0; /* accumulator */ in decNumberExp()
1270 uInt status=0; /* accumulator */ in decNumberFMA()
1272 uInt needbytes; /* for space calculations */ in decNumberFMA()
1433 uInt status=0; /* accumulator */ in decNumberLn()
1499 uInt status=0; /* accumulator */ in decNumberLogB()
1555 uInt status=0, ignore=0; /* status accumulators */ in decNumberLog10()
1556 uInt needbytes; /* for space calculations */ in decNumberLog10()
1603 uInt copystat=0; /* clean status */ in decNumberLog10()
1703 uInt status=0; /* accumulator */ in decNumberMax()
1726 uInt status=0; /* accumulator */ in decNumberMaxMag()
1749 uInt status=0; /* accumulator */ in decNumberMin()
1772 uInt status=0; /* accumulator */ in decNumberMinMag()
1798 uInt status=0; /* accumulator */ in decNumberMinus()
1829 uInt status=0; /* accumulator */ in decNumberNextMinus()
1865 uInt status=0; /* accumulator */ in decNumberNextPlus()
1905 uInt status=0; /* accumulator */ in decNumberNextToward()
2041 uInt status=0; /* accumulator */ in decNumberPlus()
2070 uInt status=0; /* accumulator */ in decNumberMultiply()
2122 uInt needbytes; /* buffer size needed */ in decNumberPower()
2125 uInt status=0; /* accumulators */ in decNumberPower()
2452 uInt status=0; /* accumulator */ in decNumberQuantize()
2480 uInt status=0; /* as usual */ in decNumberReduce()
2540 uInt status=0; /* accumulator */ in decNumberRescale()
2560 uInt status=0; /* accumulator */ in decNumberRemainder()
2583 uInt status=0; /* accumulator */ in decNumberRemainderNear()
2619 uInt status=0; /* accumulator */ in decNumberRotate()
2645 uInt units, shift; /* work */ in decNumberRotate()
2646 uInt msudigits; /* digits in result msu */ in decNumberRotate()
2688 uInt save=res->lsu[0]%powers[shift]; /* save low digit(s) */ in decNumberRotate()
2691 uInt rem=save%powers[shift-msudigits];/* split save */ in decNumberRotate()
2708 uInt save=res->lsu[0]%powers[shift]; /* save low digit(s) */ in decNumberRotate()
2776 uInt status=0; /* accumulator */ in decNumberScaleB()
2832 uInt status=0; /* accumulator */ in decNumberShift()
2966 uInt status=0, ignore=0; /* status accumulators */ in decNumberSquareRoot()
2967 uInt rstatus; /* .. */ in decNumberSquareRoot()
3223 uInt mstatus=0; /* local status */ in decNumberSquareRoot()
3295 uInt status=0; /* accumulator */ in decNumberSubtract()
3330 uInt status=0; /* accumulator */ in decNumberToIntegralExact()
3612 uInt u=*up; /* work */ in decNumberGetBCD()
3613 uInt cut=DECDPUN; /* downcounter through unit */ in decNumberGetBCD()
3639 decNumber * decNumberSetBCD(decNumber *dn, const uByte *bcd, uInt n) { in decNumberSetBCD()
3775 uInt u, pow; /* work */ in decToString()
3952 uByte negate, uInt *status) { in decAddOp()
4366 decContext *set, Flag op, uInt *status) { in decDivideOp()
4986 uInt *status) { in decMultiplyOp()
5015 uInt zlhibuff[(DECBUFFER*2+1)/8+1]; /* buffer (+1 for DECBUFFER==0) */ in decMultiplyOp()
5016 uInt *zlhi=zlhibuff; /* -> lhs array */ in decMultiplyOp()
5017 uInt *alloclhi=NULL; /* -> allocated buffer, iff allocated */ in decMultiplyOp()
5018 uInt zrhibuff[(DECBUFFER*2+1)/8+1]; /* buffer (+1 for DECBUFFER==0) */ in decMultiplyOp()
5019 uInt *zrhi=zrhibuff; /* -> rhs array */ in decMultiplyOp()
5020 uInt *allocrhi=NULL; /* -> allocated buffer, iff allocated */ in decMultiplyOp()
5027 uInt *lip, *rip; /* item pointers */ in decMultiplyOp()
5028 uInt *lmsi, *rmsi; /* most significant items */ in decMultiplyOp()
5032 uInt carry; /* carry (NB not uLong) */ in decMultiplyOp()
5105 needbytes=ilhs*sizeof(uInt); in decMultiplyOp()
5107 alloclhi=(uInt *)malloc(needbytes); in decMultiplyOp()
5109 needbytes=irhs*sizeof(uInt); in decMultiplyOp()
5111 allocrhi=(uInt *)malloc(needbytes); in decMultiplyOp()
5187 if (lcarry<FASTBASE) carry=(uInt)lcarry; /* [usual] */ in decMultiplyOp()
5189 uInt carry2=(uInt)(lcarry/FASTBASE); /* top top part */ in decMultiplyOp()
5192 carry=(uInt)(lcarry-((uLong)FASTBASE*carry2)); /* [inline] */ in decMultiplyOp()
5206 uInt item=(uInt)*lp; /* decapitate to uInt */ in decMultiplyOp()
5208 uInt part=item/(DECDPUNMAX+1); in decMultiplyOp()
5375 decContext *set, uInt *status) { in decExpOp()
5376 uInt ignore=0; /* working status */ in decExpOp()
5380 uInt needbytes; /* for space calculations */ in decExpOp()
5736 decContext *set, uInt *status) {
5737 uInt ignore=0; /* working status accumulator */
5738 uInt needbytes; /* for space calculations */
5981 Flag quant, uInt *status) {
6154 Flag op, uInt *status) {
6741 uInt cut; /* .. */
6763 uInt quot=QUOT10(*up, cut);
6835 uInt next; /* work */
6855 uInt quot=QUOT10(*source, cut);
6856 uInt rem=*source-quot*powers[cut];
6859 uInt rem=*source%powers[cut];
6955 uInt *status) {
6957 uInt newstatus=0; /* status from round */
6991 decContext *set, Int *residue, uInt *status) {
7037 Int len, Int *residue, uInt *status) {
7039 uInt cut; /* cut point in Unit */
7044 uInt temp; /* .. */
7123 uInt discard1; /* first discarded digit */
7124 uInt quot, rem; /* for divisions */
7218 uInt *status) {
7305 uInt count=dn->digits; /* digits to be checked */
7329 uInt count=dn->digits; /* digits to be checked */
7387 uInt *status) {
7422 uInt *status) {
7495 static void decSetOverflow(decNumber *dn, decContext *set, uInt *status) {
7576 uInt *status) {
7661 static uInt decCheckMath(const decNumber *rhs, decContext *set,
7662 uInt *status) {
7663 uInt save=*status; /* record */
7839 uInt *status) {
7888 static void decStatus(decNumber *dn, uInt status, decContext *set) {
7918 uInt const *pow; /* work */
7966 static bool mulUInt128ByPowOf10(uLong *plow, uLong *phigh, uInt pow10)
7994 uInt u, d; /* .. */
8137 uInt maxuint; /* .. */
8273 uInt size=n+12; /* true size */
8275 uInt *j; /* work */
8282 j=(uInt *)alloc; /* -> first four bytes */
8303 uInt *j, n; /* pointer, original length */
8309 j=(uInt *)b0; /* -> first four bytes */