Home
last modified time | relevance | path

Searched refs:globalPtr (Results 1 – 3 of 3) sorted by relevance

/external/clang/test/Analysis/inlining/
Dpath-notes.cpp19 static int *globalPtr; variable
24 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 …]
/external/clang/test/Analysis/
DMalloc+MismatchedDeallocator+NewDelete.cpp79 static int *globalPtr; variable
96 globalPtr = p; in testShouldReportDoubleFreeNotMismatched()
98 delete globalPtr; // expected-warning {{Attempt to free released memory}} in testShouldReportDoubleFreeNotMismatched()
105 globalPtr = arr; in testMismatchedChangePointeeThroughAssignment()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTest.cpp54 void *globalPtr = TheJIT->getPointerToGlobal(Global); in TEST_F() local
55 EXPECT_TRUE(nullptr != globalPtr) in TEST_F()
58 EXPECT_EQ(initialValue, *(int32_t*)globalPtr) in TEST_F()