Lines Matching refs:shift
62 unsigned shift = 0; in _dwarf_decode_u_leb128_chk() local
99 shift = 0; in _dwarf_decode_u_leb128_chk()
103 if (shift >= (sizeof(number)*BITSPERBYTE)) { in _dwarf_decode_u_leb128_chk()
106 number |= (byte & 0x7f) << shift; in _dwarf_decode_u_leb128_chk()
114 shift += 7; in _dwarf_decode_u_leb128_chk()
142 Dwarf_Unsigned shift = 0; in _dwarf_decode_s_leb128_chk() local
157 if (shift >= (sizeof(number)*BITSPERBYTE)) { in _dwarf_decode_s_leb128_chk()
160 number |= ((Dwarf_Unsigned) ((byte & 0x7f))) << shift; in _dwarf_decode_s_leb128_chk()
161 shift += 7; in _dwarf_decode_s_leb128_chk()
184 if (shift < shiftlim) { in _dwarf_decode_s_leb128_chk()
185 number |= -(Dwarf_Signed)(((Dwarf_Unsigned)1) << shift); in _dwarf_decode_s_leb128_chk()
186 } else if (shift == shiftlim) { in _dwarf_decode_s_leb128_chk()
187 number |= (((Dwarf_Unsigned)1) << shift); in _dwarf_decode_s_leb128_chk()