status 56 src/decNumber/decContext.c context->status&=~mask; status 80 src/decNumber/decContext.c context->status=0; // cleared status 151 src/decNumber/decContext.c return context->status; status 168 src/decNumber/decContext.c context->status&=~mask; // clear the selected bits status 169 src/decNumber/decContext.c context->status|=(mask&newstatus); // or in the new bits status 184 src/decNumber/decContext.c return context->status&mask; status 212 src/decNumber/decContext.c decContext * decContextSetStatus(decContext *context, uInt status) { status 213 src/decNumber/decContext.c context->status|=status; status 214 src/decNumber/decContext.c if (status & context->traps) raise(SIGFPE); status 328 src/decNumber/decContext.c decContext * decContextSetStatusQuiet(decContext *context, uInt status) { status 329 src/decNumber/decContext.c context->status|=status; status 341 src/decNumber/decContext.c Int status=context->status; status 345 src/decNumber/decContext.c if (status==DEC_Invalid_operation ) return DEC_Condition_IO; status 346 src/decNumber/decContext.c if (status==DEC_Division_by_zero ) return DEC_Condition_DZ; status 347 src/decNumber/decContext.c if (status==DEC_Overflow ) return DEC_Condition_OV; status 348 src/decNumber/decContext.c if (status==DEC_Underflow ) return DEC_Condition_UN; status 349 src/decNumber/decContext.c if (status==DEC_Inexact ) return DEC_Condition_IE; status 351 src/decNumber/decContext.c if (status==DEC_Division_impossible ) return DEC_Condition_DI; status 352 src/decNumber/decContext.c if (status==DEC_Division_undefined ) return DEC_Condition_DU; status 353 src/decNumber/decContext.c if (status==DEC_Rounded ) return DEC_Condition_RO; status 354 src/decNumber/decContext.c if (status==DEC_Clamped ) return DEC_Condition_PA; status 355 src/decNumber/decContext.c if (status==DEC_Subnormal ) return DEC_Condition_SU; status 356 src/decNumber/decContext.c if (status==DEC_Conversion_syntax ) return DEC_Condition_CS; status 357 src/decNumber/decContext.c if (status==DEC_Insufficient_storage ) return DEC_Condition_IS; status 358 src/decNumber/decContext.c if (status==DEC_Invalid_context ) return DEC_Condition_IC; status 360 src/decNumber/decContext.c if (status==DEC_Lost_digits ) return DEC_Condition_LD; status 362 src/decNumber/decContext.c if (status==0 ) return DEC_Condition_ZE; status 415 src/decNumber/decContext.c return (context->status&mask)!=0; status 427 src/decNumber/decContext.c context->status=0; status 81 src/decNumber/decContext.h uint32_t status; /* status flags */ status 430 src/decNumber/decNumber.c uInt status=0; // error code status 457 src/decNumber/decNumber.c status=DEC_Conversion_syntax;// assume the worst status 469 src/decNumber/decNumber.c status=0; // is OK status 489 src/decNumber/decNumber.c status=0; // it's good status 505 src/decNumber/decNumber.c status=0; // syntax is OK status 513 src/decNumber/decNumber.c status=DEC_Conversion_syntax;// assume the worst status 540 src/decNumber/decNumber.c status=0; // is OK status 575 src/decNumber/decNumber.c if (allocres==NULL) {status|=DEC_Insufficient_storage; break;} status 617 src/decNumber/decNumber.c decSetCoeff(dn, set, res, d, &residue, &status); status 619 src/decNumber/decNumber.c decFinalize(dn, set, &residue, &status); status 626 src/decNumber/decNumber.c decFinalize(dn, set, &residue, &status); status 633 src/decNumber/decNumber.c if (status!=0) decStatus(dn, status, set); status 659 src/decNumber/decNumber.c uInt status=0; // accumulator status 663 src/decNumber/decNumber.c decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); status 664 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 683 src/decNumber/decNumber.c uInt status=0; // accumulator status 684 src/decNumber/decNumber.c decAddOp(res, lhs, rhs, set, 0, &status); status 685 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 771 src/decNumber/decNumber.c uInt status=0; // accumulator status 772 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPARE, &status); status 773 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 791 src/decNumber/decNumber.c uInt status=0; // accumulator status 792 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPSIG, &status); status 793 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 812 src/decNumber/decNumber.c uInt status=0; // accumulator status 813 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPTOTAL, &status); status 814 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 833 src/decNumber/decNumber.c uInt status=0; // accumulator status 849 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 863 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 871 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPTOTAL, &status); status 876 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 894 src/decNumber/decNumber.c uInt status=0; // accumulator status 895 src/decNumber/decNumber.c decDivideOp(res, lhs, rhs, set, DIVIDE, &status); status 896 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 914 src/decNumber/decNumber.c uInt status=0; // accumulator status 915 src/decNumber/decNumber.c decDivideOp(res, lhs, rhs, set, DIVIDEINT, &status); status 916 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 947 src/decNumber/decNumber.c uInt status=0; // accumulator status 956 src/decNumber/decNumber.c if (!decCheckMath(rhs, set, &status)) do { // protect allocation status 961 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, &status); status 967 src/decNumber/decNumber.c decExpOp(res, rhs, set, &status); status 974 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 997 src/decNumber/decNumber.c uInt status=0; // accumulator status 1008 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 1012 src/decNumber/decNumber.c if ((!decNumberIsSpecial(lhs) && decCheckMath(lhs, set, &status)) status 1013 src/decNumber/decNumber.c || (!decNumberIsSpecial(rhs) && decCheckMath(rhs, set, &status)) status 1014 src/decNumber/decNumber.c || (!decNumberIsSpecial(fhs) && decCheckMath(fhs, set, &status))) break; status 1027 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 1032 src/decNumber/decNumber.c decMultiplyOp(acc, lhs, rhs, &dcmul, &status); status 1039 src/decNumber/decNumber.c if ((status&DEC_Invalid_operation)!=0) { status 1040 src/decNumber/decNumber.c if (!(status&DEC_sNaN)) { // but be true invalid status 1049 src/decNumber/decNumber.c decAddOp(res, acc, fhs, set, 0, &status); status 1053 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1143 src/decNumber/decNumber.c uInt status=0; // accumulator status 1150 src/decNumber/decNumber.c if (!decCheckMath(rhs, set, &status)) do { // protect allocation status 1155 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, &status); status 1161 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 1165 src/decNumber/decNumber.c decLnOp(res, rhs, set, &status); status 1172 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1202 src/decNumber/decNumber.c uInt status=0; // accumulator status 1205 src/decNumber/decNumber.c if (decNumberIsNaN(rhs)) decNaNs(res, rhs, NULL, set, &status); status 1210 src/decNumber/decNumber.c status|=DEC_Division_by_zero; // as per 754 status 1223 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1260 src/decNumber/decNumber.c uInt status=0, ignore=0; // status accumulators status 1289 src/decNumber/decNumber.c if (!decCheckMath(rhs, set, &status)) do { // protect malloc status 1294 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, &status); status 1300 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 1323 src/decNumber/decNumber.c decCopyFit(res, w, set, &residue, &status); // copy & round status 1324 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); // cleanup/set flags status 1341 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 1349 src/decNumber/decNumber.c decLnOp(a, rhs, &aset, &status); // a=ln(rhs) status 1353 src/decNumber/decNumber.c if (status&DEC_NaNs && !(status&DEC_sNaN)) break; status 1364 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 1380 src/decNumber/decNumber.c decDivideOp(res, a, b, &aset, DIVIDE, &status); // into result status 1389 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1407 src/decNumber/decNumber.c uInt status=0; // accumulator status 1408 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPMAX, &status); status 1409 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1427 src/decNumber/decNumber.c uInt status=0; // accumulator status 1428 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPMAXMAG, &status); status 1429 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1447 src/decNumber/decNumber.c uInt status=0; // accumulator status 1448 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPMIN, &status); status 1449 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1467 src/decNumber/decNumber.c uInt status=0; // accumulator status 1468 src/decNumber/decNumber.c decCompareOp(res, lhs, rhs, set, COMPMINMAG, &status); status 1469 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1490 src/decNumber/decNumber.c uInt status=0; // accumulator status 1494 src/decNumber/decNumber.c decAddOp(res, &dzero, rhs, set, DECNEG, &status); status 1495 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1514 src/decNumber/decNumber.c uInt status=0; // accumulator status 1524 src/decNumber/decNumber.c workset.status=0; status 1526 src/decNumber/decNumber.c if (workset.status&(DEC_Inexact|DEC_NaNs)) { status 1527 src/decNumber/decNumber.c set->status |= (workset.status&DEC_NaNs); status 1534 src/decNumber/decNumber.c decAddOp(res, rhs, &dtiny, &workset, DECNEG, &status); status 1535 src/decNumber/decNumber.c status&=DEC_Invalid_operation|DEC_sNaN; // only sNaN Invalid please status 1536 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1555 src/decNumber/decNumber.c uInt status=0; // accumulator status 1566 src/decNumber/decNumber.c workset.status=0; status 1568 src/decNumber/decNumber.c if (workset.status&(DEC_Inexact|DEC_NaNs)) { status 1569 src/decNumber/decNumber.c set->status |= (workset.status&DEC_NaNs); status 1576 src/decNumber/decNumber.c decAddOp(res, rhs, &dtiny, &workset, 0, &status); status 1577 src/decNumber/decNumber.c status&=DEC_Invalid_operation|DEC_sNaN; // only sNaN Invalid please status 1578 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1601 src/decNumber/decNumber.c uInt status=0; // accumulator status 1604 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, &status); status 1608 src/decNumber/decNumber.c if (result==BADINT) status|=DEC_Insufficient_storage; // rare status 1635 src/decNumber/decNumber.c decAddOp(res, lhs, &dtiny, &workset, sub, &status); // + or - status 1638 src/decNumber/decNumber.c if (decNumberIsNormal(res, set)) status=0; status 1642 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1731 src/decNumber/decNumber.c uInt status=0; // accumulator status 1735 src/decNumber/decNumber.c decAddOp(res, &dzero, rhs, set, 0, &status); status 1736 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1754 src/decNumber/decNumber.c uInt status=0; // accumulator status 1755 src/decNumber/decNumber.c decMultiplyOp(res, lhs, rhs, set, &status); status 1756 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 1806 src/decNumber/decNumber.c uInt status=0; // accumulators status 1820 src/decNumber/decNumber.c alloclhs=decRoundOperand(lhs, set, &status); status 1825 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, &status); status 1836 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, &status); status 1842 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 1857 src/decNumber/decNumber.c status|=DEC_Inexact|DEC_Rounded; // deemed inexact status 1887 src/decNumber/decNumber.c status|=DEC_Invalid_operation; // -Inf**nonint is error status 1904 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 1911 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 1928 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 1930 src/decNumber/decNumber.c if (decCheckMath(lhs, set, &status) status 1931 src/decNumber/decNumber.c || decCheckMath(rhs, set, &status)) break; // variable status status 1971 src/decNumber/decNumber.c if (aset.digits>DECNUMMAXP) {status|=DEC_Invalid_operation; break;} status 1981 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 1991 src/decNumber/decNumber.c decLnOp(dac, lhs, &aset, &status); // dac=ln(lhs) status 2000 src/decNumber/decNumber.c status|=DEC_Inexact|DEC_Rounded; // deemed inexact status 2004 src/decNumber/decNumber.c decMultiplyOp(dac, dac, rhs, &aset, &status); // dac=dac*rhs status 2005 src/decNumber/decNumber.c decExpOp(dac, dac, &aset, &status); // dac=exp(dac) status 2023 src/decNumber/decNumber.c decDivideOp(dac, &dnOne, lhs, &aset, DIVIDE, &status); status 2028 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 2050 src/decNumber/decNumber.c if (status & (DEC_Overflow|DEC_Underflow)) { // interesting? status 2051 src/decNumber/decNumber.c if (status&DEC_Overflow || ISZERO(dac)) break; status 2058 src/decNumber/decNumber.c decMultiplyOp(dac, dac, lhs, &aset, &status); // dac=dac*x status 2062 src/decNumber/decNumber.c decMultiplyOp(dac, dac, dac, &aset, &status); // dac=dac*dac [square] status 2066 src/decNumber/decNumber.c if (status & (DEC_Overflow|DEC_Underflow)) { status 2071 src/decNumber/decNumber.c if (status & DEC_Overflow) status 2072 src/decNumber/decNumber.c status^=DEC_Overflow | DEC_Underflow | DEC_Subnormal; status 2074 src/decNumber/decNumber.c status&=~(DEC_Underflow | DEC_Subnormal); // [one or both] status 2075 src/decNumber/decNumber.c status|=DEC_Overflow; status 2082 src/decNumber/decNumber.c decFinalize(dac, set, &residue, &status); status 2091 src/decNumber/decNumber.c decDivideOp(dac, &dnOne, dac, &aset, DIVIDE, &status); status 2097 src/decNumber/decNumber.c decCopyFit(res, dac, set, &residue, &status); status 2098 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); // final cleanup status 2110 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2134 src/decNumber/decNumber.c uInt status=0; // accumulator status 2135 src/decNumber/decNumber.c decQuantizeOp(res, lhs, rhs, set, 1, &status); status 2136 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2162 src/decNumber/decNumber.c uInt status=0; // as usual status 2171 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, &status); status 2181 src/decNumber/decNumber.c decNaNs(res, rhs, NULL, set, &status); status 2186 src/decNumber/decNumber.c decCopyFit(res, rhs, set, &residue, &status); // copy & round status 2187 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); // cleanup/set flags status 2195 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set);// then report status status 2219 src/decNumber/decNumber.c uInt status=0; // accumulator status 2220 src/decNumber/decNumber.c decQuantizeOp(res, lhs, rhs, set, 0, &status); status 2221 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2239 src/decNumber/decNumber.c uInt status=0; // accumulator status 2240 src/decNumber/decNumber.c decDivideOp(res, lhs, rhs, set, REMAINDER, &status); status 2241 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2259 src/decNumber/decNumber.c uInt status=0; // accumulator status 2260 src/decNumber/decNumber.c decDivideOp(res, lhs, rhs, set, REMNEAR, &status); status 2261 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2292 src/decNumber/decNumber.c uInt status=0; // accumulator status 2297 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, &status); status 2300 src/decNumber/decNumber.c status=DEC_Invalid_operation; status 2306 src/decNumber/decNumber.c status=DEC_Invalid_operation; status 2395 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2442 src/decNumber/decNumber.c uInt status=0; // accumulator status 2447 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, &status); status 2450 src/decNumber/decNumber.c status=DEC_Invalid_operation; status 2459 src/decNumber/decNumber.c status=DEC_Invalid_operation; status 2472 src/decNumber/decNumber.c decCopyFit(res, res, set, &residue, &status); status 2473 src/decNumber/decNumber.c decFinalize(res, set, &residue, &status); // final check status 2477 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2504 src/decNumber/decNumber.c uInt status=0; // accumulator status 2509 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, &status); status 2512 src/decNumber/decNumber.c status=DEC_Invalid_operation; status 2518 src/decNumber/decNumber.c status=DEC_Invalid_operation; status 2551 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2634 src/decNumber/decNumber.c uInt status=0, ignore=0; // status accumulators status 2665 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, &status); status 2678 src/decNumber/decNumber.c if (decNumberIsNegative(rhs)) status|=DEC_Invalid_operation; status 2681 src/decNumber/decNumber.c else decNaNs(res, rhs, NULL, set, &status); // a NaN status 2695 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); status 2701 src/decNumber/decNumber.c status|=DEC_Invalid_operation; status 2720 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 2730 src/decNumber/decNumber.c status|=DEC_Insufficient_storage; status 2822 src/decNumber/decNumber.c status=rstatus; // use the status as-is status 2828 src/decNumber/decNumber.c status|=(rstatus & ~(DEC_Rounded|DEC_Inexact)); status 2885 src/decNumber/decNumber.c status|=DEC_Inexact|DEC_Rounded; status 2891 src/decNumber/decNumber.c status|=DEC_Inexact|DEC_Rounded; status 2895 src/decNumber/decNumber.c if (!ISZERO(t)) status|=DEC_Inexact|DEC_Rounded; // not equal status 2900 src/decNumber/decNumber.c if (todrop<0) status|=DEC_Rounded; // ideally would add 0s status 2907 src/decNumber/decNumber.c status|=DEC_Clamped; status 2911 src/decNumber/decNumber.c status|=DEC_Clamped; status 2925 src/decNumber/decNumber.c if (status&DEC_Underflow) { status 2929 src/decNumber/decNumber.c if (ae>=set->emin*2) status&=~(DEC_Subnormal|DEC_Underflow); status 2931 src/decNumber/decNumber.c if (ae>=set->emin*2) status&=~DEC_Underflow; status 2934 src/decNumber/decNumber.c if (!(status&DEC_Inexact)) status&=~DEC_Underflow; status 2946 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set);// then report status status 2964 src/decNumber/decNumber.c uInt status=0; // accumulator status 2966 src/decNumber/decNumber.c decAddOp(res, lhs, rhs, set, DECNEG, &status); status 2967 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 2996 src/decNumber/decNumber.c uInt status=0; // accumulator status 3001 src/decNumber/decNumber.c else decNaNs(res, rhs, NULL, set, &status); // a NaN status 3012 src/decNumber/decNumber.c status|=workset.status; status 3014 src/decNumber/decNumber.c if (status!=0) decStatus(res, status, set); status 3025 src/decNumber/decNumber.c set->status|=workset.status&DEC_Invalid_operation; status 3576 src/decNumber/decNumber.c uByte negate, uInt *status) { status 3601 src/decNumber/decNumber.c alloclhs=decRoundOperand(lhs, set, status); status 3606 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, status); status 3620 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, status); status 3625 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 3645 src/decNumber/decNumber.c decCopyFit(res, rhs, set, &residue, status); // copy (as needed) status 3664 src/decNumber/decNumber.c *status|=DEC_Rounded; // [but exact] status 3673 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // clean and finalize status 3682 src/decNumber/decNumber.c decCopyFit(res, lhs, set, &residue, status); // copy (as needed) status 3692 src/decNumber/decNumber.c *status|=DEC_Rounded; // [but exact] status 3700 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // clean and finalize status 3801 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 3832 src/decNumber/decNumber.c decSetCoeff(res, set, acc, res->digits, &residue, status); status 3854 src/decNumber/decNumber.c decSetCoeff(res, set, acc, res->digits, &residue, status); status 3858 src/decNumber/decNumber.c decApplyRound(res, set, residue, status); status 3869 src/decNumber/decNumber.c decFinish(res, set, &residue, status); status 3879 src/decNumber/decNumber.c && (*status&DEC_Inexact)==0) { status 3965 src/decNumber/decNumber.c decContext *set, Flag op, uInt *status) { status 4012 src/decNumber/decNumber.c alloclhs=decRoundOperand(lhs, set, status); status 4017 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, status); status 4030 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, status); status 4037 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 4049 src/decNumber/decNumber.c decCopyFit(res, lhs, set, &residue, status); status 4058 src/decNumber/decNumber.c *status|=DEC_Clamped; status 4061 src/decNumber/decNumber.c decFinish(res, set, &residue, status); status 4070 src/decNumber/decNumber.c *status|=DEC_Division_undefined;// 0/0 will become NaN status 4074 src/decNumber/decNumber.c if (op&(REMAINDER|REMNEAR)) *status|=DEC_Invalid_operation; status 4076 src/decNumber/decNumber.c *status|=DEC_Division_by_zero; // x/0 status 4104 src/decNumber/decNumber.c decFinalize(res, set, &residue, status); // check exponent status 4134 src/decNumber/decNumber.c decCopyFit(res, lhs, set, &residue, status); status 4135 src/decNumber/decNumber.c decFinish(res, set, &residue, status); status 4150 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 4174 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 4388 src/decNumber/decNumber.c *status|=DEC_Division_impossible; status 4412 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // might clamp status 4456 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 4490 src/decNumber/decNumber.c *status|=DEC_Division_impossible; status 4518 src/decNumber/decNumber.c decSetCoeff(res, set, accnext, accdigits, &residue, status); status 4520 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // final cleanup status 4576 src/decNumber/decNumber.c uInt *status) { status 4641 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, status); status 4646 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 4667 src/decNumber/decNumber.c alloclhs=decRoundOperand(lhs, set, status); status 4672 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, status); status 4716 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 4810 src/decNumber/decNumber.c if (allocacc==NULL) {*status|=DEC_Insufficient_storage; break;} status 4861 src/decNumber/decNumber.c decSetCoeff(res, set, acc, res->digits, &residue, status); status 4862 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // final cleanup status 4957 src/decNumber/decNumber.c decContext *set, uInt *status) { status 4998 src/decNumber/decNumber.c else decNaNs(res, rhs, NULL, set, status); // a NaN status 5026 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 5034 src/decNumber/decNumber.c *status|=DEC_Inexact | DEC_Rounded; // .. inexactly status 5089 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 5121 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 5133 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 5157 src/decNumber/decNumber.c decAddOp(a, a, t, &aset, 0, status); // a=a+t status 5183 src/decNumber/decNumber.c if (*status & (DEC_Overflow|DEC_Underflow)) { // interesting? status 5184 src/decNumber/decNumber.c if (*status&DEC_Overflow || ISZERO(t)) break;} status 5188 src/decNumber/decNumber.c decMultiplyOp(t, t, a, &aset, status); // acc=acc*x status 5192 src/decNumber/decNumber.c decMultiplyOp(t, t, t, &aset, status); // acc=acc*acc [square] status 5202 src/decNumber/decNumber.c decCopyFit(res, a, &aset, &residue, status); // copy & shorten status 5203 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // cleanup/set flags status 5302 src/decNumber/decNumber.c decContext *set, uInt *status) { status 5328 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 5331 src/decNumber/decNumber.c else decNaNs(res, rhs, NULL, set, status); // a NaN status 5341 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 5356 src/decNumber/decNumber.c *status|=(DEC_Inexact | DEC_Rounded); // is inexact status 5362 src/decNumber/decNumber.c *status|=(DEC_Inexact | DEC_Rounded); status 5383 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 5392 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 5485 src/decNumber/decNumber.c else *status|=(DEC_Inexact | DEC_Rounded); // no, inexact status 5506 src/decNumber/decNumber.c decCopyFit(res, a, &aset, &residue, status); // copy & shorten status 5507 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // cleanup/set flags status 5540 src/decNumber/decNumber.c Flag quant, uInt *status) { status 5556 src/decNumber/decNumber.c alloclhs=decRoundOperand(lhs, set, status); status 5561 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, status); status 5573 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, status); status 5576 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 5599 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 5614 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 5625 src/decNumber/decNumber.c decCopyFit(res, lhs, &workset, &residue, status); // fit to result status 5626 src/decNumber/decNumber.c decApplyRound(res, &workset, residue, status); // .. and round status 5634 src/decNumber/decNumber.c *status&=~(DEC_Inexact | DEC_Rounded); // [clean these] status 5635 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 5661 src/decNumber/decNumber.c *status|=DEC_Invalid_operation; status 5665 src/decNumber/decNumber.c decFinalize(res, set, &residue, status); // set subnormal flags status 5666 src/decNumber/decNumber.c *status&=~DEC_Underflow; // suppress Underflow [as per 754] status 5709 src/decNumber/decNumber.c Flag op, uInt *status) { status 5722 src/decNumber/decNumber.c alloclhs=decRoundOperand(lhs, set, status); status 5727 src/decNumber/decNumber.c allocrhs=decRoundOperand(rhs, set, status); status 5757 src/decNumber/decNumber.c *status|=DEC_Invalid_operation | DEC_sNaN; status 5788 src/decNumber/decNumber.c decNaNs(res, lhs, rhs, set, status); // propagate NaN status 5796 src/decNumber/decNumber.c if (result==BADINT) *status|=DEC_Insufficient_storage; // rare status 5850 src/decNumber/decNumber.c decCopyFit(res, choice, set, &residue, status); status 5851 src/decNumber/decNumber.c decFinish(res, set, &residue, status); status 6500 src/decNumber/decNumber.c uInt *status) { status 6510 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; status 6518 src/decNumber/decNumber.c *status|=newstatus; status 6536 src/decNumber/decNumber.c decContext *set, Int *residue, uInt *status) { status 6539 src/decNumber/decNumber.c decSetCoeff(dest, set, src->lsu, src->digits, residue, status); status 6582 src/decNumber/decNumber.c Int len, Int *residue, uInt *status) { status 6603 src/decNumber/decNumber.c if (*residue!=0) *status|=(DEC_Inexact | DEC_Rounded); status 6609 src/decNumber/decNumber.c *status|=DEC_Rounded; // accumulate Rounded status status 6622 src/decNumber/decNumber.c if (*residue!=0) *status|=DEC_Inexact; // record inexactitude status 6726 src/decNumber/decNumber.c if (*residue!=0) *status|=DEC_Inexact; // record inexactitude status 6763 src/decNumber/decNumber.c uInt *status) { status 6833 src/decNumber/decNumber.c *status|=DEC_Invalid_context; status 6858 src/decNumber/decNumber.c decSetOverflow(dn, set, status); status 6893 src/decNumber/decNumber.c *status|=DEC_Underflow | DEC_Subnormal | DEC_Inexact | DEC_Rounded; status 6927 src/decNumber/decNumber.c uInt *status) { status 6943 src/decNumber/decNumber.c decFinalize(dn, set, residue, status); status 6962 src/decNumber/decNumber.c uInt *status) { status 6978 src/decNumber/decNumber.c decSetSubnormal(dn, set, residue, status); status 6987 src/decNumber/decNumber.c *status|=DEC_Insufficient_storage; // abandon... status 6991 src/decNumber/decNumber.c decApplyRound(dn, set, *residue, status); // might force down status 6992 src/decNumber/decNumber.c decSetSubnormal(dn, set, residue, status); status 6998 src/decNumber/decNumber.c if (*residue!=0) decApplyRound(dn, set, *residue, status); status 7005 src/decNumber/decNumber.c decSetOverflow(dn, set, status); status 7019 src/decNumber/decNumber.c *status|=DEC_Clamped; // and record the dirty deed status 7034 src/decNumber/decNumber.c static void decSetOverflow(decNumber *dn, decContext *set, uInt *status) { status 7043 src/decNumber/decNumber.c *status|=DEC_Clamped; status 7069 src/decNumber/decNumber.c *status|=DEC_Overflow | DEC_Inexact | DEC_Rounded; status 7115 src/decNumber/decNumber.c uInt *status) { status 7124 src/decNumber/decNumber.c *status|=DEC_Underflow | DEC_Subnormal | DEC_Inexact | DEC_Rounded; status 7137 src/decNumber/decNumber.c *status|=DEC_Clamped; status 7142 src/decNumber/decNumber.c *status|=DEC_Subnormal; // have a non-zero subnormal status 7148 src/decNumber/decNumber.c if (*status&DEC_Inexact) *status|=DEC_Underflow; status 7158 src/decNumber/decNumber.c decSetCoeff(dn, &workset, dn->lsu, dn->digits, residue, status); status 7159 src/decNumber/decNumber.c decApplyRound(dn, &workset, *residue, status); status 7163 src/decNumber/decNumber.c if (*status&DEC_Inexact) *status|=DEC_Underflow; status 7173 src/decNumber/decNumber.c if (ISZERO(dn)) *status|=DEC_Clamped; status 7195 src/decNumber/decNumber.c uInt *status) { status 7196 src/decNumber/decNumber.c uInt save=*status; // record status 7199 src/decNumber/decNumber.c || -set->emin>DEC_MAX_MATH) *status|=DEC_Invalid_context; status 7203 src/decNumber/decNumber.c && !ISZERO(rhs)) *status|=DEC_Invalid_operation; status 7204 src/decNumber/decNumber.c return (*status!=save); status 7367 src/decNumber/decNumber.c uInt *status) { status 7371 src/decNumber/decNumber.c *status|=DEC_Invalid_operation | DEC_sNaN; status 7375 src/decNumber/decNumber.c *status|=DEC_Invalid_operation | DEC_sNaN; status 7418 src/decNumber/decNumber.c static void decStatus(decNumber *dn, uInt status, decContext *set) { status 7419 src/decNumber/decNumber.c if (status & DEC_NaNs) { // error status -> NaN status 7421 src/decNumber/decNumber.c if (status & DEC_sNaN) status&=~DEC_sNaN; status 7427 src/decNumber/decNumber.c (void)decContextSetStatus(set, status); // [may not return] status 59 src/dps8/dps8_append.c status 63 src/dps8/dps8_append.c status 74 src/dps8/dps8_append.c status 116 src/dps8/dps8_append.h static inline void set_apu_status (cpu_state_t * cpup, apuStatusBits status) status 119 src/dps8/dps8_append.h cpu.cu.APUCycleBits = (status & 07770) | FCT; status 741 src/dps8/dps8_decimal.c status 743 src/dps8/dps8_decimal.c status 13080 src/dps8/dps8_eis.c (set.status & DEC_Division_undefined) || // 0/0 will become NaN status 13081 src/dps8/dps8_eis.c (set.status & DEC_Invalid_operation) || status 13082 src/dps8/dps8_eis.c (set.status & DEC_Division_by_zero) status 13523 src/dps8/dps8_eis.c (set.status & DEC_Division_undefined) || // 0/0 will become NaN status 13524 src/dps8/dps8_eis.c (set.status & DEC_Invalid_operation) || status 13525 src/dps8/dps8_eis.c (set.status & DEC_Division_by_zero) status 3455 src/dps8/dps8_iom.c word36 status = 0400000000000ull; status 3456 src/dps8/dps8_iom.c status |= (((word36) chan) & MASK6) << 27; status 3457 src/dps8/dps8_iom.c status |= (((word36) devCode) & MASK8) << 18; status 3458 src/dps8/dps8_iom.c status |= (((word36) status0) & MASK8) << 9; status 3459 src/dps8/dps8_iom.c status |= (((word36) status1) & MASK8) << 0; status 3460 src/dps8/dps8_iom.c iom_core_write (iom_unit_idx, (dcw >> 18) & MASK18, status, __func__); status 453 src/dps8/fnpuv.c static void fuv_write_cb (uv_write_t * req, int status) status 455 src/dps8/fnpuv.c if (status < 0) status 457 src/dps8/fnpuv.c if (status == -ECONNRESET || status == -ECANCELED || status 458 src/dps8/fnpuv.c status == -EPIPE) status 464 src/dps8/fnpuv.c sim_warn ("fuv_write_cb status %d (%s)\n", -status, xstrerror_l(-status)); status 504 src/dps8/fnpuv.c static void fuv_write_3270_cb (uv_write_t * req, int status) { status 506 src/dps8/fnpuv.c fuv_write_cb (req, status); status 739 src/dps8/fnpuv.c static void on_new_connection (uv_stream_t * server, int status) status 741 src/dps8/fnpuv.c if (status < 0) status 743 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: new connection error: %s]\r\n", uv_strerror(status)); status 922 src/dps8/fnpuv.c static void on_dialout_connect (uv_connect_t * server, int status) status 933 src/dps8/fnpuv.c if (status < 0) status 935 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: dialout connection error: %s]\r\n", uv_strerror(status)); status 1117 src/dps8/fnpuv.c status 1122 src/dps8/fnpuv.c status 1124 src/dps8/fnpuv.c status 1367 src/dps8/fnpuv.c static void on_new_3270_connection (uv_stream_t * server, int status) status 1369 src/dps8/fnpuv.c if (status < 0) status 1371 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: TN3270 new connection error: %s]\r\n", uv_strerror(status)); status 632 src/dps8/udplib.c int status; status 642 src/dps8/udplib.c status = SCPE_ARG; status 647 src/dps8/udplib.c status = SCPE_OK; status 651 src/dps8/udplib.c if (status != SCPE_OK) { status 657 src/dps8/udplib.c status = SCPE_OK; status 661 src/dps8/udplib.c return status; status 57 src/dps8/uvutil.c static void accessWriteCallback (uv_write_t * req, int status) status 59 src/dps8/uvutil.c if (status < 0) status 61 src/dps8/uvutil.c if (status == -ECONNRESET || status == -ECANCELED || status 62 src/dps8/uvutil.c status == -EPIPE) status 68 src/dps8/uvutil.c sim_warn ("accessWriteCallback status %d (%s)\n", -status, status 69 src/dps8/uvutil.c xstrerror_l(-status)); status 542 src/dps8/uvutil.c static void onNewAccess (uv_stream_t * server, int status) status 544 src/dps8/uvutil.c if (status < 0) status 546 src/dps8/uvutil.c (void)fprintf (stderr, "\r[OPC emulation: new connection error %s]\r\n", uv_strerror(status)); status 2851 src/simh/scp.c t_stat status; status 2861 src/simh/scp.c status = system (cptr); status 2863 src/simh/scp.c return status; status 7559 src/simh/scp.c t_value get_uint (const char *cptr, uint32 radix, t_value max, t_stat *status) status 7564 src/simh/scp.c *status = SCPE_OK; status 7567 src/simh/scp.c *status = SCPE_ARG; status 7571 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 2191 src/simh/sim_console.c int status; status 2194 src/simh/sim_console.c status = read (0, buf, 1); status 2195 src/simh/sim_console.c if (status != 1) return SCPE_OK; status 2310 src/simh/sim_console.c int status; status 2313 src/simh/sim_console.c status = read (0, buf, 1); status 2314 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 585 src/simh/sim_sock.c int status; status 595 src/simh/sim_sock.c status = -1; status 601 src/simh/sim_sock.c status = 0; status 606 src/simh/sim_sock.c if (status != 0) { status 612 src/simh/sim_sock.c status = 0; status 616 src/simh/sim_sock.c return status; status 146 src/simh/sim_tape.h typedef void (*TAPE_PCALLBACK)(UNIT *unit, t_stat status); status 595 src/simh/sim_tmxr.c static TMLN *tmxr_get_ldsc (UNIT *uptr, const char *cptr, TMXR *mp, t_stat *status) status 621 src/simh/sim_tmxr.c if (status) /* return value pointer supplied? */ status 622 src/simh/sim_tmxr.c *status = code; /* store return status value */ status 3665 src/simh/sim_tmxr.c t_stat status; status 3670 src/simh/sim_tmxr.c lp = tmxr_get_ldsc (uptr, cptr, mp, &status); /* get referenced line */ status 3673 src/simh/sim_tmxr.c return status; /* report it */