Lines Matching defs:M4
92 MemoryBlock M4 = Memory::allocateMappedMemory(16, 0, Flags, EC);
94 EXPECT_NE((void*)0, M4.base());
95 EXPECT_LE(16U, M4.size());
96 EXPECT_FALSE(Memory::releaseMappedMemory(M4));
162 MemoryBlock M4 = Memory::allocateMappedMemory(64 * sizeof(int), 0, Flags, EC);
164 EXPECT_NE((void*)0, M4.base());
165 EXPECT_LE(64U * sizeof(int), M4.size());
166 x = (int*)M4.base();
169 EXPECT_FALSE(Memory::releaseMappedMemory(M4));
219 MemoryBlock M4 = Memory::allocateMappedMemory(16, 0, Flags, EC);
221 EXPECT_NE((void*)0, M4.base());
222 EXPECT_LE(16U, M4.size());
223 EXPECT_EQ(error_code::success(), Memory::protectMappedMemory(M4, getTestableEquivalent(Flags)));
224 x = (int*)M4.base();
227 EXPECT_FALSE(Memory::releaseMappedMemory(M4));