Searched refs:count_onebits (Results 1 – 1 of 1) sorted by relevance
/external/android-clat/ |
D | clatd_test.cpp | 597 int count_onebits(const void *data, size_t size) { in count_onebits() function 611 ASSERT_EQ(1, count_onebits(&i, sizeof(i))); in TEST_F() 613 ASSERT_EQ(1, count_onebits(&i, sizeof(i))); in TEST_F() 615 ASSERT_EQ(2, count_onebits(&i, sizeof(i))); in TEST_F() 617 ASSERT_EQ(5 + 1 + 1 + 1 + 4, count_onebits(&i, sizeof(i))); in TEST_F() 683 onebits += count_onebits(&iid, sizeof(iid)); in TEST_F()
|