Lines Matching refs:blob
64 void ReadExtents(vector<Extent> extents, brillo::Blob* blob) { in ReadExtents() argument
65 blob->clear(); in ReadExtents()
67 blob->insert( in ReadExtents()
68 blob->end(), in ReadExtents()
96 brillo::Blob blob(1); in TEST_F() local
97 EXPECT_TRUE(reader.Read(blob.data(), 0)); in TEST_F()
98 EXPECT_FALSE(reader.Read(blob.data(), 1)); in TEST_F()
105 brillo::Blob blob(1); in TEST_F() local
106 EXPECT_TRUE(reader.Read(blob.data(), 0)); in TEST_F()
107 EXPECT_FALSE(reader.Read(blob.data(), 1)); in TEST_F()
115 brillo::Blob blob(utils::BlocksInExtents(extents) * kBlockSize + 1); in TEST_F() local
116 EXPECT_FALSE(reader.Read(blob.data(), blob.size())); in TEST_F()
155 brillo::Blob blob(utils::BlocksInExtents(extents) * kBlockSize); in TEST_F() local
160 size_t start = rand_r(&rand_seed) % blob.size(); in TEST_F()
161 size_t size = rand_r(&rand_seed) % (blob.size() - start); in TEST_F()
163 EXPECT_TRUE(reader.Read(blob.data(), size)); in TEST_F()
165 ASSERT_EQ(blob[i], result[start + i]); in TEST_F()