Searched refs:globalPtr (Results 1 – 3 of 3) sorted by relevance
19 static int *globalPtr; variable24 Foo f(globalPtr); in ~Bar()32 globalPtr = 0; in test()63 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr… in Dereferencer()68 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr… in Dereferencer()73 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr… in Dereferencer()78 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr… in operator =()83 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr… in operator =()88 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr… in ~Dereferencer()110 globalPtr = 0; in testDefaultConstruction()[all …]
79 static int *globalPtr; variable96 globalPtr = p; in testShouldReportDoubleFreeNotMismatched()98 delete globalPtr; // expected-warning {{Attempt to free released memory}} in testShouldReportDoubleFreeNotMismatched()105 globalPtr = arr; in testMismatchedChangePointeeThroughAssignment()
54 void *globalPtr = TheJIT->getPointerToGlobal(Global); in TEST_F() local55 EXPECT_TRUE(nullptr != globalPtr) in TEST_F()58 EXPECT_EQ(initialValue, *(int32_t*)globalPtr) in TEST_F()