/frameworks/av/media/utils/ |
D | LimitProcessMemory.cpp | 34 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/ |
D | SQLiteDebug.java | 164 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()
|
D | SQLiteConnection.java | 1270 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()
|
D | SQLiteDatabase.java | 1123 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/ |
D | LinearAllocator.cpp | 89 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()
|
D | LinearAllocator.h | 135 Page* newPage(size_t pageSize);
|
/frameworks/compile/mclinker/lib/Core/ |
D | GeneralOptions.cpp | 139 m_CommPageSize = pOption.pageSize(); in addZOption() 142 m_MaxPageSize = pOption.pageSize(); in addZOption()
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | ZOption.h | 57 uint64_t pageSize() const { return m_PageSize; } in pageSize() function
|
/frameworks/base/media/java/android/service/media/ |
D | MediaBrowserService.java | 719 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/ |
D | IOMX.cpp | 527 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/ |
D | NuCachedSource2.cpp | 34 explicit PageCache(size_t pageSize); 66 PageCache::PageCache(size_t pageSize) in PageCache() argument 67 : mPageSize(pageSize), in PageCache()
|
/frameworks/av/media/extractors/ogg/ |
D | OggExtractor.cpp | 969 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/ |
D | ActivityThread.java | 1336 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/ |
D | test-lint-baseline.txt | 2228 MutableBareField: android.database.sqlite.SQLiteDebug.DbStats#pageSize:
|
D | test-current.txt | 1139 field public long pageSize;
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 34070 HSPLjava/nio/Bits;->pageSize()I
|