Lines Matching refs:MemMgr
20 OwningPtr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() local
22 uint8_t *code1 = MemMgr->allocateCodeSection(256, 0, 1); in TEST()
23 uint8_t *data1 = MemMgr->allocateDataSection(256, 0, 2, true); in TEST()
24 uint8_t *code2 = MemMgr->allocateCodeSection(256, 0, 3); in TEST()
25 uint8_t *data2 = MemMgr->allocateDataSection(256, 0, 4, false); in TEST()
49 EXPECT_FALSE(MemMgr->applyPermissions(&Error)); in TEST()
53 OwningPtr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() local
55 uint8_t *code1 = MemMgr->allocateCodeSection(0x100000, 0, 1); in TEST()
56 uint8_t *data1 = MemMgr->allocateDataSection(0x100000, 0, 2, true); in TEST()
57 uint8_t *code2 = MemMgr->allocateCodeSection(0x100000, 0, 3); in TEST()
58 uint8_t *data2 = MemMgr->allocateDataSection(0x100000, 0, 4, false); in TEST()
82 EXPECT_FALSE(MemMgr->applyPermissions(&Error)); in TEST()
86 OwningPtr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() local
94 code[i] = MemMgr->allocateCodeSection(32, 0, 1); in TEST()
95 data[i] = MemMgr->allocateDataSection(32, 0, 2, isReadOnly); in TEST()
117 EXPECT_FALSE(MemMgr->applyPermissions(&Error)); in TEST()
121 OwningPtr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() local
133 code[i] = MemMgr->allocateCodeSection(CodeSize, Align, i); in TEST()
134 data[i] = MemMgr->allocateDataSection(DataSize, Align, i + 10000, in TEST()