FreeBSD/sys/isa/isa_common.c
/*
 * Return the index of the next bit in the mask, or -1 if there are no more.
 */
Return the index of the next bit in the mask, or -1 if there are no more.
Return the index of the next bit in the mask or - 1 if there are no more .
static int
find_next_bit(uint32_t mask, int bit)
{
	bit++;
	while (bit < 32 && !(mask & (1 << bit)))
		bit++;
	if (bit != 32)
		return (bit);
	return (-1);
}
static int find_next_bit ( uint32_t mask , int bit ) { bit ++ ; while ( bit < 32 && ! ( mask & ( 1 << bit ) ) ) bit ++ ; if ( bit != 32 ) return ( bit ) ; return ( -1 ) ; }
Return the index of the next bit in the mask, or -1 if there are no more.
Return the index of the next bit in the mask or - 1 if there are no more .