Home
last modified time | relevance | path

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

/frameworks/av/media/utils/
DLimitProcessMemory.cpp34 long pageSize = sysconf(_SC_PAGESIZE); in limitProcessMemory() local
38 if (pageSize > 0 && numPages > 0) { in limitProcessMemory()
39 if (size_t(numPages) < SIZE_MAX / size_t(pageSize)) { in limitProcessMemory()
40 maxMem = size_t(numPages) * size_t(pageSize); in limitProcessMemory()
/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.java1270 long pageSize = 0; in collectDbStats() local
1273 pageSize = executeForLong("PRAGMA page_size;", null, null); in collectDbStats()
1277 dbStatsList.add(getMainDbStatsUnsafe(lookaside, pageCount, pageSize)); in collectDbStats()
1289 pageSize = 0; in collectDbStats()
1292 pageSize = executeForLong("PRAGMA " + name + ".page_size;", null, null); in collectDbStats()
1300 dbStatsList.add(new DbStats(label, pageCount, pageSize, 0, 0, 0, 0)); in collectDbStats()
1319 private DbStats getMainDbStatsUnsafe(int lookaside, long pageCount, long pageSize) { in getMainDbStatsUnsafe() argument
1326 return new DbStats(label, pageCount, pageSize, lookaside, in getMainDbStatsUnsafe()
DSQLiteDatabase.java1123 long pageSize = getPageSize(); in setMaximumSize() local
1124 long numPages = numBytes / pageSize; in setMaximumSize()
1126 if ((numBytes % pageSize) != 0) { in setMaximumSize()
1131 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.h135 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/compile/mclinker/include/mcld/MC/
DZOption.h57 uint64_t pageSize() const { return m_PageSize; } in pageSize() function
/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/av/media/libmedia/
DIOMX.cpp527 size_t pageSize = 0; in onTransact() local
537 pageSize = (size_t) sysconf(_SC_PAGE_SIZE); in onTransact()
538 if (size > SIZE_MAX - (pageSize * 2)) { in onTransact()
541 allocSize = (size + pageSize * 2) & ~(pageSize - 1); in onTransact()
561 if (mprotect((char*)params + allocSize - pageSize, pageSize, in onTransact()
/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.cpp969 ssize_t pageSize; in buildTableOfContents() local
970 while ((pageSize = readPage(offset, &page)) > 0) { in buildTableOfContents()
979 offset += (size_t)pageSize; in buildTableOfContents()
/frameworks/base/core/java/android/app/
DActivityThread.java1336 pw.print(','); pw.print(dbStats.pageSize); in dumpMemInfo()
1381 (dbStats.pageSize > 0) ? String.valueOf(dbStats.pageSize) : " ", in dumpMemInfo()
1507 proto.write(MemInfoDumpProto.AppData.SqlStats.Database.PAGE_SIZE, dbStats.pageSize); in dumpMemInfo()
/frameworks/base/api/
Dtest-lint-baseline.txt2228 MutableBareField: android.database.sqlite.SQLiteDebug.DbStats#pageSize:
Dtest-current.txt1139 field public long pageSize;
/frameworks/base/config/
Dboot-image-profile.txt34070 HSPLjava/nio/Bits;->pageSize()I