Home
last modified time | relevance | path

Searched refs:IndexOfNthSet (Results 1 – 5 of 5) sorted by relevance

/external/perfetto/src/trace_processor/containers/
Dbit_vector_unittest.cc157 TEST(BitVectorUnittest, IndexOfNthSet) { in TEST() argument
166 ASSERT_EQ(bv.IndexOfNthSet(0), 0u); in TEST()
167 ASSERT_EQ(bv.IndexOfNthSet(1), 1u); in TEST()
168 ASSERT_EQ(bv.IndexOfNthSet(2), 511u); in TEST()
169 ASSERT_EQ(bv.IndexOfNthSet(3), 512u); in TEST()
170 ASSERT_EQ(bv.IndexOfNthSet(4), 2047u); in TEST()
171 ASSERT_EQ(bv.IndexOfNthSet(5), 2048u); in TEST()
300 ASSERT_EQ(bv.IndexOfNthSet(count++), i); in TEST()
332 ASSERT_EQ(bv.IndexOfNthSet(count++), i); in TEST()
383 ASSERT_EQ(bv.IndexOfNthSet(count++), i); in TEST()
[all …]
Dbit_vector.h97 uint32_t IndexOfNthSet(uint32_t n) const { in IndexOfNthSet() function
119 BlockOffset block_offset = blocks_[block_idx].IndexOfNthSet(set_in_block); in IndexOfNthSet()
402 uint16_t IndexOfNthSet(uint32_t n) const { in IndexOfNthSet() function
556 BlockOffset IndexOfNthSet(uint32_t n) const { in IndexOfNthSet() function
574 uint16_t bit_idx = words_[i].IndexOfNthSet(set_in_atom); in IndexOfNthSet()
Drow_map.cc100 iv[i] = bv.IndexOfNthSet(selector[i]); in SelectBvWithIv()
Dbit_vector_benchmark.cc155 benchmark::DoNotOptimize(bv.IndexOfNthSet(row_pool[pool_idx])); in BM_BitVectorIndexOfNthSet()
Drow_map.h651 return bit_vector_.IndexOfNthSet(idx); in GetBitVector()