Home
last modified time | relevance | path

Searched refs:pLength (Results 1 – 17 of 17) sorted by relevance

/frameworks/compile/mclinker/lib/Support/
DFileHandle.cpp159 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()
DFileOutputBuffer.cpp49 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()
DDemangle.cpp43 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()
DMemoryArea.cpp41 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/
DFileHandle.h85 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);
DDemangle.h18 bool isCtorOrDtor(const char* pName, size_t pLength);
DMemoryArea.h38 llvm::StringRef request(size_t pOffset, size_t pLength);
DFileOutputBuffer.h48 MemoryRegion request(size_t pOffset, size_t pLength);
DFileSystem.h98 int ftruncate(int pFD, size_t pLength);
/frameworks/compile/mclinker/lib/Support/Windows/
DFileSystem.inc133 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/
DFileSystem.inc137 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/
DIRBuilder.cpp338 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/
DIRBuilder.h282 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/
DScriptFile.cpp235 size_t pLength) { in createParserStr() argument
238 g_ParserStrPool->insert(std::string(pText, pLength), exist); in createParserStr()
/frameworks/compile/mclinker/include/mcld/Script/
DScriptFile.h150 static const std::string& createParserStr(const char* pText, size_t pLength);
/frameworks/ml/nn/runtime/test/
DTestPartitioningRandom.cpp277 uint32_t* pLength) { in getRegion() argument
290 if (pLength) *pLength = length; in getRegion()
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h2542 XAuint32* pLength