Searched refs:MemoryArea (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/compile/mclinker/unittests/
H A DMemoryAreaTest.h16 class MemoryArea;
26 * \see MemoryArea
44 mcld::MemoryArea* m_pTestee;
H A DMCRegionFragmentTest.cpp49 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite);
64 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite);
H A DUniqueGCFactoryBaseTest.cpp85 MemoryArea* area1 = memFactory->produce(path1, FileHandle::ReadOnly);
86 MemoryArea* area2 = memFactory->produce(path2, FileHandle::ReadOnly);
89 MemoryArea* area3 = memFactory->produce(path1, FileHandle::ReadOnly);
H A DMemoryAreaTest.cpp11 #include <mcld/Support/MemoryArea.h>
54 MemoryArea* area = AreaFactory->produce(path, FileHandle::ReadOnly);
68 MemoryArea* area = AreaFactory->produce(path, FileHandle::ReadOnly);
96 MemoryArea* area = AreaFactory->produce(path, FileHandle::ReadOnly) ;
112 MemoryArea* area = AreaFactory->produce(path, FileHandle::ReadWrite);
140 MemoryArea* area = AreaFactory->produce(path, FileHandle::ReadWrite) ;
H A DFragmentRefTest.cpp49 MemoryArea* area = areaFactory->produce(path, FileHandle::ReadWrite);
/frameworks/compile/mclinker/lib/Support/
H A DMemoryAreaFactory.cpp20 : GCFactory<MemoryArea, 0>(pNum) {
40 MemoryArea*
53 MemoryArea* result = allocate();
54 new (result) MemoryArea(*m_pRegionFactory, *handler);
63 MemoryArea*
77 MemoryArea* result = allocate();
78 new (result) MemoryArea(*m_pRegionFactory, *handler);
87 void MemoryAreaFactory::destruct(MemoryArea* pArea)
96 MemoryArea*
100 MemoryArea* resul
[all...]
H A DMemoryArea.cpp1 //===- MemoryArea.cpp -----------------------------------------------------===//
10 #include <mcld/Support/MemoryArea.h>
18 // MemoryArea
21 // MemoryArea - special constructor
24 MemoryArea::MemoryArea(RegionFactory& pRegionFactory, Space& pUniverse) function in class:MemoryArea
29 MemoryArea::MemoryArea(RegionFactory& pRegionFactory, FileHandle& pFileHandle) function in class:MemoryArea
33 MemoryArea::~MemoryArea()
[all...]
H A DHandleToArea.cpp10 #include <mcld/Support/MemoryArea.h>
17 bool HandleToArea::push_back(FileHandle* pHandle, MemoryArea* pArea)
33 bool HandleToArea::erase(MemoryArea* pArea)
H A DRegionFactory.cpp10 #include <mcld/Support/MemoryArea.h>
H A DAndroid.mk10 MemoryArea.cpp \
/frameworks/compile/mclinker/include/mcld/Support/
H A DMemoryAreaFactory.h15 #include <mcld/Support/MemoryArea.h>
30 * mcld::Input should not create MemoryArea directly. Instead, it should ask
31 * MemoryAreaFactory and get the unique MemoryArea.
42 class MemoryAreaFactory : public GCFactory<MemoryArea, 0>
49 // produce - create a MemoryArea and open its file.
50 MemoryArea* produce(const sys::fs::Path& pPath,
53 // produce - create a MemoryArea and open its file.
54 MemoryArea* produce(const sys::fs::Path& pPath,
58 void destruct(MemoryArea* pArea);
61 // Create a MemoryArea wit
[all...]
H A DHandleToArea.h24 class MemoryArea;
29 * associative value is MemoryArea.
43 MemoryArea* area;
60 Result(FileHandle* pHandle, MemoryArea* pArea)
65 MemoryArea* area;
70 ConstResult(const FileHandle* pHandle, const MemoryArea* pArea)
75 const MemoryArea* area;
79 bool push_back(FileHandle* pHandle, MemoryArea* pArea);
81 bool erase(MemoryArea* pArea);
H A DRegionFactory.h16 #include <mcld/Support/MemoryArea.h>
22 class MemoryArea;
H A DMemoryArea.h1 //===- MemoryArea.h -------------------------------------------------------===//
38 /** \class MemoryArea
39 * \brief MemoryArea is used to manage distinct MemoryRegions of address space.
42 * In MCLinker, MemoryArea is the decision-maker to use memory mapped I/O or
43 * dynamic memory. When a client requests MemoryArea for a piece of memory
44 * to hold a part of a file, MemoryArea is going to see whether the requested
46 * before. If it is, MemoryArea creates a new MemoryRegion within the memory
47 * requested before. Otherwise, MemoryArea uses memory mapped I/O or dynamic
50 * If the part a file being loaded is larger than 3/4 pages, MemoryArea uses
51 * memory mapped I/O to load the file. Otherwise, MemoryArea use
54 class MemoryArea : private Uncopyable class in namespace:mcld
[all...]
H A DMemoryRegion.h17 #include <mcld/Support/MemoryArea.h>
25 * range of files which is opened by MemoryArea.
27 * MemoryArea maps a file onto virtual memory. Clients can get a range of
28 * mapped memory space by requesting a MemoryRegion from MemoryArea, and
33 * MemoryArea when to synchronize the virtual memory space with the mapped
39 friend class MemoryArea;
/frameworks/compile/libbcc/include/bcc/Support/
H A DMemoryFactory.h24 class MemoryArea;
37 mcld::MemoryArea* produce(void *pMemBuffer, size_t pSize)
40 mcld::MemoryArea* produce(int pFD)
/frameworks/compile/mclinker/tools/mcld/include/alone/Support/
H A DMemoryFactory.h17 class MemoryArea;
30 mcld::MemoryArea* produce(void *pMemBuffer, size_t pSize)
33 mcld::MemoryArea* produce(int pFD)
/frameworks/compile/mclinker/include/mcld/MC/
H A DMCLDFile.h25 #include "mcld/Support/MemoryArea.h"
33 class MemoryArea;
76 void setMemArea(MemoryArea* pMemArea)
107 MemoryArea* memArea()
110 const MemoryArea* memArea() const
118 MemoryArea* m_pMemArea;
/frameworks/compile/mclinker/unittests/Linker/
H A DTestLinker.cpp46 std::list<mcld::MemoryArea*>::iterator mem, mEnd = m_MemAreaList.end() ;
158 mcld::MemoryArea* input_memory = new MemoryArea(*m_pRegionFactory, *handler);
176 mcld::MemoryArea* input_memory = new MemoryArea(*m_pRegionFactory, *space);
197 mcld::MemoryArea* input_memory = new MemoryArea(*m_pRegionFactory, *handler);
252 mcld::MemoryArea* input_memory = new MemoryArea(*m_pRegionFactory, *handler);
277 mcld::MemoryArea* output_memor
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DELFDynObjWriter.h20 #include <mcld/Support/MemoryArea.h>
H A DELFExecWriter.h20 #include <mcld/Support/MemoryArea.h>
H A DEhFrame.h62 MemoryArea& pArea);
132 void deleteFragments(FragListType& pList, MemoryArea& pArea);
H A DEhFrameHdr.h17 #include <mcld/Support/MemoryArea.h>
/frameworks/compile/libbcc/lib/Core/
H A DLinker.cpp32 #include <mcld/Support/MemoryArea.h>
154 mcld::MemoryArea *input_memory = mMemAreaFactory->produce(pPath,
230 mcld::MemoryArea *input_memory = mMemAreaFactory->produce(pMemory, pSize);
248 mcld::MemoryArea *input_memory = mMemAreaFactory->produce(pMemory, pSize);
305 mcld::MemoryArea* out_area = mMemAreaFactory->produce(
344 mcld::MemoryArea* out_area = mMemAreaFactory->produce(pFileHandler);
/frameworks/compile/mclinker/tools/mcld/lib/Core/
H A DLinker.cpp25 #include <mcld/Support/MemoryArea.h>
147 mcld::MemoryArea *input_memory = mMemAreaFactory->produce(pPath,
223 mcld::MemoryArea *input_memory = mMemAreaFactory->produce(pMemory, pSize);
241 mcld::MemoryArea *input_memory = mMemAreaFactory->produce(pMemory, pSize);
298 mcld::MemoryArea* out_area = mMemAreaFactory->produce(
337 mcld::MemoryArea* out_area = mMemAreaFactory->produce(pFileHandler);

Completed in 222 milliseconds

12