Lines Matching refs:address
39 Addr address[kMaxSize];
43 EXPECT_TRUE(files.CreateBlock(RANKINGS, 4, &address[i]));
50 files.DeleteBlock(address[target], false);
51 EXPECT_TRUE(files.CreateBlock(RANKINGS, 4, &address[target]));
66 Addr address[kMaxSize];
70 EXPECT_TRUE(files.CreateBlock(RANKINGS, 4, &address[i]));
75 files.DeleteBlock(address[i], false);
95 Addr address(0);
97 EXPECT_TRUE(files.CreateBlock(RANKINGS, size, &address));
98 entries[i] = address.value();
110 Addr address(entries[i]);
111 files.DeleteBlock(address, false);
117 Addr address(entries[kNumEntries / 2]);
118 MappedFile* file = files.GetFile(address);
143 file = files.GetFile(address);
188 Addr address;
189 EXPECT_TRUE(files.CreateBlock(RANKINGS, 2, &address));
263 Addr address[kSize];
267 EXPECT_TRUE(files.CreateBlock(BLOCK_1K, block_size, &address[i]));
268 EXPECT_EQ(BLOCK_1K, address[i].file_type());
269 EXPECT_EQ(block_size, address[i].num_blocks());
270 int start = address[i].start_block();
276 EXPECT_TRUE(files.IsValid(address[i]));
282 reinterpret_cast<BlockFileHeader*>(files.GetFile(address[0])->buffer());
291 files.DeleteBlock(address[i], false);