Lines Matching refs:M3
76 MemoryBlock M3 = Memory::allocateMappedMemory(32, nullptr, Flags, EC); in TEST_P() local
83 EXPECT_NE((void*)nullptr, M3.base()); in TEST_P()
84 EXPECT_LE(32U, M3.size()); in TEST_P()
87 EXPECT_FALSE(doesOverlap(M2, M3)); in TEST_P()
88 EXPECT_FALSE(doesOverlap(M1, M3)); in TEST_P()
91 EXPECT_FALSE(Memory::releaseMappedMemory(M3)); in TEST_P()
132 MemoryBlock M3 = Memory::allocateMappedMemory(4 * sizeof(int), nullptr, Flags, in TEST_P() local
137 EXPECT_FALSE(doesOverlap(M2, M3)); in TEST_P()
138 EXPECT_FALSE(doesOverlap(M1, M3)); in TEST_P()
144 EXPECT_NE((void*)nullptr, M3.base()); in TEST_P()
145 EXPECT_LE(4U * sizeof(int), M3.size()); in TEST_P()
155 int *z = (int*)M3.base(); in TEST_P()
163 EXPECT_FALSE(Memory::releaseMappedMemory(M3)); in TEST_P()
190 MemoryBlock M3 = Memory::allocateMappedMemory(4 * sizeof(int), nullptr, Flags, in TEST_P() local
198 EXPECT_NE((void*)nullptr, M3.base()); in TEST_P()
199 EXPECT_LE(4U * sizeof(int), M3.size()); in TEST_P()
203 EXPECT_FALSE(Memory::protectMappedMemory(M3, getTestableEquivalent(Flags))); in TEST_P()
206 EXPECT_FALSE(doesOverlap(M2, M3)); in TEST_P()
207 EXPECT_FALSE(doesOverlap(M1, M3)); in TEST_P()
215 int *z = (int*)M3.base(); in TEST_P()
223 EXPECT_FALSE(Memory::releaseMappedMemory(M3)); in TEST_P()
245 MemoryBlock M3 = Memory::allocateMappedMemory(32, &M2, Flags, EC); in TEST_P() local
252 EXPECT_NE((void*)nullptr, M3.base()); in TEST_P()
253 EXPECT_LE(32U, M3.size()); in TEST_P()
256 EXPECT_FALSE(doesOverlap(M2, M3)); in TEST_P()
257 EXPECT_FALSE(doesOverlap(M1, M3)); in TEST_P()
260 EXPECT_FALSE(Memory::releaseMappedMemory(M3)); in TEST_P()
271 MemoryBlock M3 = Memory::allocateMappedMemory(32, &Near, Flags, EC); in TEST_P() local
278 EXPECT_NE((void*)nullptr, M3.base()); in TEST_P()
279 EXPECT_LE(32U, M3.size()); in TEST_P()
282 EXPECT_FALSE(Memory::releaseMappedMemory(M3)); in TEST_P()
293 MemoryBlock M3 = Memory::allocateMappedMemory(32, &Near, Flags, EC); in TEST_P() local
300 EXPECT_NE((void*)nullptr, M3.base()); in TEST_P()
301 EXPECT_LE(32U, M3.size()); in TEST_P()
304 EXPECT_FALSE(doesOverlap(M2, M3)); in TEST_P()
305 EXPECT_FALSE(doesOverlap(M1, M3)); in TEST_P()
308 EXPECT_FALSE(Memory::releaseMappedMemory(M3)); in TEST_P()
319 MemoryBlock M3 = Memory::allocateMappedMemory(32, &Near, Flags, EC); in TEST_P() local
326 EXPECT_NE((void*)nullptr, M3.base()); in TEST_P()
327 EXPECT_LE(32U, M3.size()); in TEST_P()
330 EXPECT_FALSE(doesOverlap(M2, M3)); in TEST_P()
331 EXPECT_FALSE(doesOverlap(M1, M3)); in TEST_P()
334 EXPECT_FALSE(Memory::releaseMappedMemory(M3)); in TEST_P()