Searched refs:numPages (Results 1 – 3 of 3) sorted by relevance
35 long numPages = sysconf(_SC_PHYS_PAGES); in limitProcessMemory() local38 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()
44 public void setNumPages(int numPages) { in setNumPages() argument45 setVisibility(numPages > 1 ? View.VISIBLE : View.INVISIBLE); in setNumPages()49 while (numPages < getChildCount()) { in setNumPages()52 while (numPages > getChildCount()) { in setNumPages()
897 long numPages = numBytes / pageSize; in setMaximumSize() local900 numPages++; in setMaximumSize()902 long newPageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count = " + numPages, in setMaximumSize()