Searched refs:pLength (Results 1 - 20 of 20) sorted by relevance

/frameworks/compile/mclinker/include/mcld/Support/
H A DDemangle.h18 bool isCtorOrDtor(const char* pName, size_t pLength);
H A 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);
H A DMemoryArea.h38 llvm::StringRef request(size_t pOffset, size_t pLength);
H A DFileOutputBuffer.h48 MemoryRegion request(size_t pOffset, size_t pLength);
H A DFileSystem.h98 int ftruncate(int pFD, size_t pLength);
/frameworks/compile/mclinker/lib/Support/
H A DMemoryArea.cpp41 llvm::StringRef MemoryArea::request(size_t pOffset, size_t pLength) { argument
42 return llvm::StringRef(m_pMemoryBuffer->getBufferStart() + pOffset, pLength);
H A DDemangle.cpp43 bool isCtorOrDtor(const char* pName, size_t pLength) { argument
55 demangle(pName, pName + pLength, db, internal_status);
62 demangle(pName, pName + pLength, db, internal_status);
H A DFileOutputBuffer.cpp49 MemoryRegion FileOutputBuffer::request(size_t pOffset, size_t pLength) { argument
50 if (pOffset > getBufferSize() || (pOffset + pLength) > getBufferSize())
52 return MemoryRegion(getBufferStart() + pOffset, pLength);
H A DFileHandle.cpp159 bool FileHandle::read(void* pMemBuffer, size_t pStartOffset, size_t pLength) { argument
165 if (pLength == 0)
169 sys::fs::detail::pread(m_Handler, pMemBuffer, pLength, pStartOffset);
181 size_t pLength) {
187 if (pLength == 0)
191 sys::fs::detail::pwrite(m_Handler, pMemBuffer, pLength, pStartOffset);
179 write(const void* pMemBuffer, size_t pStartOffset, size_t pLength) argument
/frameworks/compile/libbcc/include/bcc/Support/
H A DFile.h62 inline android::FileMap *createMap(off_t pOffset, size_t pLength, argument
65 return FileBase::createMap(pOffset, pLength, pIsReadOnly);
H A DFileBase.h127 android::FileMap *createMap(off_t pOffset, size_t pLength, bool pIsReadOnly);
/frameworks/compile/mclinker/lib/Support/Unix/
H A 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/Support/Windows/
H A 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/libbcc/lib/Support/
H A DFileBase.cpp225 android::FileMap *FileBase::createMap(off_t pOffset, size_t pLength, argument
237 if (!map->create(nullptr, mFD, pOffset, pLength, pIsReadOnly)) {
H A DDisassembler.cpp49 BufferMemoryObject(const uint8_t *pBytes, uint64_t pLength) argument
50 : mBytes(pBytes), mLength(pLength) {
/frameworks/compile/mclinker/include/mcld/
H A DIRBuilder.h279 /// @param pLength [in] The number of bytes of the data
280 /// @return If pLength is zero or failing to request a region, return a
282 static Fragment* CreateRegion(Input& pInput, size_t pOffset, size_t pLength);
290 /// @param pLength [in] The number of bytes of the data
291 /// @return If pLength is zero or failing to request a region, return a
293 static Fragment* CreateRegion(void* pMemory, size_t pLength);
/frameworks/compile/mclinker/lib/Script/
H A DScriptFile.cpp235 size_t pLength) {
238 g_ParserStrPool->insert(std::string(pText, pLength), exist);
234 createParserStr(const char* pText, size_t pLength) argument
/frameworks/compile/mclinker/include/mcld/Script/
H A DScriptFile.h150 static const std::string& createParserStr(const char* pText, size_t pLength);
/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp338 size_t pLength) {
344 if (0 == pLength)
347 llvm::StringRef region = pInput.memArea()->request(pOffset, pLength);
352 Fragment* IRBuilder::CreateRegion(void* pMemory, size_t pLength) { argument
353 if (0 == pLength)
356 llvm::StringRef region(reinterpret_cast<const char*>(pMemory), pLength);
336 CreateRegion(Input& pInput, size_t pOffset, size_t pLength) argument
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h2542 XAuint32* pLength

Completed in 304 milliseconds