Lines Matching defs:count
28 r->count = -8;
39 int count = r->count;
40 int shift = BD_VALUE_SIZE - CHAR_BIT - (count + CHAR_BIT);
46 count += LOTS_OF_BITS;
52 count += CHAR_BIT;
60 r->count = count;
65 while (r->count > CHAR_BIT && r->count < BD_VALUE_SIZE) {
66 r->count -= CHAR_BIT;
75 // Variable 'count' stores the number of bits in the 'value' buffer, minus
77 // to be shifted into it. So if count == 8, the top 16 bits of 'value' are
80 // When reading a byte from the user's buffer, count is filled with 8 and
82 // data, count is additionally filled with LOTS_OF_BITS. So when
83 // count == LOTS_OF_BITS - 1, the user's data has been exhausted.
87 return r->count > BD_VALUE_SIZE && r->count < LOTS_OF_BITS;