Home
last modified time | relevance | path

Searched refs:MemoryArea (Results 1 – 14 of 14) sorted by relevance

/frameworks/compile/mclinker/lib/Support/
DMemoryAreaFactory.cpp19 : GCFactory<MemoryArea, 0>(pNum) { in MemoryAreaFactory()
25 MemoryArea* MemoryAreaFactory::produce(const sys::fs::Path& pPath, in produce()
29 MemoryArea* result = allocate(); in produce()
30 new (result) MemoryArea(name); in produce()
38 MemoryArea* MemoryAreaFactory::produce(const sys::fs::Path& pPath, in produce()
43 MemoryArea* result = allocate(); in produce()
44 new (result) MemoryArea(name); in produce()
52 MemoryArea* MemoryAreaFactory::produce(void* pMemBuffer, size_t pSize) { in produce()
56 MemoryArea* result = allocate(); in produce()
57 new (result) MemoryArea(base, pSize); in produce()
[all …]
DMemoryArea.cpp22 MemoryArea::MemoryArea(llvm::StringRef pFilename) { in MemoryArea() function in mcld::MemoryArea
33 MemoryArea::MemoryArea(const char* pMemBuffer, size_t pSize) { in MemoryArea() function in mcld::MemoryArea
41 llvm::StringRef MemoryArea::request(size_t pOffset, size_t pLength) { in request()
45 size_t MemoryArea::size() const { in size()
DAndroid.bp12 "MemoryArea.cpp",
/frameworks/compile/mclinker/include/mcld/Support/
DMemoryAreaFactory.h38 class MemoryAreaFactory : public GCFactory<MemoryArea, 0> {
45 MemoryArea* produce(const sys::fs::Path& pPath, FileHandle::OpenMode pMode);
48 MemoryArea* produce(const sys::fs::Path& pPath,
54 MemoryArea* produce(void* pMemBuffer, size_t pSize);
58 MemoryArea* produce(int pFD, FileHandle::OpenMode pMode);
60 void destruct(MemoryArea* pArea);
63 llvm::StringMap<MemoryArea*> m_AreaMap;
DMemoryArea.h22 class MemoryArea {
30 explicit MemoryArea(llvm::StringRef pFilename);
32 explicit MemoryArea(const char* pMemBuffer, size_t pSize);
46 DISALLOW_COPY_AND_ASSIGN(MemoryArea);
/frameworks/compile/mclinker/unittests/
DMCRegionFragmentTest.cpp44 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite); in TEST_F()
59 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite); in TEST_F()
DUniqueGCFactoryBaseTest.cpp73 MemoryArea* area1 = in TEST_F()
76 MemoryArea* area2 = in TEST_F()
81 MemoryArea* area3 = in TEST_F()
DFragmentRefTest.cpp46 MemoryArea* area =
DELFReaderTest.cpp122 MemoryArea* mem = m_pInput->memArea(); in TEST_F()
/frameworks/compile/mclinker/include/mcld/MC/
DInput.h24 class MemoryArea; variable
94 void setMemArea(MemoryArea* pMemArea) { m_pMemArea = pMemArea; } in setMemArea()
98 const MemoryArea* memArea() const { return m_pMemArea; } in memArea()
99 MemoryArea* memArea() { return m_pMemArea; } in memArea()
117 MemoryArea* m_pMemArea;
/frameworks/compile/mclinker/lib/MC/
DInputBuilder.cpp124 MemoryArea* memory = m_pMemFactory->produce(pInput.path(), pMode, pPerm); in setMemory()
130 MemoryArea* memory = m_pMemFactory->produce(pMemBuffer, pSize); in setMemory()
/frameworks/compile/mclinker/lib/LD/
DGNUArchiveReader.cpp262 MemoryArea* memory_area = pArchive.getARFile().memArea(); in readSymbolTable()
304 MemoryArea* memory_area = pArchive.getARFile().memArea(); in readStringTable()
DELFObjectReader.cpp306 MemoryArea* mem = pInput.memArea(); in readRelocations()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.h22 class MemoryArea; variable