Lines Matching refs:G1
43 GlobalVariable *G1 = in TEST_F() local
46 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
47 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
49 Engine->updateGlobalMapping(G1, &Mem2); in TEST_F()
50 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
51 Engine->updateGlobalMapping(G1, NULL); in TEST_F()
52 EXPECT_EQ(NULL, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
53 Engine->updateGlobalMapping(G1, &Mem2); in TEST_F()
54 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
64 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)) in TEST_F()
69 GlobalVariable *G1 = in TEST_F() local
73 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
74 EXPECT_EQ(G1, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()
76 Engine->updateGlobalMapping(G1, &Mem2); in TEST_F()
78 EXPECT_EQ(G1, Engine->getGlobalValueAtAddress(&Mem2)); in TEST_F()
84 EXPECT_EQ(G1, Engine->getGlobalValueAtAddress(&Mem2)); in TEST_F()
85 Engine->updateGlobalMapping(G1, NULL); in TEST_F()
97 GlobalVariable *G1 = in TEST_F() local
101 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
102 EXPECT_EQ(G1, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()
117 GlobalVariable *G1 = in TEST_F() local
120 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
122 EXPECT_EQ(G1, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()
125 G1->eraseFromParent(); in TEST_F()