Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp97 : mPageSize(INITIAL_PAGE_SIZE) in LinearAllocator()
128 return ((char*)p) + mPageSize; in end()
138 if (mCurrentPage && mPageSize < MAX_PAGE_SIZE) { in ensureNext()
139 mPageSize = min(MAX_PAGE_SIZE, mPageSize * 2); in ensureNext()
140 mMaxAllocSize = mPageSize * MAX_WASTE_RATIO; in ensureNext()
141 mPageSize = ALIGN(mPageSize); in ensureNext()
143 mWastedSpace += mPageSize; in ensureNext()
144 Page* p = newPage(mPageSize); in ensureNext()
DLinearAllocator.h140 size_t mPageSize; variable
/frameworks/av/media/libdatasource/
DNuCachedSource2.cpp55 size_t mPageSize; member
67 : mPageSize(pageSize), in PageCache()
99 page->mData = malloc(mPageSize); in acquirePage()
/frameworks/rs/cpu_ref/
DrsCpuCore.h260 long mPageSize; variable
DrsCpuCore.cpp232 mPageSize = sysconf(_SC_PAGE_SIZE); in init()
738 (unsigned(mtls->accumSize) + unsigned(mPageSize)-1) & in launchReduceParallel()
739 ~(unsigned(mPageSize)-1); in launchReduceParallel()
745 mtls->accumAlloc = static_cast<uint8_t *>(memalign(mPageSize, allocSize)); in launchReduceParallel()