Home
last modified time | relevance | path

Searched refs:mPageSize (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp112 : mPageSize(INITIAL_PAGE_SIZE) in LinearAllocator()
143 return ((char*)p) + mPageSize; in end()
153 if (mCurrentPage && mPageSize < MAX_PAGE_SIZE) { in ensureNext()
154 mPageSize = min(MAX_PAGE_SIZE, mPageSize * 2); in ensureNext()
155 mMaxAllocSize = mPageSize * MAX_WASTE_RATIO; in ensureNext()
156 mPageSize = ALIGN(mPageSize); in ensureNext()
158 mWastedSpace += mPageSize; in ensureNext()
159 Page* p = newPage(mPageSize); in ensureNext()
DLinearAllocator.h140 size_t mPageSize; variable
/frameworks/av/media/libstagefright/
DNuCachedSource2.cpp55 size_t mPageSize; member
67 : mPageSize(pageSize), in PageCache()
99 page->mData = malloc(mPageSize); in acquirePage()
/frameworks/rs/cpu_ref/
DrsCpuCore.h258 long mPageSize; variable
DrsCpuCore.cpp244 mPageSize = sysconf(_SC_PAGE_SIZE); in init()
740 (unsigned(mtls->accumSize) + unsigned(mPageSize)-1) & in launchReduceParallel()
741 ~(unsigned(mPageSize)-1); in launchReduceParallel()
747 mtls->accumAlloc = static_cast<uint8_t *>(memalign(mPageSize, allocSize)); in launchReduceParallel()