Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2AllocatorIon.cpp235 size_t mapOffset = offset - alignmentBytes; in map() local
239 … c2_status_t err = mapInternal(mapSize, mapOffset, alignmentBytes, prot, flags, &(map.addr), addr); in map()
311 virtual c2_status_t mapInternal(size_t mapSize, size_t mapOffset, size_t alignmentBytes, in mapInternal() argument
316 flags, mapOffset, (unsigned char**)base, &mMapFd); in mapInternal()
319 mIonFd, mBuffer, mapSize, prot, flags, mapOffset, ret); in mapInternal()
328 *base = mmap(nullptr, mapSize, prot, flags, mMapFd, mapOffset); in mapInternal()
331 mapSize, prot, flags, mMapFd, mapOffset, errno); in mapInternal()
381 virtual c2_status_t mapInternal(size_t mapSize, size_t mapOffset, size_t alignmentBytes, in mapInternal() argument
384 *base = mmap(nullptr, mapSize, prot, flags, mHandle.bufferFd(), mapOffset); in mapInternal()
387 mapSize, prot, flags, mHandle.bufferFd(), mapOffset, errno); in mapInternal()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp7654 size_t mapOffset = esize; in print() local
7655 const ResTable_map* mapPtr = (ResTable_map*)(baseMapPtr+mapOffset); in print()
7668 i<N && mapOffset < (typeSize-sizeof(ResTable_map)); i++) { in print()
7674 mapOffset += size + sizeof(*mapPtr)-sizeof(mapPtr->value); in print()
7675 mapPtr = (ResTable_map*)(baseMapPtr+mapOffset); in print()