Lines Matching defs:shift
45 int shift = 0;
48 int c = (bcd[0] >> shift) & 0xf;
58 shift += 4;
59 if (shift == 8) {
61 shift = 0;
656 int shift = (septet_offset & 7);
663 int c = (src[0] >> shift) & 0x7f;
666 if (shift > 1) {
667 c = ((src[1] << (8-shift)) | c) & 0x7f;
682 shift += 7;
683 if (shift >= 8) {
684 shift -= 8;
745 int shift = (septet_offset & 7);
751 unsigned val = (p[0] >> shift) & 0x7f;
753 if (shift > 1)
754 val = (val | (p[1] << (8-shift))) & 0x7f;
810 int shift = start & 7;
814 writer->bits = shift;
817 if (shift > 0) {
818 writer->pad = writer->dst[0] & ~(0xFF << shift);
999 int shift = 0;
1002 int c = (bcd[0] >> shift) & 0xf;
1013 shift += 4;
1014 if (shift == 8) {
1015 shift = 0;