Lines Matching refs:copy1
53 ScopedComPtr<IMalloc> copy1(mem_alloc);
54 EXPECT_TRUE(copy1.IsSameObject(mem_alloc));
55 EXPECT_FALSE(copy1.IsSameObject(unk2)); // unk2 is valid but different
56 EXPECT_FALSE(copy1.IsSameObject(unk)); // unk is NULL
58 IMalloc* naked_copy = copy1.Detach();
59 copy1 = naked_copy; // Test the =(T*) operator.
62 copy1.Release();
63 EXPECT_FALSE(copy1.IsSameObject(unk2)); // unk2 is valid, copy1 is not
73 EXPECT_TRUE(unk.IsSameObject(copy1)); // both are NULL