Lines Matching defs:idx
1154 unsigned idx = base_offs + f->bitoffs / 8;
1158 p[3 ^ idx] &= ~((((1 << f->bitlen) - 1)) << (f->bitoffs & 7));
1159 p[3 ^ idx] |=
1165 p[3 ^ idx] &= (1 << (8 - prebits)) - 1;
1166 p[3 ^ idx++] |= (val & ((1 << prebits) - 1)) << (8 - prebits);
1172 p[3 ^ idx++] = val & 0xff;
1175 p[3 ^ idx] &= ~((1 << postbits) - 1);
1176 p[3 ^ idx] |= val;
1185 unsigned idx = base_offs + f->bitoffs / 8;
1190 return (p[3 ^ idx] >> (f->bitoffs & 7)) & ((1 << f->bitlen) -
1194 v = p[3 ^ idx++] >> (8 - prebits);
1202 for (idx += bytelen - 1; bytelen--; idx--)
1203 val = (val << 8) | p[3 ^ idx];