/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteDebug.java | 125 public long pageSize; field in SQLiteDebug.DbStats 136 public DbStats(String dbName, long pageCount, long pageSize, int lookaside, in DbStats() argument 139 this.pageSize = pageSize / 1024; in DbStats() 140 dbSize = (pageCount * pageSize) / 1024; in DbStats()
|
D | SQLiteConnection.java | 1114 long pageSize = 0; in collectDbStats() local 1117 pageSize = executeForLong("PRAGMA page_size;", null, null); in collectDbStats() 1121 dbStatsList.add(getMainDbStatsUnsafe(lookaside, pageCount, pageSize)); in collectDbStats() 1133 pageSize = 0; in collectDbStats() 1136 pageSize = executeForLong("PRAGMA " + name + ".page_size;", null, null); in collectDbStats() 1144 dbStatsList.add(new DbStats(label, pageCount, pageSize, 0, 0, 0, 0)); in collectDbStats() 1163 private DbStats getMainDbStatsUnsafe(int lookaside, long pageCount, long pageSize) { in getMainDbStatsUnsafe() argument 1170 return new DbStats(label, pageCount, pageSize, lookaside, in getMainDbStatsUnsafe()
|
D | SQLiteDatabase.java | 896 long pageSize = getPageSize(); in setMaximumSize() local 897 long numPages = numBytes / pageSize; in setMaximumSize() 899 if ((numBytes % pageSize) != 0) { in setMaximumSize() 904 return newPageCount * pageSize; in setMaximumSize()
|
/frameworks/av/media/libmedia/ |
D | MediaUtils.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()
|
D | IOMX.cpp | 742 size_t pageSize = 0; in onTransact() local 753 pageSize = (size_t) sysconf(_SC_PAGE_SIZE); in onTransact() 754 if (size > SIZE_MAX - (pageSize * 2)) { in onTransact() 757 allocSize = (size + pageSize * 2) & ~(pageSize - 1); in onTransact() 778 mprotect((char*)params + allocSize - pageSize, pageSize, PROT_NONE); in onTransact()
|
/frameworks/base/libs/hwui/utils/ |
D | LinearAllocator.cpp | 102 void* end(int pageSize) { in end() argument 103 return (void*) (((size_t)start()) + pageSize); in end() 235 LinearAllocator::Page* LinearAllocator::newPage(size_t pageSize) { in newPage() argument 236 pageSize = ALIGN(pageSize + sizeof(LinearAllocator::Page)); in newPage() 238 mTotalAllocated += pageSize; in newPage() 240 void* buf = malloc(pageSize); in newPage()
|
D | LinearAllocator.h | 134 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/base/media/java/android/service/media/ |
D | MediaBrowserService.java | 680 int pageSize = options.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1); in applyOptions() local 681 if (page == -1 && pageSize == -1) { in applyOptions() 684 int fromIndex = pageSize * page; in applyOptions() 685 int toIndex = fromIndex + pageSize; in applyOptions() 686 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyOptions()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | FocusManager.java | 234 int pageSize = last - first + 1; in findPagedTargetPosition() local 242 int target = current - pageSize; in findPagedTargetPosition() 253 int target = current + pageSize; in findPagedTargetPosition()
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | ZOption.h | 57 uint64_t pageSize() const { return m_PageSize; } in pageSize() function
|
/frameworks/av/media/libstagefright/ |
D | NuCachedSource2.cpp | 34 PageCache(size_t pageSize); 66 PageCache::PageCache(size_t pageSize) in PageCache() argument 67 : mPageSize(pageSize), in PageCache()
|
D | OggExtractor.cpp | 859 ssize_t pageSize; in buildTableOfContents() local 860 while ((pageSize = readPage(offset, &page)) > 0) { in buildTableOfContents() 869 offset += (size_t)pageSize; in buildTableOfContents()
|
/frameworks/support/v4/java/android/support/v4/media/ |
D | MediaBrowserServiceCompat.java | 1066 int pageSize = options.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); in applyOptions() local 1067 if (page == -1 && pageSize == -1) { in applyOptions() 1070 int fromIndex = pageSize * page; in applyOptions() 1071 int toIndex = fromIndex + pageSize; in applyOptions() 1072 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyOptions()
|
D | MediaBrowserCompat.java | 621 int pageSize = options.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); in applyOptions() local 622 if (page == -1 && pageSize == -1) { in applyOptions() 625 int fromIndex = pageSize * page; in applyOptions() 626 int toIndex = fromIndex + pageSize; in applyOptions() 627 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyOptions()
|
/frameworks/base/docs/html/training/printing/ |
D | custom-docs.jd | 198 MediaSize pageSize = printAttributes.getMediaSize(); 199 if (!pageSize.isPortrait()) {
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 1085 pw.print(','); pw.print(dbStats.pageSize); in dumpMemInfo() 1129 (dbStats.pageSize > 0) ? String.valueOf(dbStats.pageSize) : " ", in dumpMemInfo()
|