Home | History | Annotate | Download | only in tests

Lines Matching refs:ffs

22 TEST(strings, ffs) {
23 ASSERT_EQ( 0, ffs(0x00000000));
24 ASSERT_EQ( 1, ffs(0x00000001));
25 ASSERT_EQ( 6, ffs(0x00000020));
26 ASSERT_EQ(11, ffs(0x00000400));
27 ASSERT_EQ(16, ffs(0x00008000));
28 ASSERT_EQ(17, ffs(0x00010000));
29 ASSERT_EQ(22, ffs(0x00200000));
30 ASSERT_EQ(27, ffs(0x04000000));
31 ASSERT_EQ(32, ffs(0x80000000));