Lines Matching refs:shift
259 int shift = 0; in buffer_append_long_hex() local
264 shift++; in buffer_append_long_hex()
266 if (shift == 0) in buffer_append_long_hex()
267 shift++; in buffer_append_long_hex()
268 if (shift & 0x01) in buffer_append_long_hex()
269 shift++; in buffer_append_long_hex()
271 buffer_prepare_append(b, shift + 1); in buffer_append_long_hex()
275 b->used += shift; in buffer_append_long_hex()
277 shift <<= 2; in buffer_append_long_hex()
278 while (shift > 0) { in buffer_append_long_hex()
279 shift -= 4; in buffer_append_long_hex()
280 *(buf++) = hex_chars[(value >> shift) & 0x0F]; in buffer_append_long_hex()