Home
last modified time | relevance | path

Searched refs:pagesize (Results 1 – 25 of 30) sorted by relevance

12

/external/webkit/Source/JavaScriptCore/wtf/
DTCSystemAlloc.cpp75 static size_t pagesize = 0; variable
165 if (pagesize == 0) pagesize = getpagesize(); in TryMmap()
166 if (alignment < pagesize) alignment = pagesize; in TryMmap()
176 if (alignment > pagesize) { in TryMmap()
177 extra = alignment - pagesize; in TryMmap()
213 if (pagesize == 0) { in TryVirtualAlloc()
216 pagesize = system_info.dwPageSize; in TryVirtualAlloc()
219 if (alignment < pagesize) alignment = pagesize; in TryVirtualAlloc()
229 if (alignment > pagesize) { in TryVirtualAlloc()
230 extra = alignment - pagesize; in TryVirtualAlloc()
[all …]
DFastMalloc.cpp4152 static size_t pagesize = 0; in CreateCacheIfNecessary() variable
4156 if (pagesize == 0) pagesize = getpagesize(); in CreateCacheIfNecessary()
4157 void* result = do_memalign(pagesize, size); in CreateCacheIfNecessary()
4164 if (pagesize == 0) pagesize = getpagesize(); in CreateCacheIfNecessary()
4165 size = (size + pagesize - 1) & ~(pagesize - 1); in CreateCacheIfNecessary()
4166 void* result = do_memalign(pagesize, size); in CreateCacheIfNecessary()
/external/valgrind/main/none/tests/
Dmap_unmap.c6 static unsigned int pagesize; variable
9 #define LEN (PAGES*pagesize)
29 off = (random() % LEN) & ~(pagesize-1); in nibblemap()
33 munmap((char *)p + off, pagesize); in nibblemap()
34 off += 619*pagesize; in nibblemap()
52 pagesize = getpagesize(); in main()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/www/projectName/
Dsearchcvs.php7 $pagesize = 25; //results per page variable
11 $offset = ($page - 1) * $pagesize;
71 …FT JOIN `bugs` $where GROUP BY `fid`, `revision`, `bugid` $having $order LIMIT $offset, $pagesize";
78 …howing results " . ($offset + 1) . "-" . ($offset + $pagesize > $rows ? $rows : $offset + $pagesiz…
84 dopager($rows, $page, $pagesize);
103 dopager($rows, $page, $pagesize);
227 function dopager($rows, $page, $pagesize) argument
230 $endpage = ($page + 5 > $rows/$pagesize ? ceil($rows/$pagesize) : $page + 5);
240 print ($page < ceil($rows/$pagesize) ? pagelink($page + 1, false, "Next") : "");
/external/elfutils/lib/
Dcrc32_file.c71 const size_t pagesize = sysconf (_SC_PAGE_SIZE); in crc32_file() local
72 mapsize = ((mapsize / 2) + pagesize - 1) & -pagesize; in crc32_file()
73 while (mapsize >= pagesize in crc32_file()
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/
DXF86DGA.c472 int pagesize = -1; in MapPhysAddress() local
489 pagesize = sysconf(_SC_PAGESIZE); in MapPhysAddress()
492 if (pagesize == -1) in MapPhysAddress()
493 pagesize = sysconf(_SC_PAGE_SIZE); in MapPhysAddress()
496 if (pagesize == -1) in MapPhysAddress()
497 pagesize = getpagesize(); in MapPhysAddress()
500 if (pagesize == -1) in MapPhysAddress()
501 pagesize = PAGE_SIZE; in MapPhysAddress()
503 if (pagesize == -1) in MapPhysAddress()
504 pagesize = 4096; in MapPhysAddress()
[all …]
/external/stlport/src/details/
Dfstream_unistd.cpp135 size_t pagesize, len; in _S_initialize() local
138 len = sizeof(pagesize); in _S_initialize()
139 sysctl(mib, 2, &pagesize, &len, NULL, 0); in _S_initialize()
140 _M_page_size = pagesize; in _S_initialize()
/external/quake/quake/src/WinQuake/
Dvid_ext.cpp91 int pagesize; member
386 vesa_extra[nummodes].pages[1] = modeinfo.pagesize; in VID_InitExtra()
387 vesa_extra[nummodes].pages[2] = modeinfo.pagesize * 2; in VID_InitExtra()
413 vesa_extra[nummodes].pages[1] = modeinfo.pagesize; in VID_InitExtra()
414 vesa_extra[nummodes].pages[2] = modeinfo.pagesize * 2; in VID_InitExtra()
498 modeinfo.pagesize = modeinfo.bytes_per_scanline * modeinfo.height; in VID_ExtraGetModeInfo()
500 if (modeinfo.pagesize > totalvidmem) in VID_ExtraGetModeInfo()
/external/stressapptest/src/
Dos.cc342 int64 pagesize = sysconf(_SC_PAGESIZE); in FindFreeMemSize() local
343 int64 physsize = pages * pagesize; in FindFreeMemSize()
344 int64 avphyssize = avpages * pagesize; in FindFreeMemSize()
349 if ((pages == -1) || (pagesize == -1)) { in FindFreeMemSize()
365 minsize = ((pages * 85) / 100) * pagesize; in FindFreeMemSize()
367 minsize = ((pages * 95) / 100) * pagesize - (192 * kMegabyte); in FindFreeMemSize()
Dfinelock_queue.h35 FineLockPEQueue(uint64 queuesize, int64 pagesize);
Dfinelock_queue.cc38 uint64 queuesize, int64 pagesize) { in FineLockPEQueue() argument
42 page_size_ = pagesize; in FineLockPEQueue()
/external/valgrind/main/VEX/unused/
Dlinker.c1161 int fd, pagesize; in loadObj() local
1221 pagesize = getpagesize(); in loadObj()
1222 p = memalign(pagesize, N_FIXUP_PAGES * pagesize in loadObj()
1231 oc->fixup_size = N_FIXUP_PAGES * pagesize; in loadObj()
/external/elfutils/src/
Dld.c636 ld_state.pagesize = strtoul (arg, &endp, 0); in parse_opt_1st()
640 ld_state.pagesize *= 1024; in parse_opt_1st()
642 ld_state.pagesize *= 1024 * 1024; in parse_opt_1st()
648 ld_state.pagesize = 0; in parse_opt_1st()
Dldscript.y163 if (likely (ld_state.pagesize == 0))
164 ld_state.pagesize = $3;
Dld.h801 size_t pagesize; member
Dldscript.c1616 if (likely (ld_state.pagesize == 0))
1617 ld_state.pagesize = (yyvsp[(3) - (5)].num);
Dldgeneric.c3435 val = ld_state.pagesize; in eval_expression()
6307 segment->align = ld_state.pagesize; in ld_generic_create_outfile()
/external/blktrace/
Dblktrace.c154 int pagesize; member
278 static int pagesize; variable
584 mip->pagesize = pagesize; in init_mmap_info()
743 mip->fs_off = mip->fs_size & (mip->pagesize - 1); in setup_mmap()
871 hdr.page_size = pagesize; in net_send_header()
2620 pagesize = getpagesize(); in main()
/external/valgrind/main/VEX/switchback/
Dlinker.c1326 int fd, pagesize;
1386 pagesize = getpagesize();
1389 p = mymalloc(N_FIXUP_PAGES * pagesize + oc->fileSize);
1397 oc->fixup_size = N_FIXUP_PAGES * pagesize;
/external/kernel-headers/original/linux/mtd/
Dnand.h423 unsigned long pagesize; member
/external/e2fsprogs/
Dconfigure6942 int i, pagesize;
6945 pagesize = getpagesize ();
6948 data = (char *) malloc (pagesize);
6951 for (i = 0; i < pagesize; ++i)
6957 if (write (fd, data, pagesize) != pagesize)
6969 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6972 for (i = 0; i < pagesize; ++i)
6976 if (munmap (data2, pagesize))
6985 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6988 for (i = 0; i < pagesize; ++i)
[all …]
/external/regex-re2/benchlog/
Dbenchlog.mini15 hw.pagesize: 4096
43 hw.pagesize = 4096
Dbenchlog.wreck7 hw.pagesize = 4096
47 hw.pagesize: 4096
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
DSDL_fbvideo.c498 const int pagesize = SDL_getpagesize(); in FB_VideoInit() local
581 (((long)finfo.smem_start)&~(pagesize-1))); in FB_VideoInit()
/external/elfutils/
DNEWS952 Allow pagesize to be specified in linker script or on the command line.

12