Searched refs:first_unset (Results 1 - 8 of 8) sorted by relevance
/fuchsia/zircon/kernel/lib/hypervisor/include/hypervisor/ |
H A D | id_allocator.h | 26 size_t first_unset; local 27 bool all_set = id_bitmap_.Get(0, N, &first_unset); 30 if (first_unset >= N) 32 *id = static_cast<T>(first_unset + 1); 33 return id_bitmap_.SetOne(first_unset);
|
/fuchsia/zircon/system/utest/bitmap/ |
H A D | rle-bitmap-tests.cpp | 122 size_t first_unset = 0; local 124 EXPECT_FALSE(bitmap.Get(2, 3, &first_unset), "get bit with nonnull"); 125 EXPECT_EQ(first_unset, 2U, "check returned arg"); 128 EXPECT_TRUE(bitmap.Get(2, 3, &first_unset), "get bit after setting"); 129 EXPECT_EQ(first_unset, 3U, "check returned arg"); 131 first_unset = 0; 132 EXPECT_FALSE(bitmap.Get(2, 4, &first_unset), "get larger range after setting"); 133 EXPECT_EQ(first_unset, 3U, "check returned arg"); 136 EXPECT_FALSE(bitmap.Get(2, 5, &first_unset), "get larger range after setting another"); 137 EXPECT_EQ(first_unset, 156 size_t first_unset = 0; local 219 size_t first_unset = 0; local 370 size_t first_unset = 0; local [all...] |
H A D | raw-bitmap-tests.cpp | 93 size_t first_unset = 0; local 95 EXPECT_FALSE(bitmap.Get(2, 3, &first_unset), "get bit with nonnull"); 96 EXPECT_EQ(first_unset, 2U, "check returned arg"); 99 EXPECT_TRUE(bitmap.Get(2, 3, &first_unset), "get bit after setting"); 100 EXPECT_EQ(first_unset, 3U, "check returned arg"); 102 first_unset = 0; 103 EXPECT_FALSE(bitmap.Get(2, 4, &first_unset), "get larger range after setting"); 104 EXPECT_EQ(first_unset, 3U, "check returned arg"); 107 EXPECT_FALSE(bitmap.Get(2, 5, &first_unset), "get larger range after setting another"); 108 EXPECT_EQ(first_unset, 122 size_t first_unset = 0; local 365 size_t first_unset = 0; local [all...] |
/fuchsia/zircon/system/ulib/blobfs/ |
H A D | fsck.cpp | 28 size_t first_unset = 0; local 29 if (!blobfs_->block_map_.Get(start_block, end_block, &first_unset)) { 32 n, start_block, end_block, first_unset);
|
/fuchsia/zircon/system/ulib/bitmap/include/bitmap/ |
H A D | bitmap.h | 31 // *first_unset* will be set to the lesser of bitmax and the index of the 34 size_t* first_unset = nullptr) const = 0;
|
H A D | rle-bitmap.h | 50 // *first_unset* will be set to the lesser of bitmax and the index of the 52 bool Get(size_t bitoff, size_t bitmax, size_t* first_unset = nullptr) const override;
|
H A D | raw-bitmap.h | 68 // *first_unset* will be set to the lesser of bitmax and the index of the 71 size_t* first_unset = nullptr) const override;
|
/fuchsia/zircon/system/ulib/bitmap/ |
H A D | rle-bitmap.cpp | 97 bool RleBitmap::Get(size_t bitoff, size_t bitmax, size_t* first_unset) const { 110 if (first_unset) { 111 *first_unset = bitoff;
|
Completed in 37 milliseconds