Lines Matching defs:bsp
1153 struct bitsplicebits *bsp, *lastbsp, **bspp;
1198 *bspp = bsp = xmalloc(sizeof *bsp);
1199 bsp->type = sp->type;
1200 bsp->shift = shift;
1202 bsp->value.arg = sp->value.parameter;
1204 bsp->value.mask = sp->value.bits->mask;
1205 bspp = &bsp->next;
1206 lastbsp = bsp;
1213 for (bsp = splicep->splice; bsp != NULL; bsp = bsp->next) {
1214 if (bsp->type == S_BITSTRING) {
1215 for (b = bsp->value.mask; b != 0 && !(b & 1); b >>= 1) ;
1217 bsp->value.mask = 0;
1465 struct bitsplice *bsp;
1476 bsp = sp->value.bitsplice;
1477 showbits(f, &bsp->entry, bsp->nbits, 0);
2297 struct bitsplicebits *bsp;
2301 for (bsp = splicep->splice; bsp != NULL; bsp = bsp->next) {
2304 if (bsp->type == S_PARAMETER)
2305 putchar(bsp->value.arg->name);
2307 assert(bsp->type == S_BITSTRING);
2308 if (bsp->value.mask == 0)
2311 printf("(code & 0x%lx)", bsp->value.mask);
2313 if (bsp->shift > 0)
2314 printf(" << %d", bsp->shift);
2315 else if (bsp->shift < 0)
2316 printf(" >> %d", -bsp->shift);