shift 1869 src/decNumber/decNumber.c Int shift=set->digits-1; shift 1871 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, 1, shift); shift 1872 src/decNumber/decNumber.c res->exponent=-shift; // make 1.0000... shift 2013 src/decNumber/decNumber.c Int shift=set->digits-1; shift 2014 src/decNumber/decNumber.c dac->digits=decShiftToMost(dac->lsu, 1, shift); shift 2015 src/decNumber/decNumber.c dac->exponent=-shift; // make 1.0000... shift 2331 src/decNumber/decNumber.c uInt units, shift; // work shift 2372 src/decNumber/decNumber.c shift=rotate%DECDPUN; // left-over digits count shift 2373 src/decNumber/decNumber.c if (shift>0) { // not an exact number of units shift 2374 src/decNumber/decNumber.c uInt save=res->lsu[0]%powers[shift]; //-V557 // save low digit(s) shift 2375 src/decNumber/decNumber.c decShiftToLeast(res->lsu, D2U(res->digits), shift); shift 2376 src/decNumber/decNumber.c if (shift>msudigits) { // msumax-1 needs >0 digits shift 2377 src/decNumber/decNumber.c uInt rem=save%powers[shift-msudigits];// split save shift 2378 src/decNumber/decNumber.c *msumax=(Unit)(save/powers[shift-msudigits]); // and insert shift 2380 src/decNumber/decNumber.c +(Unit)(rem*powers[DECDPUN-(shift-msudigits)]); // .. shift 2383 src/decNumber/decNumber.c *msumax=*msumax+(Unit)(save*powers[msudigits-shift]); // [maybe *1] shift 2392 src/decNumber/decNumber.c shift=DECDPUN-msudigits; shift 2393 src/decNumber/decNumber.c if (shift>0) { // not an exact number of units shift 2394 src/decNumber/decNumber.c uInt save=res->lsu[0]%powers[shift]; // save low digit(s) shift 2395 src/decNumber/decNumber.c decShiftToLeast(res->lsu, units, shift); shift 2521 src/decNumber/decNumber.c Int shift; // rhs as an Int shift 2530 src/decNumber/decNumber.c shift=decGetInt(rhs); // [cannot fail] shift 2531 src/decNumber/decNumber.c if (shift==BADINT // something bad .. shift 2532 src/decNumber/decNumber.c || shift==BIGODD || shift==BIGEVEN // .. very big .. shift 2533 src/decNumber/decNumber.c || abs(shift)>set->digits) // .. or out of range shift 2537 src/decNumber/decNumber.c if (shift!=0 && !decNumberIsInfinite(res)) { // something to do shift 2538 src/decNumber/decNumber.c if (shift>0) { // to left shift 2539 src/decNumber/decNumber.c if (shift==set->digits) { // removing all shift 2545 src/decNumber/decNumber.c if (res->digits+shift>set->digits) { shift 2546 src/decNumber/decNumber.c decDecap(res, res->digits+shift-set->digits); shift 2551 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, res->digits, shift); shift 2555 src/decNumber/decNumber.c if (-shift>=res->digits) { // discarding all shift 2560 src/decNumber/decNumber.c decShiftToLeast(res->lsu, D2U(res->digits), -shift); shift 2561 src/decNumber/decNumber.c res->digits-=(-shift); shift 4020 src/decNumber/decNumber.c Int shift, cut; // .. shift 4314 src/decNumber/decNumber.c shift=var2ulen-var2units; shift 4315 src/decNumber/decNumber.c decUnitAddSub(&var1[shift], var1units-shift, shift 4317 src/decNumber/decNumber.c &var1[shift], -mult); shift 4608 src/decNumber/decNumber.c Int shift; // Units to shift multiplicand by shift 4841 src/decNumber/decNumber.c shift=0; // no multiplicand shift at first shift 4848 src/decNumber/decNumber.c if (*mer!=0) accunits=decUnitAddSub(&acc[shift], accunits-shift, shift 4850 src/decNumber/decNumber.c &acc[shift], *mer) shift 4851 src/decNumber/decNumber.c + shift; shift 4857 src/decNumber/decNumber.c shift++; // add this for 'logical length' shift 5049 src/decNumber/decNumber.c Int shift=set->digits-1; shift 5052 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, 1, shift); shift 5053 src/decNumber/decNumber.c res->exponent=-shift; // make 1.0000... shift 6397 src/decNumber/decNumber.c static Int decShiftToMost(Unit *uar, Int digits, Int shift) { shift 6402 src/decNumber/decNumber.c if (shift==0) return digits; // [fastpath] nothing to do shift 6403 src/decNumber/decNumber.c if ((digits+shift)<=DECDPUN) { // [fastpath] single-unit case shift 6404 src/decNumber/decNumber.c *uar=(Unit)(*uar*powers[shift]); shift 6405 src/decNumber/decNumber.c return digits+shift; shift 6410 src/decNumber/decNumber.c target=source+D2U(shift); // where upper part of first cut goes shift 6411 src/decNumber/decNumber.c cut=DECDPUN-MSUDIGITS(shift); // where to slice shift 6416 src/decNumber/decNumber.c first=uar+D2U(digits+shift)-1; // where msu of source will end up shift 6437 src/decNumber/decNumber.c return digits+shift; shift 6453 src/decNumber/decNumber.c static Int decShiftToLeast(Unit *uar, Int units, Int shift) { shift 6458 src/decNumber/decNumber.c if (shift==0) return units; // [fastpath] nothing to do shift 6459 src/decNumber/decNumber.c if (shift==units*DECDPUN) { // [fastpath] little to do shift 6465 src/decNumber/decNumber.c cut=MSUDIGITS(shift); shift 6467 src/decNumber/decNumber.c up=uar+D2U(shift); shift 6473 src/decNumber/decNumber.c up=uar+D2U(shift-cut); // source; correct to whole Units shift 6474 src/decNumber/decNumber.c count=units*DECDPUN-shift; // the maximum new length shift 6985 src/decNumber/decNumber.c Int shift; // shift needed if clamping shift 7034 src/decNumber/decNumber.c shift=dn->exponent-(set->emax-set->digits+1); shift 7038 src/decNumber/decNumber.c dn->digits=decShiftToMost(dn->lsu, dn->digits, shift); shift 7040 src/decNumber/decNumber.c dn->exponent-=shift; // adjust the exponent to match shift 10063 src/dps8/dps8_eis.c int shift = 9*((int)e->N2-1); shift 10066 src/dps8/dps8_eis.c EISwrite9(&e->ADDR2, &pos, (word9) rshift_128 (x, (uint) shift).l & 0777); shift 10068 src/dps8/dps8_eis.c EISwrite9(&e->ADDR2, &pos, (word9) (x >> shift )& 0777); shift 10070 src/dps8/dps8_eis.c shift -= 9; shift 77 src/dps8/dps8_fnp2_iomcmd.c int shift = 36 - (int) p - (int) n; shift 78 src/dps8/dps8_fnp2_iomcmd.c if (shift < 0 || shift > 35) { shift 83 src/dps8/dps8_fnp2_iomcmd.c word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 87 src/dps8/dps8_fnp2_iomcmd.c * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 110 src/dps8/dps8_utils.h shift 111 src/dps8/dps8_utils.h shift 117 src/dps8/dps8_utils.h shift 123 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)n+1; shift 124 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 128 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & ~ (~0U << n); shift 134 src/dps8/dps8_utils.h int shift = 35-(int)i; shift 135 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 139 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 01; shift 145 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)2+1; shift 146 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 150 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 03; shift 156 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)3+1; shift 157 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 161 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 07; shift 167 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)4+1; shift 168 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 172 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 017; shift 178 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)5+1; shift 179 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 183 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 037; shift 189 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)6+1; shift 190 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 194 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 077; shift 200 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)7+1; shift 201 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 205 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0177; shift 211 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)8+1; shift 212 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 216 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0377; shift 222 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)9+1; shift 223 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 227 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0777; shift 233 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)10+1; shift 234 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 238 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 01777; shift 244 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)12+1; shift 245 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 249 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 07777; shift 255 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)14+1; shift 256 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 260 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 037777; shift 266 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)15+1; shift 267 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 271 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 077777; shift 277 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)16+1; shift 278 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 282 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0177777; shift 288 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)18+1; shift 289 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 293 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0777777; shift 299 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)24+1; shift 300 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 304 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & MASK24; shift 310 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)28+1; shift 311 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 315 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 01777777777; shift 320 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 321 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 326 src/dps8/dps8_utils.h mask <<= (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 336 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 337 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 342 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 345 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); shift 352 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 353 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 358 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 361 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); shift 368 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 369 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 374 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 377 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); shift 384 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 385 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 390 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 393 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); shift 400 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 401 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 406 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 409 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); shift 416 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 417 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 422 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 425 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); shift 432 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 433 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 438 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 441 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); shift 448 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 449 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 454 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 457 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); shift 463 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 464 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) shift 470 src/dps8/dps8_utils.h mask <<= (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 480 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 481 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 486 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 489 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 495 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 496 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 501 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 504 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 510 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 511 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 516 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 519 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 525 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 526 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 531 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 534 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 540 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 541 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 546 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 549 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 555 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 556 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 561 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 564 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 570 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 571 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 576 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 579 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 585 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 586 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 591 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 594 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 600 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 601 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 606 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 619 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 634 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 635 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 640 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 643 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 649 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 650 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 655 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 658 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 664 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 665 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 670 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 673 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 679 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 680 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 685 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 688 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 694 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 695 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 700 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 703 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 709 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 710 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 715 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 718 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 724 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 725 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 730 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 733 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 739 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 740 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 745 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 748 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 754 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 755 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 760 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 763 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 769 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 770 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 775 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 778 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 784 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; shift 785 src/dps8/dps8_utils.h if (shift < 0 || shift > 35) { shift 790 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 793 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); shift 798 src/dps8/dps8_utils.h int shift = 72 - (int) p - (int) n; shift 799 src/dps8/dps8_utils.h if (shift < 0 || shift > 71) shift 819 src/dps8/dps8_utils.h mask = lshift_128 (mask, (uint) shift); shift 824 src/dps8/dps8_utils.h mask <<= (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* shift 837 src/dps8/dps8_utils.h int shift = 17 - (int) i - (int) n + 1; shift 838 src/dps8/dps8_utils.h if (shift < 0 || shift > 17) shift 844 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & ~ (~0U << n); shift 851 src/dps8/dps8_utils.h int shift = 18 - (int) p - (int) n; shift 852 src/dps8/dps8_utils.h if (shift < 0 || shift > 17) shift 858 src/dps8/dps8_utils.h mask <<= (unsigned) shift; // shift 1s to proper position; result 0*1{n}0*