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