Home
last modified time | relevance | path

Searched refs:mapOffset (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/codec2/vndk/
DC2AllocatorIon.cpp206 size_t mapOffset = offset - alignmentBytes; in map() local
210 … c2_status_t err = mapInternal(mapSize, mapOffset, alignmentBytes, prot, flags, &(map.addr), addr); in map()
285 virtual c2_status_t mapInternal(size_t mapSize, size_t mapOffset, size_t alignmentBytes, in mapInternal() argument
290 flags, mapOffset, (unsigned char**)base, &mMapFd); in mapInternal()
293 mIonFd, mBuffer, mapSize, prot, flags, mapOffset, ret); in mapInternal()
302 *base = mmap(nullptr, mapSize, prot, flags, mMapFd, mapOffset); in mapInternal()
305 mapSize, prot, flags, mMapFd, mapOffset, errno); in mapInternal()
355 virtual c2_status_t mapInternal(size_t mapSize, size_t mapOffset, size_t alignmentBytes, in mapInternal() argument
358 *base = mmap(nullptr, mapSize, prot, flags, mHandle.bufferFd(), mapOffset); in mapInternal()
361 mapSize, prot, flags, mHandle.bufferFd(), mapOffset, errno); in mapInternal()
DC2DmaBufAllocator.cpp141 virtual c2_status_t mapInternal(size_t mapSize, size_t mapOffset, size_t alignmentBytes, in mapInternal() argument
144 *base = mmap(nullptr, mapSize, prot, flags, mHandle.bufferFd(), mapOffset); in mapInternal()
147 mapSize, prot, flags, mHandle.bufferFd(), mapOffset, errno); in mapInternal()
197 size_t mapOffset = offset - alignmentBytes; in map() local
202 mapInternal(mapSize, mapOffset, alignmentBytes, prot, flags, &(map.addr), addr); in map()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp7937 size_t mapOffset = esize; in print() local
7938 const ResTable_map* mapPtr = (ResTable_map*)(baseMapPtr+mapOffset); in print()
7951 i<N && mapOffset < (typeSize-sizeof(ResTable_map)); i++) { in print()
7957 mapOffset += size + sizeof(*mapPtr)-sizeof(mapPtr->value); in print()
7958 mapPtr = (ResTable_map*)(baseMapPtr+mapOffset); in print()