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

/frameworks/compile/mclinker/lib/Support/
H A DMemoryArea.cpp54 MemoryRegion* MemoryArea::request(size_t pOffset, size_t pLength) argument
56 Space* space = find(pOffset, pLength);
62 unreachable(diag::err_out_of_range_region) << pOffset << pLength; local
65 space = Space::Create(*m_pFileHandle, pOffset, pLength);
74 return MemoryRegion::Create(r_start, pLength, *space);
142 Space* MemoryArea::find(size_t pOffset, size_t pLength) argument
145 m_SpaceMap.equal_range(Key(pOffset, pLength));
149 ((pOffset + pLength) <= (it->second->start() + it->second->size())))
155 const Space* MemoryArea::find(size_t pOffset, size_t pLength) const
158 m_SpaceMap.equal_range(Key(pOffset, pLength));
[all...]
H A DFileHandle.cpp164 bool FileHandle::read(void* pMemBuffer, size_t pStartOffset, size_t pLength) argument
171 if (0 == pLength)
176 pLength,
187 bool FileHandle::write(const void* pMemBuffer, size_t pStartOffset, size_t pLength) argument
194 if (0 == pLength)
200 pLength,
H A DSpace.cpp41 inline static Space::Type policy(off_t pOffset, size_t pLength) argument
47 if (pLength < threshold)
/frameworks/compile/mclinker/include/mcld/Support/
H A DMemoryArea.h69 MemoryRegion* request(size_t pOffset, size_t pLength);
84 Space* find(size_t pOffset, size_t pLength);
86 const Space* find(size_t pOffset, size_t pLength) const;
91 Key(size_t pOffset, size_t pLength) argument
92 : m_Offset(pOffset), m_Length(pLength)
H A DFileHandle.h94 bool read(void* pMemBuffer, size_t pStartOffset, size_t pLength);
96 bool write(const void* pMemBuffer, size_t pStartOffset, size_t pLength);
98 bool mmap(void*& pMemBuffer, size_t pStartOffset, size_t pLength);
100 bool munmap(void* pMemBuffer, size_t pLength);
H A DFileSystem.h105 int ftruncate(int pFD, size_t pLength);
/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.h128 android::FileMap *createMap(off_t pOffset, size_t pLength, bool pIsReadOnly);
/frameworks/compile/mclinker/lib/Support/Unix/
H A DFileSystem.inc138 int ftruncate(int pFD, size_t pLength)
140 return ::ftruncate(pFD, pLength);
157 bool FileHandle::mmap(void*& pMemBuffer, size_t pStartOffset, size_t pLength)
164 if (0 == pLength)
189 pMemBuffer = ::mmap(NULL, pLength, prot, flag, m_Handler, pStartOffset);
199 bool FileHandle::munmap(void* pMemBuffer, size_t pLength)
206 if (-1 == ::munmap(pMemBuffer, pLength)) {
/frameworks/compile/mclinker/lib/Support/Windows/
H A DFileSystem.inc139 int ftruncate(int pFD, size_t pLength)
141 return ::_chsize(pFD, pLength);
158 bool FileHandle::mmap(void*& pMemBuffer, size_t pStartOffset, size_t pLength)
161 pMemBuffer = (void*)::malloc(pLength);
162 return read(pMemBuffer, pStartOffset, pLength);
165 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(NULL, 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.h300 /// @param pLength [in] The number of bytes of the data
301 /// @return If pLength is zero or failing to request a region, return a
303 static Fragment* CreateRegion(Input& pInput, size_t pOffset, size_t pLength);
311 /// @param pLength [in] The number of bytes of the data
312 /// @return If pLength is zero or failing to request a region, return a
314 static Fragment* CreateRegion(void* pMemory, size_t pLength);
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorJava.cpp317 M4OSA_UInt32* pLength)
386 if (M4OSA_NULL != pLength)
389 (*pLength) = length;
312 videoEditJava_getString( bool* pResult, JNIEnv* pEnv, jobject object, jfieldID stringFieldId, M4OSA_UInt32* pLength) argument
H A DVideoEditorJava.h440 M4OSA_UInt32* pLength);
/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp370 Fragment* IRBuilder::CreateRegion(Input& pInput, size_t pOffset, size_t pLength) argument
377 if (0 == pLength)
380 MemoryRegion* region = pInput.memArea()->request(pOffset, pLength);
389 Fragment* IRBuilder::CreateRegion(void* pMemory, size_t pLength) argument
391 if (0 == pLength)
394 MemoryRegion* region = MemoryRegion::Create(pMemory, pLength);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h2542 XAuint32* pLength

Completed in 764 milliseconds