/external/chromium_org/third_party/smhasher/src/ |
AvalancheTest.h | 245 const int pagesize = hashbits*hashbits*4; local 257 std::vector<int> bins(keybits*pagesize,0); 263 int * page = &bins[keybit*pagesize]; 296 int * page = &bins[keybit*pagesize];
|
/external/chromium_org/third_party/sqlite/src/tool/ |
showwal.c | 14 static int pagesize = 1024; /* Size of a database page */ variable 140 iStart = 32 + (iFrame-1)*(pagesize+24); 142 iFrame, iStart, iStart+pagesize+24); 143 aData = getContent(iStart, pagesize+24); 150 print_byte_range(iStart+24, pagesize, aData+24, 0); 168 iStart = 32 + (iFrame-1)*(pagesize+24); 289 pagesize = zPgSz[0]*256 + zPgSz[1]; 290 if( pagesize==0 ) pagesize = 1024; 291 printf("Pagesize: %d\n", pagesize) [all...] |
showdb.c | 14 static int pagesize = 1024; /* Size of a database page */ variable 120 iStart = (iPg-1)*pagesize; 122 iPg, iStart, iStart+pagesize-1); 123 aData = print_byte_range(iStart, pagesize, 0); 260 maxLocal = pagesize-35; 261 minLocal = (pagesize-12)*32/255-23; 263 maxLocal = (pagesize-12)*64/255-23; 264 minLocal = (pagesize-12)*32/255-23; 267 surplus = minLocal + (nPayload-minLocal)%(pagesize-4); 385 zMap = malloc(pagesize); [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
system-alloc.cc | 119 static size_t pagesize = 0; variable 284 if (pagesize == 0) pagesize = getpagesize(); 285 if (alignment < pagesize) alignment = pagesize; 298 // Ask for extra memory if alignment > pagesize 300 if (alignment > pagesize) { 301 extra = alignment - pagesize; 368 if (pagesize == 0) pagesize = getpagesize() [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
port.cc | 54 static int pagesize = 0; local 55 if (pagesize == 0) { 58 pagesize = std::max(system_info.dwPageSize, 61 return pagesize; 225 // Align on the pagesize boundary 226 const int pagesize = getpagesize(); local 227 if (alignment < pagesize) alignment = pagesize; 235 // Ask for extra memory if alignment > pagesize 237 if (alignment > pagesize) { [all...] |
/external/harfbuzz_ng/src/ |
hb-blob.cc | 388 uintptr_t pagesize = -1, mask, length; local 392 pagesize = (uintptr_t) sysconf (_SC_PAGE_SIZE); 394 pagesize = (uintptr_t) sysconf (_SC_PAGESIZE); 396 pagesize = (uintptr_t) getpagesize (); 399 if ((uintptr_t) -1L == pagesize) { 400 DEBUG_MSG_FUNC (BLOB, blob, "failed to get pagesize: %s", strerror (errno)); 403 DEBUG_MSG_FUNC (BLOB, blob, "pagesize is %lu", (unsigned long) pagesize); 405 mask = ~(pagesize-1); 407 length = (const char *) (((uintptr_t) blob->data + blob->length + pagesize-1) & mask) - addr [all...] |
/external/stlport/src/details/ |
fstream_unistd.cpp | 135 size_t pagesize, len; local 138 len = sizeof(pagesize); 139 sysctl(mib, 2, &pagesize, &len, NULL, 0); 140 _M_page_size = pagesize;
|
/ndk/sources/cxx-stl/stlport/src/details/ |
fstream_unistd.cpp | 135 size_t pagesize, len; local 138 len = sizeof(pagesize); 139 sysctl(mib, 2, &pagesize, &len, NULL, 0); 140 _M_page_size = pagesize;
|
/system/core/mkbootimg/ |
mkbootimg.c | 67 " [ --pagesize <pagesize> ]\n" 77 int write_padding(int fd, unsigned pagesize, unsigned itemsize) 79 unsigned pagemask = pagesize - 1; 86 count = pagesize - (itemsize & pagemask); 108 unsigned pagesize = 2048; local 154 } else if(!strcmp(arg,"--pagesize")) { 155 pagesize = strtoul(val, 0, 10); 156 if ((pagesize != 2048) && (pagesize != 4096 [all...] |
/system/extras/procmem/ |
procmem.c | 46 int pagesize; /* cached for speed */ local 109 pagesize = pm_kernel_pagesize(ker); 192 address = pm_map_start(mi->map) + j * ker->pagesize; 249 mi->shared_clean * pagesize / 1024, 250 mi->shared_dirty * pagesize / 1024, 251 mi->private_clean * pagesize / 1024, 252 mi->private_dirty * pagesize / 1024, 261 mi->shared_clean * pagesize / 1024, 262 mi->shared_dirty * pagesize / 1024, 263 mi->private_clean * pagesize / 1024 [all...] |
/bionic/libc/bionic/ |
malloc_debug_leak.cpp | 274 size_t pagesize = getpagesize(); local 275 size_t size = BIONIC_ALIGN(bytes, pagesize); 279 return fill_memalign(pagesize, size); 519 size_t pagesize = getpagesize(); local 520 size_t size = BIONIC_ALIGN(bytes, pagesize); 524 return leak_memalign(pagesize, size);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
system-alloc.cc | 253 static size_t pagesize = 0; variable 425 if (pagesize == 0) pagesize = getpagesize(); 426 if (alignment < pagesize) alignment = pagesize; 439 // Ask for extra memory if alignment > pagesize 441 if (alignment > pagesize) { 442 extra = alignment - pagesize; 505 if (pagesize == 0) pagesize = getpagesize() [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
port.cc | 55 static int pagesize = 0; local 56 if (pagesize == 0) { 59 pagesize = std::max(system_info.dwPageSize, 62 return pagesize; 227 // Align on the pagesize boundary 228 const int pagesize = getpagesize(); local 229 if (alignment < pagesize) alignment = pagesize; 241 // We currently do not support alignments larger than the pagesize or 242 // alignments that are not multiples of the pagesize after being floored 260 static size_t pagesize = 0; local [all...] |
/external/chromium_org/tools/deep_memory_profiler/lib/ |
deep_dump.py | 125 def pagesize(self): member in class:DeepDump 261 elif self._lines[ln].startswith('PageSize: '):
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/www/projectName/ |
searchcvs.php | 7 $pagesize = 25; //results per page variable 11 $offset = ($page - 1) * $pagesize; 71 $sql = "SELECT SQL_CALC_FOUND_ROWS `cvsname`, `revision`, `date`, `author`, `message`, `keyword_subs`, `bugid`, `revision` AS `orev`, `fid` AS `ofid`, $branch AS `branch`$ec FROM `cvsfiles` NATURAL JOIN `commits` NATURAL LEFT JOIN `bugs` $where GROUP BY `fid`, `revision`, `bugid` $having $order LIMIT $offset, $pagesize"; 78 $title = "<span>$rows results total</span>Showing results " . ($offset + 1) . "-" . ($offset + $pagesize > $rows ? $rows : $offset + $pagesize) . " for " . ($_GET["q"] == "" ? "last $days days of commits" : "$et" . sanitize($_GET["q"], "text")); 84 dopager($rows, $page, $pagesize); 103 dopager($rows, $page, $pagesize); 227 function dopager($rows, $page, $pagesize) 230 $endpage = ($page + 5 > $rows/$pagesize ? ceil($rows/$pagesize) : $page + 5) [all...] |
/external/strace/ |
mem.c | 40 static unsigned long pagesize; local 42 if (!pagesize) 43 pagesize = sysconf(_SC_PAGESIZE); 44 return pagesize;
|
/system/core/logd/ |
LogBuffer.cpp | 49 long pagesize = sysconf(_SC_PAGESIZE); local 50 if (pagesize <= 1) { 51 pagesize = PAGE_SIZE; 56 unsigned long maximum = pages * pagesize;
|
/bionic/libc/kernel/uapi/asm-arm/asm/ |
setup.h | 34 __u32 pagesize; member in struct:tag_core
|
/development/ndk/platforms/android-L/arch-arm/include/asm/ |
setup.h | 34 __u32 pagesize; member in struct:tag_core
|
/external/chromium_org/third_party/re2/re2/testing/ |
re2_test.cc | 673 long pagesize = sysconf(_SC_PAGE_SIZE); local 678 v = static_cast<char*>(mmap(NULL, 2*pagesize, PROT_READ|PROT_WRITE, 682 CHECK_EQ(munmap(v + pagesize, pagesize), 0) << " error " << errno; 683 v[pagesize - 1] = '1'; 686 CHECK(RE2::FullMatch(StringPiece(v + pagesize - 1, 1), "(.*)", &x)); [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
low_level_alloc.cc | 185 explicit Arena(int) : pagesize(0) {} // set pagesize to zero explicitly 189 // pagesize, roundup, min_size 193 size_t pagesize; // ==getpagesize() (init under mu, then ro) member in struct:LowLevelAlloc::Arena 264 if (arena->pagesize == 0) { 265 arena->pagesize = getpagesize(); 330 RAW_CHECK(size % arena->pagesize == 0, 332 RAW_CHECK(reinterpret_cast<intptr_t>(region) % arena->pagesize == 0, 459 size_t new_pages_size = RoundUp(req_rnd, arena->pagesize * 16);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
low_level_alloc.cc | 185 explicit Arena(int) : pagesize(0) {} // set pagesize to zero explicitly 189 // pagesize, roundup, min_size 193 size_t pagesize; // ==getpagesize() (init under mu, then ro) member in struct:LowLevelAlloc::Arena 264 if (arena->pagesize == 0) { 265 arena->pagesize = getpagesize(); 330 RAW_CHECK(size % arena->pagesize == 0, 332 RAW_CHECK(reinterpret_cast<intptr_t>(region) % arena->pagesize == 0, 459 size_t new_pages_size = RoundUp(req_rnd, arena->pagesize * 16);
|
/external/fio/os/ |
os-android.h | 178 long pagesize, pages; local 180 pagesize = sysconf(_SC_PAGESIZE); 182 if (pages == -1 || pagesize == -1) 185 return (unsigned long long) pages * (unsigned long long) pagesize;
|
os-linux.h | 142 long pagesize, pages; local 144 pagesize = sysconf(_SC_PAGESIZE); 146 if (pages == -1 || pagesize == -1) 149 return (unsigned long long) pages * (unsigned long long) pagesize;
|
os-windows.h | 155 long pagesize, pages; local 157 pagesize = sysconf(_SC_PAGESIZE); 159 if (pages == -1 || pagesize == -1) 162 return (unsigned long long) pages * (unsigned long long) pagesize;
|