mirror of
https://github.com/opnsense/src.git
synced 2026-03-31 23:15:10 -04:00
The macro bit_foreach() traverses all set bits in the bitstring in the forward direction, assigning each location in turn to variable. The macro bit_foreach_at() traverses all set bits in the bitstring in the forward direction at or after the zero-based bit index, assigning each location in turn to variable. The bit_foreach_unset() and bit_foreach_unset_at() macros which traverses unset bits are implemented for completeness. Reviewed by: asomers, dougm MFC after: 1 week Differential revision: https://reviews.freebsd.org/D31469 |
||
|---|---|---|
| .. | ||
| arb_test.c | ||
| bitstring_test.c | ||
| Makefile | ||
| Makefile.depend | ||
| qmath_test.c | ||
| rb_test.c | ||
| splay_test.c | ||