Searched refs:pMemBuffer (Results 1 – 10 of 10) sorted by relevance
/frameworks/compile/mclinker/include/mcld/Support/ |
D | FileHandle.h | 85 bool read(void* pMemBuffer, size_t pStartOffset, size_t pLength); 87 bool write(const void* pMemBuffer, size_t pStartOffset, size_t pLength); 89 bool mmap(void*& pMemBuffer, size_t pStartOffset, size_t pLength); 91 bool munmap(void* pMemBuffer, size_t pLength);
|
D | MemoryArea.h | 32 explicit MemoryArea(const char* pMemBuffer, size_t pSize);
|
D | MemoryAreaFactory.h | 54 MemoryArea* produce(void* pMemBuffer, size_t pSize);
|
/frameworks/compile/mclinker/lib/Support/ |
D | FileHandle.cpp | 159 bool FileHandle::read(void* pMemBuffer, size_t pStartOffset, size_t pLength) { in read() argument 169 sys::fs::detail::pread(m_Handler, pMemBuffer, pLength, pStartOffset); in read() 179 bool FileHandle::write(const void* pMemBuffer, in write() argument 191 sys::fs::detail::pwrite(m_Handler, pMemBuffer, pLength, pStartOffset); in write()
|
D | MemoryArea.cpp | 33 MemoryArea::MemoryArea(const char* pMemBuffer, size_t pSize) { in MemoryArea() argument 34 llvm::StringRef mem(pMemBuffer, pSize); in MemoryArea()
|
D | MemoryAreaFactory.cpp | 52 MemoryArea* MemoryAreaFactory::produce(void* pMemBuffer, size_t pSize) { in produce() argument 53 const char* base = reinterpret_cast<const char*>(pMemBuffer); in produce()
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
D | FileSystem.inc | 150 bool FileHandle::mmap(void*& pMemBuffer, size_t pStartOffset, size_t pLength) { 152 pMemBuffer = (void*)::malloc(pLength); 153 return read(pMemBuffer, pStartOffset, pLength); 156 bool FileHandle::munmap(void* pMemBuffer, size_t pLength) { 158 free(pMemBuffer);
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | FileSystem.inc | 154 bool FileHandle::mmap(void*& pMemBuffer, size_t pStartOffset, size_t pLength) { 182 pMemBuffer = ::mmap(NULL, pLength, prot, flag, m_Handler, pStartOffset); 184 if (MAP_FAILED == pMemBuffer) { 192 bool FileHandle::munmap(void* pMemBuffer, size_t pLength) { 198 if (-1 == ::munmap(pMemBuffer, pLength)) {
|
/frameworks/compile/mclinker/lib/MC/ |
D | InputBuilder.cpp | 129 bool InputBuilder::setMemory(Input& pInput, void* pMemBuffer, size_t pSize) { in setMemory() argument 130 MemoryArea* memory = m_pMemFactory->produce(pMemBuffer, pSize); in setMemory()
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | InputBuilder.h | 71 bool setMemory(Input& pInput, void* pMemBuffer, size_t pSize);
|