OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MemoryArea
(Results
1 - 13
of
13
) sorted by null
/frameworks/compile/mclinker/include/mcld/Support/
MemoryAreaFactory.h
13
#include "mcld/Support/
MemoryArea
.h"
26
* mcld::Input should not create
MemoryArea
directly. Instead, it should ask
27
* MemoryAreaFactory and get the unique
MemoryArea
.
38
class MemoryAreaFactory : public GCFactory<
MemoryArea
, 0> {
44
// produce - create a
MemoryArea
and open its file.
45
MemoryArea
* produce(const sys::fs::Path& pPath, FileHandle::OpenMode pMode);
47
// produce - create a
MemoryArea
and open its file.
48
MemoryArea
* produce(const sys::fs::Path& pPath,
52
// Create a
MemoryArea
with an universal space.
53
// The created
MemoryArea
is not moderated by m_HandleToArea
[
all
...]
MemoryArea.h
1
//===-
MemoryArea
.h -------------------------------------------------------===//
19
/** \class
MemoryArea
20
* \brief
MemoryArea
is used to manage input read-only memory space.
22
class
MemoryArea
{
30
explicit
MemoryArea
(llvm::StringRef pFilename);
32
explicit
MemoryArea
(const char* pMemBuffer, size_t pSize);
36
// if
MemoryArea
does not find such space, then it creates a new space and
46
DISALLOW_COPY_AND_ASSIGN(
MemoryArea
);
/frameworks/compile/mclinker/lib/Support/
MemoryAreaFactory.cpp
19
: GCFactory<
MemoryArea
, 0>(pNum) {
25
MemoryArea
* MemoryAreaFactory::produce(const sys::fs::Path& pPath,
29
MemoryArea
* result = allocate();
30
new (result)
MemoryArea
(name);
38
MemoryArea
* MemoryAreaFactory::produce(const sys::fs::Path& pPath,
43
MemoryArea
* result = allocate();
44
new (result)
MemoryArea
(name);
52
MemoryArea
* MemoryAreaFactory::produce(void* pMemBuffer, size_t pSize) {
56
MemoryArea
* result = allocate();
57
new (result)
MemoryArea
(base, pSize)
[
all
...]
MemoryArea.cpp
1
//===-
MemoryArea
.cpp -----------------------------------------------------===//
9
#include "mcld/Support/
MemoryArea
.h"
20
//
MemoryArea
22
MemoryArea
::
MemoryArea
(llvm::StringRef pFilename) {
33
MemoryArea
::
MemoryArea
(const char* pMemBuffer, size_t pSize) {
41
llvm::StringRef
MemoryArea
::request(size_t pOffset, size_t pLength) {
45
size_t
MemoryArea
::size() const {
/frameworks/compile/mclinker/unittests/
MCRegionFragmentTest.cpp
44
MemoryArea
* area = areaFactory->produce(path,
MemoryArea
::ReadWrite);
59
MemoryArea
* area = areaFactory->produce(path,
MemoryArea
::ReadWrite);
UniqueGCFactoryBaseTest.cpp
73
MemoryArea
* area1 =
76
MemoryArea
* area2 =
81
MemoryArea
* area3 =
FragmentRefTest.cpp
46
MemoryArea
* area =
ELFReaderTest.cpp
17
#include "mcld/Support/
MemoryArea
.h"
122
MemoryArea
* mem = m_pInput->memArea();
/frameworks/compile/mclinker/include/mcld/MC/
Input.h
24
class
MemoryArea
;
94
void setMemArea(
MemoryArea
* pMemArea) { m_pMemArea = pMemArea; }
98
const
MemoryArea
* memArea() const { return m_pMemArea; }
99
MemoryArea
* memArea() { return m_pMemArea; }
117
MemoryArea
* m_pMemArea;
/frameworks/compile/mclinker/lib/MC/
InputBuilder.cpp
124
MemoryArea
* memory = m_pMemFactory->produce(pInput.path(), pMode, pPerm);
130
MemoryArea
* memory = m_pMemFactory->produce(pMemBuffer, pSize);
/frameworks/compile/mclinker/lib/LD/
GNUArchiveReader.cpp
21
#include "mcld/Support/
MemoryArea
.h"
262
MemoryArea
* memory_area = pArchive.getARFile().memArea();
304
MemoryArea
* memory_area = pArchive.getARFile().memArea();
ELFObjectReader.cpp
19
#include "mcld/Support/
MemoryArea
.h"
66
//
MemoryArea
has a list of cache to handle this.
306
MemoryArea
* mem = pInput.memArea();
/frameworks/compile/mclinker/lib/Target/Mips/
MipsLDBackend.h
22
class
MemoryArea
;
Completed in 265 milliseconds