Home
last modified time | relevance | path

Searched refs:pageSize (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libmedia/
DMediaUtils.cpp35 long pageSize = sysconf(_SC_PAGESIZE); in limitProcessMemory() local
39 if (pageSize > 0 && numPages > 0) { in limitProcessMemory()
40 if (size_t(numPages) < SIZE_MAX / size_t(pageSize)) { in limitProcessMemory()
41 maxMem = size_t(numPages) * size_t(pageSize); in limitProcessMemory()
DIOMX.cpp528 size_t pageSize = 0; in onTransact() local
538 pageSize = (size_t) sysconf(_SC_PAGE_SIZE); in onTransact()
539 if (size > SIZE_MAX - (pageSize * 2)) { in onTransact()
542 allocSize = (size + pageSize * 2) & ~(pageSize - 1); in onTransact()
562 if (mprotect((char*)params + allocSize - pageSize, pageSize, in onTransact()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDebug.java164 public long pageSize; field in SQLiteDebug.DbStats
178 public DbStats(String dbName, long pageCount, long pageSize, int lookaside, in DbStats() argument
181 this.pageSize = pageSize / 1024; in DbStats()
182 dbSize = (pageCount * pageSize) / 1024; in DbStats()
DSQLiteConnection.java1211 long pageSize = 0; in collectDbStats() local
1214 pageSize = executeForLong("PRAGMA page_size;", null, null); in collectDbStats()
1218 dbStatsList.add(getMainDbStatsUnsafe(lookaside, pageCount, pageSize)); in collectDbStats()
1230 pageSize = 0; in collectDbStats()
1233 pageSize = executeForLong("PRAGMA " + name + ".page_size;", null, null); in collectDbStats()
1241 dbStatsList.add(new DbStats(label, pageCount, pageSize, 0, 0, 0, 0)); in collectDbStats()
1260 private DbStats getMainDbStatsUnsafe(int lookaside, long pageCount, long pageSize) { in getMainDbStatsUnsafe() argument
1267 return new DbStats(label, pageCount, pageSize, lookaside, in getMainDbStatsUnsafe()
DSQLiteDatabase.java1021 long pageSize = getPageSize(); in setMaximumSize() local
1022 long numPages = numBytes / pageSize; in setMaximumSize()
1024 if ((numBytes % pageSize) != 0) { in setMaximumSize()
1029 return newPageCount * pageSize; in setMaximumSize()
/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp89 void* end(int pageSize) { return (void*)(((size_t)start()) + pageSize); } in end() argument
219 LinearAllocator::Page* LinearAllocator::newPage(size_t pageSize) { in newPage() argument
220 pageSize = ALIGN(pageSize + sizeof(LinearAllocator::Page)); in newPage()
222 mTotalAllocated += pageSize; in newPage()
224 void* buf = malloc(pageSize); in newPage()
DLinearAllocator.h134 Page* newPage(size_t pageSize);
/frameworks/compile/mclinker/lib/Core/
DGeneralOptions.cpp139 m_CommPageSize = pOption.pageSize(); in addZOption()
142 m_MaxPageSize = pOption.pageSize(); in addZOption()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java719 int pageSize = options.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1); in applyOptions() local
720 if (page == -1 && pageSize == -1) { in applyOptions()
723 int fromIndex = pageSize * page; in applyOptions()
724 int toIndex = fromIndex + pageSize; in applyOptions()
725 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyOptions()
/frameworks/compile/mclinker/include/mcld/MC/
DZOption.h57 uint64_t pageSize() const { return m_PageSize; } in pageSize() function
/frameworks/av/media/libdatasource/
DNuCachedSource2.cpp34 explicit PageCache(size_t pageSize);
66 PageCache::PageCache(size_t pageSize) in PageCache() argument
67 : mPageSize(pageSize), in PageCache()
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp968 ssize_t pageSize; in buildTableOfContents() local
969 while ((pageSize = readPage(offset, &page)) > 0) { in buildTableOfContents()
978 offset += (size_t)pageSize; in buildTableOfContents()
/frameworks/base/core/java/android/app/
DActivityThread.java1303 pw.print(','); pw.print(dbStats.pageSize); in dumpMemInfo()
1348 (dbStats.pageSize > 0) ? String.valueOf(dbStats.pageSize) : " ", in dumpMemInfo()
1474 proto.write(MemInfoDumpProto.AppData.SqlStats.Database.PAGE_SIZE, dbStats.pageSize); in dumpMemInfo()
/frameworks/base/api/
Dtest-lint-baseline.txt2232 MutableBareField: android.database.sqlite.SQLiteDebug.DbStats#pageSize:
Dtest-current.txt840 field public long pageSize;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt17625 Landroid/database/sqlite/SQLiteDebug$DbStats;->pageSize:J