Lines Matching refs:header
121 BlockFileHeader* header =
123 ASSERT_TRUE(NULL != header);
125 ASSERT_EQ(0, header->updating);
127 int max_entries = header->max_entries;
128 int empty_1 = header->empty[0];
129 int empty_2 = header->empty[1];
130 int empty_3 = header->empty[2];
131 int empty_4 = header->empty[3];
134 header->max_entries = header->empty[0] = 0;
135 header->empty[1] = header->empty[2] = header->empty[3] = 0;
136 header->updating = -1;
146 header = reinterpret_cast<BlockFileHeader*>(file->buffer());
147 ASSERT_TRUE(NULL != header);
149 ASSERT_EQ(0, header->updating);
151 EXPECT_EQ(max_entries, header->max_entries);
152 EXPECT_EQ(empty_1, header->empty[0]);
153 EXPECT_EQ(empty_2, header->empty[1]);
154 EXPECT_EQ(empty_3, header->empty[2]);
155 EXPECT_EQ(empty_4, header->empty[3]);
219 char header[kBlockHeaderSize];
220 memset(header, 'a', kBlockHeaderSize);
222 file_util::WriteFile(filename, header, kBlockHeaderSize));
281 BlockFileHeader* header =
283 uint8* buffer = reinterpret_cast<uint8*>(&header->allocation_map);