Lines Matching refs:MemMgr
17 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() local
19 uint8_t *code1 = MemMgr->allocateCodeSection(256, 0, 1, ""); in TEST()
20 uint8_t *data1 = MemMgr->allocateDataSection(256, 0, 2, "", true); in TEST()
21 uint8_t *code2 = MemMgr->allocateCodeSection(256, 0, 3, ""); in TEST()
22 uint8_t *data2 = MemMgr->allocateDataSection(256, 0, 4, "", false); in TEST()
46 EXPECT_FALSE(MemMgr->finalizeMemory(&Error)); in TEST()
50 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() local
52 uint8_t *code1 = MemMgr->allocateCodeSection(0x100000, 0, 1, ""); in TEST()
53 uint8_t *data1 = MemMgr->allocateDataSection(0x100000, 0, 2, "", true); in TEST()
54 uint8_t *code2 = MemMgr->allocateCodeSection(0x100000, 0, 3, ""); in TEST()
55 uint8_t *data2 = MemMgr->allocateDataSection(0x100000, 0, 4, "", false); in TEST()
79 EXPECT_FALSE(MemMgr->finalizeMemory(&Error)); in TEST()
83 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() local
91 code[i] = MemMgr->allocateCodeSection(32, 0, 1, ""); in TEST()
92 data[i] = MemMgr->allocateDataSection(32, 0, 2, "", isReadOnly); in TEST()
114 EXPECT_FALSE(MemMgr->finalizeMemory(&Error)); in TEST()
118 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() local
130 code[i] = MemMgr->allocateCodeSection(CodeSize, Align, i, ""); in TEST()
131 data[i] = MemMgr->allocateDataSection(DataSize, Align, i + 10000, "", in TEST()