Home
last modified time | relevance | path

Searched refs:FindBits (Results 1 – 4 of 4) sorted by relevance

/external/chromium/net/disk_cache/
Dbitmap_unittest.cc241 EXPECT_EQ(5, bitmap.FindBits(&index, 63, false)); in TEST()
244 EXPECT_EQ(2, bitmap.FindBits(&index, 63, true)); in TEST()
248 EXPECT_EQ(2, bitmap.FindBits(&index, 63, true)); in TEST()
252 EXPECT_EQ(9, bitmap.FindBits(&index, 63, false)); in TEST()
257 EXPECT_EQ(1, bitmap.FindBits(&index, 63, true)); in TEST()
261 EXPECT_EQ(11, bitmap.FindBits(&index, 63, true)); in TEST()
265 EXPECT_EQ(0, bitmap.FindBits(&index, 63, true)); in TEST()
270 EXPECT_EQ(0, bitmap.FindBits(&index, 16, true)); in TEST()
278 EXPECT_EQ(0, bitmap.FindBits(&index, 300, true)); in TEST()
280 EXPECT_EQ(8, bitmap.FindBits(&index, 500, true)); in TEST()
[all …]
Dbitmap.h124 int FindBits(int* index, int limit, bool value) const;
Dbitmap.cc266 int Bitmap::FindBits(int* index, int limit, bool value) const { in FindBits() function in disk_cache::Bitmap
Dsparse_control.cc647 int bits_found = child_map_.FindBits(&found, last_bit, true); in DoGetAvailableRange()