Lines Matching refs:id2
35 ResourceId id2 = allocator->AllocateID();
36 EXPECT_TRUE(allocator->InUse(id2));
37 EXPECT_NE(id1, id2);
44 allocator->FreeID(id2);
45 EXPECT_FALSE(allocator->InUse(id2));
67 ResourceId id2 = allocator->AllocateID();
68 EXPECT_TRUE(allocator->InUse(id2));
69 EXPECT_EQ(id1, id2);
80 ResourceId id2 = allocator->AllocateID();
81 EXPECT_NE(id, id2);
82 EXPECT_TRUE(allocator->MarkAsUsed(id2 + 1));
86 EXPECT_EQ(id3, id2 + 2);
95 ResourceId id2 = allocator->AllocateIDAtOrAbove(kOffset);
96 EXPECT_GT(id2, kOffset);
107 ResourceId id2 = allocator->AllocateIDAtOrAbove(kMaxPossibleOffset);
108 EXPECT_EQ(1u, id2);
121 ResourceId id2 = allocator->AllocateID();
123 EXPECT_NE(id2, id3);
124 EXPECT_NE(kInvalidResource, id2);