/frameworks/compile/mclinker/lib/Support/ |
D | FileHandle.cpp | 159 bool FileHandle::read(void* pMemBuffer, size_t pStartOffset, size_t pLength) { in read() argument 165 if (pLength == 0) in read() 169 sys::fs::detail::pread(m_Handler, pMemBuffer, pLength, pStartOffset); in read() 181 size_t pLength) { in write() argument 187 if (pLength == 0) in write() 191 sys::fs::detail::pwrite(m_Handler, pMemBuffer, pLength, pStartOffset); in write()
|
D | FileOutputBuffer.cpp | 49 MemoryRegion FileOutputBuffer::request(size_t pOffset, size_t pLength) { in request() argument 50 if (pOffset > getBufferSize() || (pOffset + pLength) > getBufferSize()) in request() 52 return MemoryRegion(getBufferStart() + pOffset, pLength); in request()
|
D | Demangle.cpp | 43 bool isCtorOrDtor(const char* pName, size_t pLength) { in isCtorOrDtor() argument 55 demangle(pName, pName + pLength, db, internal_status); in isCtorOrDtor() 62 demangle(pName, pName + pLength, db, internal_status); in isCtorOrDtor()
|
D | MemoryArea.cpp | 41 llvm::StringRef MemoryArea::request(size_t pOffset, size_t pLength) { in request() argument 42 return llvm::StringRef(m_pMemoryBuffer->getBufferStart() + pOffset, pLength); in request()
|
/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 | Demangle.h | 18 bool isCtorOrDtor(const char* pName, size_t pLength);
|
D | MemoryArea.h | 38 llvm::StringRef request(size_t pOffset, size_t pLength);
|
D | FileOutputBuffer.h | 48 MemoryRegion request(size_t pOffset, size_t pLength);
|
D | FileSystem.h | 98 int ftruncate(int pFD, size_t pLength);
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
D | FileSystem.inc | 133 int ftruncate(int pFD, size_t pLength) { 134 return ::_chsize(pFD, pLength); 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) {
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | FileSystem.inc | 137 int ftruncate(int pFD, size_t pLength) { 138 return ::ftruncate(pFD, pLength); 154 bool FileHandle::mmap(void*& pMemBuffer, size_t pStartOffset, size_t pLength) { 160 if (0 == pLength) 182 pMemBuffer = ::mmap(NULL, pLength, prot, flag, m_Handler, pStartOffset); 192 bool FileHandle::munmap(void* pMemBuffer, size_t pLength) { 198 if (-1 == ::munmap(pMemBuffer, pLength)) {
|
/frameworks/compile/mclinker/lib/Core/ |
D | IRBuilder.cpp | 338 size_t pLength) { in CreateRegion() argument 344 if (0 == pLength) in CreateRegion() 347 llvm::StringRef region = pInput.memArea()->request(pOffset, pLength); in CreateRegion() 352 Fragment* IRBuilder::CreateRegion(void* pMemory, size_t pLength) { in CreateRegion() argument 353 if (0 == pLength) in CreateRegion() 356 llvm::StringRef region(reinterpret_cast<const char*>(pMemory), pLength); in CreateRegion()
|
/frameworks/compile/mclinker/include/mcld/ |
D | IRBuilder.h | 282 static Fragment* CreateRegion(Input& pInput, size_t pOffset, size_t pLength); 293 static Fragment* CreateRegion(void* pMemory, size_t pLength);
|
/frameworks/compile/mclinker/lib/Script/ |
D | ScriptFile.cpp | 235 size_t pLength) { in createParserStr() argument 238 g_ParserStrPool->insert(std::string(pText, pLength), exist); in createParserStr()
|
/frameworks/compile/mclinker/include/mcld/Script/ |
D | ScriptFile.h | 150 static const std::string& createParserStr(const char* pText, size_t pLength);
|
/frameworks/ml/nn/runtime/test/ |
D | TestPartitioningRandom.cpp | 277 uint32_t* pLength) { in getRegion() argument 290 if (pLength) *pLength = length; in getRegion()
|
/frameworks/wilhelm/include/OMXAL/ |
D | OpenMAXAL.h | 2542 XAuint32* pLength
|