Lines Matching refs:MemMgr
18 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() local
20 uint8_t *code1 = MemMgr->allocateCodeSection(256, 0, 1, ""); in TEST()
21 uint8_t *data1 = MemMgr->allocateDataSection(256, 0, 2, "", true); in TEST()
22 uint8_t *code2 = MemMgr->allocateCodeSection(256, 0, 3, ""); in TEST()
23 uint8_t *data2 = MemMgr->allocateDataSection(256, 0, 4, "", false); in TEST()
47 EXPECT_FALSE(MemMgr->finalizeMemory(&Error)); in TEST()
51 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() local
53 uint8_t *code1 = MemMgr->allocateCodeSection(0x100000, 0, 1, ""); in TEST()
54 uint8_t *data1 = MemMgr->allocateDataSection(0x100000, 0, 2, "", true); in TEST()
55 uint8_t *code2 = MemMgr->allocateCodeSection(0x100000, 0, 3, ""); in TEST()
56 uint8_t *data2 = MemMgr->allocateDataSection(0x100000, 0, 4, "", false); in TEST()
80 EXPECT_FALSE(MemMgr->finalizeMemory(&Error)); in TEST()
84 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() local
92 code[i] = MemMgr->allocateCodeSection(32, 0, 1, ""); in TEST()
93 data[i] = MemMgr->allocateDataSection(32, 0, 2, "", isReadOnly); in TEST()
115 EXPECT_FALSE(MemMgr->finalizeMemory(&Error)); in TEST()
119 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() local
131 code[i] = MemMgr->allocateCodeSection(CodeSize, Align, i, ""); in TEST()
132 data[i] = MemMgr->allocateDataSection(DataSize, Align, i + 10000, "", in TEST()