Searched refs:r_cnt (Results 1 - 2 of 2) sorted by relevance

/fuchsia/zircon/system/utest/region-alloc/
H A Dregion-alloc.cpp256 constexpr size_t r_cnt = fbl::count_of(test_regions); local
264 RegionAllocator::Region::UPtr r[r_cnt];
265 for (unsigned i = 0; i < r_cnt; i++) {
281 ASSERT_EQ(r_cnt, pos);
286 // the bounds of [1, r_cnt].
289 end = (rand() % r_cnt) + 1;
H A Dregion-alloc-c-api.c344 const size_t r_cnt = countof(test_regions); local
362 const ralloc_region_t* tmp_regions[r_cnt];
363 for (unsigned i = 0; i < r_cnt; i++) {
369 EXPECT_EQ(r_cnt, (size_t)ctx.i, "");
374 // the bounds of [1, r_cnt].
377 ctx.end = (int)(rand() % r_cnt) + 1;
383 for (size_t i = 0; i < r_cnt; i++) {

Completed in 47 milliseconds