/frameworks/compile/mclinker/lib/Support/ |
H A D | MemoryArea.cpp | 54 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 D | FileHandle.cpp | 164 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 D | Space.cpp | 41 inline static Space::Type policy(off_t pOffset, size_t pLength) argument 47 if (pLength < threshold)
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | MemoryArea.h | 69 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 D | FileHandle.h | 94 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 D | FileSystem.h | 105 int ftruncate(int pFD, size_t pLength);
|
/frameworks/compile/libbcc/include/bcc/Support/ |
H A D | File.h | 62 inline android::FileMap *createMap(off_t pOffset, size_t pLength, argument 65 return FileBase::createMap(pOffset, pLength, pIsReadOnly);
|
H A D | FileBase.h | 128 android::FileMap *createMap(off_t pOffset, size_t pLength, bool pIsReadOnly);
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
H A D | FileSystem.inc | 138 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 D | FileSystem.inc | 139 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 D | FileBase.cpp | 225 android::FileMap *FileBase::createMap(off_t pOffset, size_t pLength, argument 237 if (!map->create(NULL, mFD, pOffset, pLength, pIsReadOnly)) {
|
H A D | Disassembler.cpp | 49 BufferMemoryObject(const uint8_t *pBytes, uint64_t pLength) argument 50 : mBytes(pBytes), mLength(pLength) {
|
/frameworks/compile/mclinker/include/mcld/ |
H A D | IRBuilder.h | 300 /// @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 D | VideoEditorJava.cpp | 317 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 D | VideoEditorJava.h | 440 M4OSA_UInt32* pLength);
|
/frameworks/compile/mclinker/lib/Core/ |
H A D | IRBuilder.cpp | 370 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 D | OpenMAXAL.h | 2542 XAuint32* pLength
|