status 58 src/decNumber/decContext.c context->status&=~mask; status 82 src/decNumber/decContext.c context->status=0; // cleared status 153 src/decNumber/decContext.c return context->status; status 170 src/decNumber/decContext.c context->status&=~mask; // clear the selected bits status 171 src/decNumber/decContext.c context->status|=(mask&newstatus); // or in the new bits status 186 src/decNumber/decContext.c return context->status&mask; status 214 src/decNumber/decContext.c decContext * decContextSetStatus(decContext *context, uInt status) { status 215 src/decNumber/decContext.c context->status|=status; status 216 src/decNumber/decContext.c if (status & context->traps) raise(SIGFPE); status 330 src/decNumber/decContext.c decContext * decContextSetStatusQuiet(decContext *context, uInt status) { status 331 src/decNumber/decContext.c context->status|=status; status 343 src/decNumber/decContext.c Int status=context->status; status 347 src/decNumber/decContext.c if (status==DEC_Invalid_operation ) return DEC_Condition_IO; status 348 src/decNumber/decContext.c if (status==DEC_Division_by_zero ) return DEC_Condition_DZ; status 349 src/decNumber/decContext.c if (status==DEC_Overflow ) return DEC_Condition_OV; status 350 src/decNumber/decContext.c if (status==DEC_Underflow ) return DEC_Condition_UN; status 351 src/decNumber/decContext.c if (status==DEC_Inexact ) return DEC_Condition_IE; status 353 src/decNumber/decContext.c if (status==DEC_Division_impossible ) return DEC_Condition_DI; status 354 src/decNumber/decContext.c if (status==DEC_Division_undefined ) return DEC_Condition_DU; status 355 src/decNumber/decContext.c if (status==DEC_Rounded ) return DEC_Condition_RO; status 356 src/decNumber/decContext.c if (status==DEC_Clamped ) return DEC_Condition_PA; status 357 src/decNumber/decContext.c if (status==DEC_Subnormal ) return DEC_Condition_SU; status 358 src/decNumber/decContext.c if (status==DEC_Conversion_syntax ) return DEC_Condition_CS; status 359 src/decNumber/decContext.c if (status==DEC_Insufficient_storage ) return DEC_Condition_IS; status 360 src/decNumber/decContext.c if (status==DEC_Invalid_context ) return DEC_Condition_IC; status 362 src/decNumber/decContext.c if (status==DEC_Lost_digits ) return DEC_Condition_LD; status 364 src/decNumber/decContext.c if (status==0 ) return DEC_Condition_ZE; status 417 src/decNumber/decContext.c return (context->status&mask)!=0; status 429 src/decNumber/decContext.c context->status=0; status 83 src/decNumber/decContext.h uint32_t status; /* status flags */ status 445 src/decNumber/decNumber.c uInt status=0; // error code status 472 src/decNumber/decNumber.c status=DEC_Conversion_syntax;// assume the worst status 484 src/decNumber/decNumber.c status=0; // is OK status 504 src/decNumber/decNumber.c status=0; // it's good status 520 src/decNumber/decNumber.c status=0; // syntax is OK status 528 src/decNumber/decNumber.c status=DEC_Conversion_syntax;// assume the worst status 555 src/decNumber/decNumber.c status=0; // is OK status 590 src/decNumber/decNumber.c if (allocres==NULL) {status|=DEC_Insufficient_storage; break;} status 632 src/decNumber/decNumber.c decSetCoeff(dn, set, res, d, &residue, &status); status 634 src/decNumber/decNumber.c decFinalize(dn, set, &residue, &status); status 641 src/decNumber/decNumber.c decFinalize(dn, set, &residue, &status); status 648 src/decNumber/decNumber.c if (status!=0) decStatus(dn, status, set); status 674 src/decNumber/decNumber.c uInt status=0; // accumulator status 678 src/decNumber/decNumber.c decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); status 679 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 698 src/decNumber/decNumber.c uInt status=0; // accumulator status 699 src/decNumber/decNumber.c decAddOp(res, lhs, rhs, set, 0, &status); status 700 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 786 src/decNumber/decNumber.c uInt status=0; // accumulator status 787 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPARE, &status); status 788 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 806 src/decNumber/decNumber.c uInt status=0; // accumulator status 807 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPSIG, &status); status 808 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 827 src/decNumber/decNumber.c uInt status=0; // accumulator status 828 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPTOTAL, &status); status 829 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 848 src/decNumber/decNumber.c uInt status=0; // accumulator status 864 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 878 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 886 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPTOTAL, &status); status 891 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 909 src/decNumber/decNumber.c uInt status=0; // accumulator status 910 src/decNumber/decNumber.c decDivideOp(res, lhs, rhs, set, DIVIDE, &status); status 911 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 929 src/decNumber/decNumber.c uInt status=0; // accumulator status 930 src/decNumber/decNumber.c decDivideOp(res, lhs, rhs, set, DIVIDEINT, &status); status 931 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 962 src/decNumber/decNumber.c uInt status=0; // accumulator status 971 src/decNumber/decNumber.c if (!decCheckMath(rhs, set, &status)) do { // protect allocation status 976 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, &status); status 982 src/decNumber/decNumber.c decExpOp(res, rhs, set, &status); status 989 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1012 src/decNumber/decNumber.c uInt status=0; // accumulator status 1023 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 1027 src/decNumber/decNumber.c if ((!decNumberIsSpecial(lhs) && decCheckMath(lhs, set, &status)) status 1028 src/decNumber/decNumber.c || (!decNumberIsSpecial(rhs) && decCheckMath(rhs, set, &status)) status 1029 src/decNumber/decNumber.c || (!decNumberIsSpecial(fhs) && decCheckMath(fhs, set, &status))) break; status 1042 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 1048 src/decNumber/decNumber.c decMultiplyOp(acc, lhs, rhs, &dcmul, &status); status 1055 src/decNumber/decNumber.c if ((status&DEC_Invalid_operation)!=0) { status 1056 src/decNumber/decNumber.c if (!(status&DEC_sNaN)) { // but be true invalid status 1065 src/decNumber/decNumber.c decAddOp(res, acc, fhs, set, 0, &status); status 1069 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1159 src/decNumber/decNumber.c uInt status=0; // accumulator status 1166 src/decNumber/decNumber.c if (!decCheckMath(rhs, set, &status)) do { // protect allocation status 1171 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, &status); status 1177 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 1181 src/decNumber/decNumber.c decLnOp(res, rhs, set, &status); status 1188 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1218 src/decNumber/decNumber.c uInt status=0; // accumulator status 1221 src/decNumber/decNumber.c if (decNumberIsNaN(rhs)) decNaNs(res, rhs, NULL, set, &status); status 1226 src/decNumber/decNumber.c status|=DEC_Division_by_zero; // as per 754 status 1239 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1276 src/decNumber/decNumber.c uInt status=0, ignore=0; // status accumulators status 1305 src/decNumber/decNumber.c if (!decCheckMath(rhs, set, &status)) do { // protect malloc status 1310 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, &status); status 1316 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 1339 src/decNumber/decNumber.c decCopyFit(res, w, set, &residue, &status); // copy & round status 1340 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); // cleanup/set flags status 1357 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 1365 src/decNumber/decNumber.c decLnOp(a, rhs, &aset, &status); // a=ln(rhs) status 1369 src/decNumber/decNumber.c if (status&DEC_NaNs && !(status&DEC_sNaN)) break; status 1380 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 1396 src/decNumber/decNumber.c decDivideOp(res, a, b, &aset, DIVIDE, &status); // into result status 1405 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1423 src/decNumber/decNumber.c uInt status=0; // accumulator status 1424 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPMAX, &status); status 1425 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1443 src/decNumber/decNumber.c uInt status=0; // accumulator status 1444 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPMAXMAG, &status); status 1445 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1463 src/decNumber/decNumber.c uInt status=0; // accumulator status 1464 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPMIN, &status); status 1465 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1483 src/decNumber/decNumber.c uInt status=0; // accumulator status 1484 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPMINMAG, &status); status 1485 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1506 src/decNumber/decNumber.c uInt status=0; // accumulator status 1510 src/decNumber/decNumber.c decAddOp(res, &dzero, rhs, set, DECNEG, &status); status 1511 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1530 src/decNumber/decNumber.c uInt status=0; // accumulator status 1540 src/decNumber/decNumber.c workset.status=0; status 1542 src/decNumber/decNumber.c if (workset.status&(DEC_Inexact|DEC_NaNs)) { status 1543 src/decNumber/decNumber.c set->status |= (workset.status&DEC_NaNs); status 1550 src/decNumber/decNumber.c decAddOp(res, rhs, &dtiny, &workset, DECNEG, &status); status 1551 src/decNumber/decNumber.c status&=DEC_Invalid_operation|DEC_sNaN; // only sNaN Invalid please status 1552 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1571 src/decNumber/decNumber.c uInt status=0; // accumulator status 1582 src/decNumber/decNumber.c workset.status=0; status 1584 src/decNumber/decNumber.c if (workset.status&(DEC_Inexact|DEC_NaNs)) { status 1585 src/decNumber/decNumber.c set->status |= (workset.status&DEC_NaNs); status 1592 src/decNumber/decNumber.c decAddOp(res, rhs, &dtiny, &workset, 0, &status); status 1593 src/decNumber/decNumber.c status&=DEC_Invalid_operation|DEC_sNaN; // only sNaN Invalid please status 1594 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1617 src/decNumber/decNumber.c uInt status=0; // accumulator status 1620 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, &status); status 1624 src/decNumber/decNumber.c if (result==BADINT) status|=DEC_Insufficient_storage; // rare status 1651 src/decNumber/decNumber.c decAddOp(res, lhs, &dtiny, &workset, sub, &status); // + or - status 1654 src/decNumber/decNumber.c if (decNumberIsNormal(res, set)) status=0; status 1658 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1747 src/decNumber/decNumber.c uInt status=0; // accumulator status 1751 src/decNumber/decNumber.c decAddOp(res, &dzero, rhs, set, 0, &status); status 1752 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1770 src/decNumber/decNumber.c uInt status=0; // accumulator status 1771 src/decNumber/decNumber.c decMultiplyOp(res, lhs, rhs, set, &status); status 1772 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1822 src/decNumber/decNumber.c uInt status=0; // accumulators status 1836 src/decNumber/decNumber.c alloclhs=decRoundOperand(lhs, set, &status); status 1841 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, &status); status 1852 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, &status); status 1858 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 1873 src/decNumber/decNumber.c status|=DEC_Inexact|DEC_Rounded; // deemed inexact status 1903 src/decNumber/decNumber.c status|=DEC_Invalid_operation; // -Inf**nonint is error status 1920 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 1927 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 1944 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 1946 src/decNumber/decNumber.c if (decCheckMath(lhs, set, &status) status 1947 src/decNumber/decNumber.c || decCheckMath(rhs, set, &status)) break; // variable status status 1987 src/decNumber/decNumber.c if (aset.digits>DECNUMMAXP) {status|=DEC_Invalid_operation; break;} status 1997 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 2007 src/decNumber/decNumber.c decLnOp(dac, lhs, &aset, &status); // dac=ln(lhs) status 2016 src/decNumber/decNumber.c status|=DEC_Inexact|DEC_Rounded; // deemed inexact status 2020 src/decNumber/decNumber.c decMultiplyOp(dac, dac, rhs, &aset, &status); // dac=dac*rhs status 2021 src/decNumber/decNumber.c decExpOp(dac, dac, &aset, &status); // dac=exp(dac) status 2039 src/decNumber/decNumber.c decDivideOp(dac, &dnOne, lhs, &aset, DIVIDE, &status); status 2044 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 2066 src/decNumber/decNumber.c if (status & (DEC_Overflow|DEC_Underflow)) { // interesting? status 2067 src/decNumber/decNumber.c if (status&DEC_Overflow || ISZERO(dac)) break; status 2074 src/decNumber/decNumber.c decMultiplyOp(dac, dac, lhs, &aset, &status); // dac=dac*x status 2078 src/decNumber/decNumber.c decMultiplyOp(dac, dac, dac, &aset, &status); // dac=dac*dac [square] status 2082 src/decNumber/decNumber.c if (status & (DEC_Overflow|DEC_Underflow)) { status 2087 src/decNumber/decNumber.c if (status & DEC_Overflow) status 2088 src/decNumber/decNumber.c status^=DEC_Overflow | DEC_Underflow | DEC_Subnormal; status 2090 src/decNumber/decNumber.c status&=~(DEC_Underflow | DEC_Subnormal); // [one or both] status 2091 src/decNumber/decNumber.c status|=DEC_Overflow; status 2098 src/decNumber/decNumber.c decFinalize(dac, set, &residue, &status); status 2107 src/decNumber/decNumber.c decDivideOp(dac, &dnOne, dac, &aset, DIVIDE, &status); status 2113 src/decNumber/decNumber.c decCopyFit(res, dac, set, &residue, &status); status 2114 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); // final cleanup status 2126 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2150 src/decNumber/decNumber.c uInt status=0; // accumulator status 2151 src/decNumber/decNumber.c decQuantizeOp(res, lhs, rhs, set, 1, &status); status 2152 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2178 src/decNumber/decNumber.c uInt status=0; // as usual status 2187 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, &status); status 2197 src/decNumber/decNumber.c decNaNs(res, rhs, NULL, set, &status); status 2202 src/decNumber/decNumber.c decCopyFit(res, rhs, set, &residue, &status); // copy & round status 2203 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); // cleanup/set flags status 2211 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set);// then report status status 2235 src/decNumber/decNumber.c uInt status=0; // accumulator status 2236 src/decNumber/decNumber.c decQuantizeOp(res, lhs, rhs, set, 0, &status); status 2237 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2255 src/decNumber/decNumber.c uInt status=0; // accumulator status 2256 src/decNumber/decNumber.c decDivideOp(res, lhs, rhs, set, REMAINDER, &status); status 2257 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2275 src/decNumber/decNumber.c uInt status=0; // accumulator status 2276 src/decNumber/decNumber.c decDivideOp(res, lhs, rhs, set, REMNEAR, &status); status 2277 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2308 src/decNumber/decNumber.c uInt status=0; // accumulator status 2313 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, &status); status 2316 src/decNumber/decNumber.c status=DEC_Invalid_operation; status 2322 src/decNumber/decNumber.c status=DEC_Invalid_operation; status 2411 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2458 src/decNumber/decNumber.c uInt status=0; // accumulator status 2463 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, &status); status 2466 src/decNumber/decNumber.c status=DEC_Invalid_operation; status 2475 src/decNumber/decNumber.c status=DEC_Invalid_operation; status 2488 src/decNumber/decNumber.c decCopyFit(res, res, set, &residue, &status); status 2489 src/decNumber/decNumber.c decFinalize(res, set, &residue, &status); // final check status 2493 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2520 src/decNumber/decNumber.c uInt status=0; // accumulator status 2525 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, &status); status 2528 src/decNumber/decNumber.c status=DEC_Invalid_operation; status 2534 src/decNumber/decNumber.c status=DEC_Invalid_operation; status 2567 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2650 src/decNumber/decNumber.c uInt status=0, ignore=0; // status accumulators status 2681 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, &status); status 2694 src/decNumber/decNumber.c if (decNumberIsNegative(rhs)) status|=DEC_Invalid_operation; status 2697 src/decNumber/decNumber.c else decNaNs(res, rhs, NULL, set, &status); // a NaN status 2711 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); status 2717 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 2736 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 2746 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 2838 src/decNumber/decNumber.c status=rstatus; // use the status as-is status 2844 src/decNumber/decNumber.c status|=(rstatus & ~(DEC_Rounded|DEC_Inexact)); status 2901 src/decNumber/decNumber.c status|=DEC_Inexact|DEC_Rounded; status 2907 src/decNumber/decNumber.c status|=DEC_Inexact|DEC_Rounded; status 2911 src/decNumber/decNumber.c if (!ISZERO(t)) status|=DEC_Inexact|DEC_Rounded; // not equal status 2916 src/decNumber/decNumber.c if (todrop<0) status|=DEC_Rounded; // ideally would add 0s status 2923 src/decNumber/decNumber.c status|=DEC_Clamped; status 2927 src/decNumber/decNumber.c status|=DEC_Clamped; status 2941 src/decNumber/decNumber.c if (status&DEC_Underflow) { status 2945 src/decNumber/decNumber.c if (ae>=set->emin*2) status&=~(DEC_Subnormal|DEC_Underflow); status 2947 src/decNumber/decNumber.c if (ae>=set->emin*2) status&=~DEC_Underflow; status 2950 src/decNumber/decNumber.c if (!(status&DEC_Inexact)) status&=~DEC_Underflow; status 2962 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set);// then report status status 2980 src/decNumber/decNumber.c uInt status=0; // accumulator status 2982 src/decNumber/decNumber.c decAddOp(res, lhs, rhs, set, DECNEG, &status); status 2983 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 3012 src/decNumber/decNumber.c uInt status=0; // accumulator status 3017 src/decNumber/decNumber.c else decNaNs(res, rhs, NULL, set, &status); // a NaN status 3028 src/decNumber/decNumber.c status|=workset.status; status 3030 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 3041 src/decNumber/decNumber.c set->status|=workset.status&DEC_Invalid_operation; status 3593 src/decNumber/decNumber.c uByte negate, uInt *status) { status 3618 src/decNumber/decNumber.c alloclhs=decRoundOperand(lhs, set, status); status 3623 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, status); status 3637 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, status); status 3642 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 3662 src/decNumber/decNumber.c decCopyFit(res, rhs, set, &residue, status); // copy (as needed) status 3681 src/decNumber/decNumber.c *status|=DEC_Rounded; // [but exact] status 3690 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // clean and finalize status 3699 src/decNumber/decNumber.c decCopyFit(res, lhs, set, &residue, status); // copy (as needed) status 3709 src/decNumber/decNumber.c *status|=DEC_Rounded; // [but exact] status 3717 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // clean and finalize status 3819 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 3850 src/decNumber/decNumber.c decSetCoeff(res, set, acc, res->digits, &residue, status); status 3872 src/decNumber/decNumber.c decSetCoeff(res, set, acc, res->digits, &residue, status); status 3876 src/decNumber/decNumber.c decApplyRound(res, set, residue, status); status 3887 src/decNumber/decNumber.c decFinish(res, set, &residue, status); status 3897 src/decNumber/decNumber.c && (*status&DEC_Inexact)==0) { status 3983 src/decNumber/decNumber.c decContext *set, Flag op, uInt *status) { status 4030 src/decNumber/decNumber.c alloclhs=decRoundOperand(lhs, set, status); status 4035 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, status); status 4048 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, status); status 4055 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 4067 src/decNumber/decNumber.c decCopyFit(res, lhs, set, &residue, status); status 4076 src/decNumber/decNumber.c *status|=DEC_Clamped; status 4079 src/decNumber/decNumber.c decFinish(res, set, &residue, status); status 4088 src/decNumber/decNumber.c *status|=DEC_Division_undefined;// 0/0 will become NaN status 4092 src/decNumber/decNumber.c if (op&(REMAINDER|REMNEAR)) *status|=DEC_Invalid_operation; status 4094 src/decNumber/decNumber.c *status|=DEC_Division_by_zero; // x/0 status 4122 src/decNumber/decNumber.c decFinalize(res, set, &residue, status); // check exponent status 4152 src/decNumber/decNumber.c decCopyFit(res, lhs, set, &residue, status); status 4153 src/decNumber/decNumber.c decFinish(res, set, &residue, status); status 4169 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 4194 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 4408 src/decNumber/decNumber.c *status|=DEC_Division_impossible; status 4432 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // might clamp status 4476 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 4510 src/decNumber/decNumber.c *status|=DEC_Division_impossible; status 4538 src/decNumber/decNumber.c decSetCoeff(res, set, accnext, accdigits, &residue, status); status 4540 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // final cleanup status 4596 src/decNumber/decNumber.c uInt *status) { status 4661 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, status); status 4666 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 4687 src/decNumber/decNumber.c alloclhs=decRoundOperand(lhs, set, status); status 4692 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, status); status 4736 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 4830 src/decNumber/decNumber.c if (allocacc==NULL) {*status|=DEC_Insufficient_storage; break;} status 4881 src/decNumber/decNumber.c decSetCoeff(res, set, acc, res->digits, &residue, status); status 4882 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // final cleanup status 4977 src/decNumber/decNumber.c decContext *set, uInt *status) { status 5018 src/decNumber/decNumber.c else decNaNs(res, rhs, NULL, set, status); // a NaN status 5046 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 5054 src/decNumber/decNumber.c *status|=DEC_Inexact | DEC_Rounded; // .. inexactly status 5109 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 5141 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 5153 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 5177 src/decNumber/decNumber.c decAddOp(a, a, t, &aset, 0, status); // a=a+t status 5203 src/decNumber/decNumber.c if (*status & (DEC_Overflow|DEC_Underflow)) { // interesting? status 5204 src/decNumber/decNumber.c if (*status&DEC_Overflow || ISZERO(t)) break;} status 5208 src/decNumber/decNumber.c decMultiplyOp(t, t, a, &aset, status); // acc=acc*x status 5212 src/decNumber/decNumber.c decMultiplyOp(t, t, t, &aset, status); // acc=acc*acc [square] status 5222 src/decNumber/decNumber.c decCopyFit(res, a, &aset, &residue, status); // copy & shorten status 5223 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // cleanup/set flags status 5322 src/decNumber/decNumber.c decContext *set, uInt *status) { status 5348 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 5351 src/decNumber/decNumber.c else decNaNs(res, rhs, NULL, set, status); // a NaN status 5361 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 5376 src/decNumber/decNumber.c *status|=(DEC_Inexact | DEC_Rounded); // is inexact status 5382 src/decNumber/decNumber.c *status|=(DEC_Inexact | DEC_Rounded); status 5403 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 5412 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 5505 src/decNumber/decNumber.c else *status|=(DEC_Inexact | DEC_Rounded); // no, inexact status 5526 src/decNumber/decNumber.c decCopyFit(res, a, &aset, &residue, status); // copy & shorten status 5527 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // cleanup/set flags status 5560 src/decNumber/decNumber.c Flag quant, uInt *status) { status 5576 src/decNumber/decNumber.c alloclhs=decRoundOperand(lhs, set, status); status 5581 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, status); status 5593 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, status); status 5596 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 5619 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 5634 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 5645 src/decNumber/decNumber.c decCopyFit(res, lhs, &workset, &residue, status); // fit to result status 5646 src/decNumber/decNumber.c decApplyRound(res, &workset, residue, status); // .. and round status 5654 src/decNumber/decNumber.c *status&=~(DEC_Inexact | DEC_Rounded); // [clean these] status 5655 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 5681 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 5685 src/decNumber/decNumber.c decFinalize(res, set, &residue, status); // set subnormal flags status 5686 src/decNumber/decNumber.c *status&=~DEC_Underflow; // suppress Underflow [as per 754] status 5729 src/decNumber/decNumber.c Flag op, uInt *status) { status 5742 src/decNumber/decNumber.c alloclhs=decRoundOperand(lhs, set, status); status 5747 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, status); status 5777 src/decNumber/decNumber.c *status|=DEC_Invalid_operation | DEC_sNaN; status 5808 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, status); // propagate NaN status 5816 src/decNumber/decNumber.c if (result==BADINT) *status|=DEC_Insufficient_storage; // rare status 5870 src/decNumber/decNumber.c decCopyFit(res, choice, set, &residue, status); status 5871 src/decNumber/decNumber.c decFinish(res, set, &residue, status); status 6520 src/decNumber/decNumber.c uInt *status) { status 6530 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 6538 src/decNumber/decNumber.c *status|=newstatus; status 6556 src/decNumber/decNumber.c decContext *set, Int *residue, uInt *status) { status 6559 src/decNumber/decNumber.c decSetCoeff(dest, set, src->lsu, src->digits, residue, status); status 6602 src/decNumber/decNumber.c Int len, Int *residue, uInt *status) { status 6623 src/decNumber/decNumber.c if (*residue!=0) *status|=(DEC_Inexact | DEC_Rounded); status 6629 src/decNumber/decNumber.c *status|=DEC_Rounded; // accumulate Rounded status status 6642 src/decNumber/decNumber.c if (*residue!=0) *status|=DEC_Inexact; // record inexactitude status 6746 src/decNumber/decNumber.c if (*residue!=0) *status|=DEC_Inexact; // record inexactitude status 6783 src/decNumber/decNumber.c uInt *status) { status 6853 src/decNumber/decNumber.c *status|=DEC_Invalid_context; status 6878 src/decNumber/decNumber.c decSetOverflow(dn, set, status); status 6915 src/decNumber/decNumber.c *status|=DEC_Underflow | DEC_Subnormal | DEC_Inexact | DEC_Rounded; status 6949 src/decNumber/decNumber.c uInt *status) { status 6965 src/decNumber/decNumber.c decFinalize(dn, set, residue, status); status 6984 src/decNumber/decNumber.c uInt *status) { status 7000 src/decNumber/decNumber.c decSetSubnormal(dn, set, residue, status); status 7009 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; // abandon... status 7013 src/decNumber/decNumber.c decApplyRound(dn, set, *residue, status); // might force down status 7014 src/decNumber/decNumber.c decSetSubnormal(dn, set, residue, status); status 7020 src/decNumber/decNumber.c if (*residue!=0) decApplyRound(dn, set, *residue, status); status 7027 src/decNumber/decNumber.c decSetOverflow(dn, set, status); status 7041 src/decNumber/decNumber.c *status|=DEC_Clamped; // and record the dirty deed status 7056 src/decNumber/decNumber.c static void decSetOverflow(decNumber *dn, decContext *set, uInt *status) { status 7065 src/decNumber/decNumber.c *status|=DEC_Clamped; status 7091 src/decNumber/decNumber.c *status|=DEC_Overflow | DEC_Inexact | DEC_Rounded; status 7137 src/decNumber/decNumber.c uInt *status) { status 7146 src/decNumber/decNumber.c *status|=DEC_Underflow | DEC_Subnormal | DEC_Inexact | DEC_Rounded; status 7159 src/decNumber/decNumber.c *status|=DEC_Clamped; status 7164 src/decNumber/decNumber.c *status|=DEC_Subnormal; // have a non-zero subnormal status 7170 src/decNumber/decNumber.c if (*status&DEC_Inexact) *status|=DEC_Underflow; status 7180 src/decNumber/decNumber.c decSetCoeff(dn, &workset, dn->lsu, dn->digits, residue, status); status 7181 src/decNumber/decNumber.c decApplyRound(dn, &workset, *residue, status); status 7185 src/decNumber/decNumber.c if (*status&DEC_Inexact) *status|=DEC_Underflow; status 7195 src/decNumber/decNumber.c if (ISZERO(dn)) *status|=DEC_Clamped; status 7217 src/decNumber/decNumber.c uInt *status) { status 7218 src/decNumber/decNumber.c uInt save=*status; // record status 7221 src/decNumber/decNumber.c || -set->emin>DEC_MAX_MATH) *status|=DEC_Invalid_context; status 7225 src/decNumber/decNumber.c && !ISZERO(rhs)) *status|=DEC_Invalid_operation; status 7226 src/decNumber/decNumber.c return (*status!=save); status 7389 src/decNumber/decNumber.c uInt *status) { status 7393 src/decNumber/decNumber.c *status|=DEC_Invalid_operation | DEC_sNaN; status 7397 src/decNumber/decNumber.c *status|=DEC_Invalid_operation | DEC_sNaN; status 7440 src/decNumber/decNumber.c static void decStatus(decNumber *dn, uInt status, decContext *set) { status 7441 src/decNumber/decNumber.c if (status & DEC_NaNs) { // error status -> NaN status 7443 src/decNumber/decNumber.c if (status & DEC_sNaN) status&=~DEC_sNaN; status 7449 src/decNumber/decNumber.c (void)decContextSetStatus(set, status); // [may not return] status 62 src/dps8/dps8_append.c status 66 src/dps8/dps8_append.c status 77 src/dps8/dps8_append.c status 119 src/dps8/dps8_append.h static inline void set_apu_status (apuStatusBits status) status 122 src/dps8/dps8_append.h cpu.cu.APUCycleBits = (status & 07770) | FCT; status 732 src/dps8/dps8_decimal.c status 734 src/dps8/dps8_decimal.c status 12948 src/dps8/dps8_eis.c (set.status & DEC_Division_undefined) || // 0/0 will become NaN status 12949 src/dps8/dps8_eis.c (set.status & DEC_Invalid_operation) || status 12950 src/dps8/dps8_eis.c (set.status & DEC_Division_by_zero) status 13376 src/dps8/dps8_eis.c (set.status & DEC_Division_undefined) || // 0/0 will become NaN status 13377 src/dps8/dps8_eis.c (set.status & DEC_Invalid_operation) || status 13378 src/dps8/dps8_eis.c (set.status & DEC_Division_by_zero) status 3422 src/dps8/dps8_iom.c word36 status = 0400000000000; status 3423 src/dps8/dps8_iom.c status |= (((word36) chan) & MASK6) << 27; status 3424 src/dps8/dps8_iom.c status |= (((word36) devCode) & MASK8) << 18; status 3425 src/dps8/dps8_iom.c status |= (((word36) status0) & MASK8) << 9; status 3426 src/dps8/dps8_iom.c status |= (((word36) status1) & MASK8) << 0; status 3427 src/dps8/dps8_iom.c iom_core_write (iom_unit_idx, (dcw >> 18) & MASK18, status, __func__); status 454 src/dps8/fnpuv.c static void fuv_write_cb (uv_write_t * req, int status) status 456 src/dps8/fnpuv.c if (status < 0) status 458 src/dps8/fnpuv.c if (status == -ECONNRESET || status == -ECANCELED || status 459 src/dps8/fnpuv.c status == -EPIPE) status 465 src/dps8/fnpuv.c sim_warn ("fuv_write_cb status %d (%s)\n", -status, strerror (-status)); status 512 src/dps8/fnpuv.c static void fuv_write_3270_cb (uv_write_t * req, int status) { status 514 src/dps8/fnpuv.c fuv_write_cb (req, status); status 787 src/dps8/fnpuv.c static void on_new_connection (uv_stream_t * server, int status) status 789 src/dps8/fnpuv.c if (status < 0) status 791 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: new connection error: %s]\r\n", uv_strerror (status)); status 970 src/dps8/fnpuv.c static void on_dialout_connect (uv_connect_t * server, int status) status 981 src/dps8/fnpuv.c if (status < 0) status 983 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: dialout connection error: %s]\r\n", uv_strerror (status)); status 1167 src/dps8/fnpuv.c status 1172 src/dps8/fnpuv.c status 1174 src/dps8/fnpuv.c status 1469 src/dps8/fnpuv.c static void on_new_3270_connection (uv_stream_t * server, int status) status 1471 src/dps8/fnpuv.c if (status < 0) status 1473 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: TN3270 new connection error: %s]\r\n", uv_strerror (status)); status 612 src/dps8/udplib.c int status; status 622 src/dps8/udplib.c status = SCPE_ARG; status 627 src/dps8/udplib.c status = SCPE_OK; status 631 src/dps8/udplib.c if (status != SCPE_OK) { status 637 src/dps8/udplib.c status = SCPE_OK; status 641 src/dps8/udplib.c return status; status 58 src/dps8/uvutil.c static void accessWriteCallback (uv_write_t * req, int status) status 60 src/dps8/uvutil.c if (status < 0) status 62 src/dps8/uvutil.c if (status == -ECONNRESET || status == -ECANCELED || status 63 src/dps8/uvutil.c status == -EPIPE) status 69 src/dps8/uvutil.c sim_warn ("accessWriteCallback status %d (%s)\n", -status, status 70 src/dps8/uvutil.c strerror (-status)); status 548 src/dps8/uvutil.c static void onNewAccess (uv_stream_t * server, int status) status 550 src/dps8/uvutil.c if (status < 0) status 552 src/dps8/uvutil.c fprintf (stderr, "\r[OPC emulation: new connection error %s]\r\n", uv_strerror (status)); status 2586 src/simh/scp.c t_stat status; status 2596 src/simh/scp.c status = system (cptr); status 2598 src/simh/scp.c return status; status 7145 src/simh/scp.c t_value get_uint (const char *cptr, uint32 radix, t_value max, t_stat *status) status 7150 src/simh/scp.c *status = SCPE_OK; status 7153 src/simh/scp.c *status = SCPE_ARG; status 7157 src/simh/scp.c *status = SCPE_ARG; status 148 src/simh/scp.h t_value get_uint (const char *cptr, uint32 radix, t_value max, t_stat *status); status 2186 src/simh/sim_console.c int status; status 2189 src/simh/sim_console.c status = read (0, buf, 1); status 2190 src/simh/sim_console.c if (status != 1) return SCPE_OK; status 2294 src/simh/sim_console.c int status; status 2297 src/simh/sim_console.c status = read (0, buf, 1); status 2298 src/simh/sim_console.c if (status != 1) return SCPE_OK; status 66 src/simh/sim_disk.h typedef void (*DISK_PCALLBACK)(UNIT *unit, t_stat status); status 581 src/simh/sim_sock.c int status; status 591 src/simh/sim_sock.c status = -1; status 597 src/simh/sim_sock.c status = 0; status 602 src/simh/sim_sock.c if (status != 0) { status 608 src/simh/sim_sock.c status = 0; status 612 src/simh/sim_sock.c return status; status 146 src/simh/sim_tape.h typedef void (*TAPE_PCALLBACK)(UNIT *unit, t_stat status); status 604 src/simh/sim_tmxr.c static TMLN *tmxr_get_ldsc (UNIT *uptr, const char *cptr, TMXR *mp, t_stat *status) status 630 src/simh/sim_tmxr.c if (status) /* return value pointer supplied? */ status 631 src/simh/sim_tmxr.c *status = code; /* store return status value */ status 3660 src/simh/sim_tmxr.c t_stat status; status 3665 src/simh/sim_tmxr.c lp = tmxr_get_ldsc (uptr, cptr, mp, &status); /* get referenced line */ status 3668 src/simh/sim_tmxr.c return status; /* report it */