Searched refs:pagesize (Results 1 - 22 of 22) sorted by relevance

/xsrc/external/mit/libXaw/dist/src/
H A DOS.c29 static int pagesize = -1; local in function:_XawGetPageSize
31 if (pagesize != -1)
32 return pagesize;
37 pagesize = (int) sysconf(_SC_PAGESIZE);
41 if (pagesize == -1)
42 pagesize = (int) sysconf(_SC_PAGE_SIZE);
46 if (pagesize == -1)
47 pagesize = getpagesize();
51 if (pagesize == -1)
52 pagesize
[all...]
H A DMultiSrc.c1611 static XPointer pagesize; local in function:GetDefaultPieceSize
1613 if (pagesize == 0) {
1614 pagesize = (XPointer)((long)_XawGetPageSize());
1615 if (pagesize < (XPointer)BUFSIZ)
1616 pagesize = (XPointer)BUFSIZ;
1619 value->addr = (XPointer)&pagesize;
H A DAsciiSrc.c1788 static XPointer pagesize; local in function:GetDefaultPieceSize
1790 if (pagesize == NULL) {
1791 pagesize = (XPointer)((long)_XawGetPageSize());
1792 if (pagesize < (XPointer)BUFSIZ)
1793 pagesize = (XPointer)BUFSIZ;
1796 value->addr = (XPointer)&pagesize;
H A DPanner.c564 parse_page_string(String s, int pagesize, int canvassize, Bool *relative) argument
600 val *= (double)pagesize;
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/int10/
H A Dgeneric.c314 int pagesize = getpagesize(); local in function:MapVRam
315 int size = ((VRAM_SIZE + pagesize - 1) / pagesize) * pagesize;
327 int pagesize = getpagesize(); local in function:UnmapVRam
328 int size = ((VRAM_SIZE + pagesize - 1)/pagesize) * pagesize;
360 int pagesize = getpagesize(); local in function:xf86Int10AllocPages
361 int num_pages = ALLOC_ENTRIES(pagesize);
388 int pagesize = getpagesize(); local in function:xf86Int10FreePages
[all...]
H A Dhelper_exec.c691 int pagesize = getpagesize(); local in function:SetResetBIOSVars
693 VIDMEM_MMIO, 0, pagesize);
704 xf86UnMapVidMem(pInt->scrnIndex,base,pagesize);
710 int pagesize = getpagesize(); local in function:xf86Int10SaveRestoreBIOSVars
718 base = xf86MapVidMem(pInt->scrnIndex, VIDMEM_MMIO, 0, pagesize);
734 xf86UnMapVidMem(pInt->scrnIndex,base - BIOS_SCRATCH_OFF ,pagesize);
/xsrc/external/mit/xorg-server/dist/hw/xfree86/int10/
H A Dgeneric.c292 int pagesize = getpagesize(); local in function:MapVRam
293 int size = ((VRAM_SIZE + pagesize - 1) / pagesize) * pagesize;
303 int pagesize = getpagesize(); local in function:UnmapVRam
304 int size = ((VRAM_SIZE + pagesize - 1) / pagesize) * pagesize;
338 int pagesize = getpagesize(); local in function:xf86Int10AllocPages
339 int num_pages = ALLOC_ENTRIES(pagesize);
366 int pagesize = getpagesize(); local in function:xf86Int10FreePages
[all...]
H A Dhelper_exec.c717 int pagesize = getpagesize(); local in function:SetResetBIOSVars
722 (pInt->dev, 0, pagesize, PCI_DEV_MAP_FLAG_WRITABLE, (void **) &base))
734 pci_device_unmap_legacy(pInt->dev, base, pagesize);
740 int pagesize = getpagesize(); local in function:xf86Int10SaveRestoreBIOSVars
749 (pInt->dev, 0, pagesize, PCI_DEV_MAP_FLAG_WRITABLE, (void **) &base))
767 pci_device_unmap_legacy(pInt->dev, base - BIOS_SCRATCH_OFF, pagesize);
/xsrc/external/mit/xedit/dist/lisp/
H A Dio.c51 extern int pagesize;
212 file->buffer = malloc(pagesize);
343 file->buffer, pagesize);
378 if (file->length + 1 >= pagesize)
419 char *tmp = realloc(string->string, string->space + pagesize);
424 string->space += pagesize;
570 if (size + file->length > pagesize) {
572 bytes = pagesize - file->length;
579 return (pagesize - file->length);
586 while (size > pagesize) {
[all...]
H A Dlisp.c171 int pagesize, gcpro; variable in typeref:typename:int
615 static int pagesize = -1; local in function:LispGetPageSize
617 if (pagesize != -1)
618 return pagesize;
623 pagesize = sysconf(_SC_PAGESIZE);
627 if (pagesize == -1)
628 pagesize = sysconf(_SC_PAGE_SIZE);
632 if (pagesize == -1)
633 pagesize = getpagesize();
637 if (pagesize
[all...]
H A Dxedit.c126 extern int pagesize;
311 result_string.string = XtMalloc(pagesize);
312 result_string.space = pagesize;
H A Dbytecode.c332 extern int pagesize;
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/linux/int10/
H A Dlinux.c88 int pagesize; local in function:xf86ExtendedInitInt10
154 pagesize = getpagesize();
158 (pointer)xnfcalloc(1, ALLOC_ENTRIES(pagesize));
410 int pagesize = getpagesize(); local in function:xf86Int10AllocPages
411 int num_pages = ALLOC_ENTRIES(pagesize);
431 *off = (i + 1) * pagesize;
433 return ((linuxInt10Priv*)pInt->private)->base + ((i + 1) * pagesize);
439 int pagesize = getpagesize(); local in function:xf86Int10FreePages
442 / pagesize) - 1;
/xsrc/external/mit/libXxf86dga/dist/src/
H A DXF86DGA.c423 int pagesize = -1; local in function:MapPhysAddress
433 pagesize = sysconf(_SC_PAGESIZE);
436 if (pagesize == -1)
437 pagesize = sysconf(_SC_PAGE_SIZE);
440 if (pagesize == -1)
441 pagesize = getpagesize();
444 if (pagesize == -1)
445 pagesize = PAGE_SIZE;
447 if (pagesize == -1)
448 pagesize
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/linux/int10/
H A Dlinux.c101 int pagesize; local in function:xf86ExtendedInitInt10
169 pagesize = getpagesize();
172 (void *) xnfcalloc(1, ALLOC_ENTRIES(pagesize));
428 int pagesize = getpagesize(); local in function:xf86Int10AllocPages
429 int num_pages = ALLOC_ENTRIES(pagesize);
449 *off = (i + 1) * pagesize;
451 return ((linuxInt10Priv *) pInt->private)->base + ((i + 1) * pagesize);
457 int pagesize = getpagesize(); local in function:xf86Int10FreePages
460 / pagesize) - 1;
/xsrc/external/mit/xorg-server.old/dist/Xext/
H A Dxf86bigfont.c94 static unsigned int pagesize; variable in typeref:typename:unsigned int
169 if (pagesize == 0)
186 size = (size + pagesize-1) & -pagesize;
740 pagesize = SHMLBA;
743 pagesize = sysconf(_SC_PAGESIZE);
745 pagesize = getpagesize();
/xsrc/external/mit/xorg-server/dist/Xext/
H A Dxf86bigfont.c86 static unsigned int pagesize; variable in typeref:typename:unsigned int
155 if (pagesize == 0)
172 size = (size + pagesize - 1) & -pagesize;
720 pagesize = SHMLBA;
723 pagesize = sysconf(_SC_PAGESIZE);
725 pagesize = getpagesize();
/xsrc/external/mit/libpciaccess/dist/src/
H A Dx86_pci.c253 int pagesize; local in function:pci_system_x86_map_dev_mem
270 pagesize = getpagesize();
271 if (mem_size % pagesize)
272 mem_size += pagesize - (mem_size % pagesize);
/xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
H A Dmsm_kgsl.h1521 * @pagesize: Pagesize alignment required
1527 uint64_t pagesize; member in struct:kgsl_sparse_phys_alloc
1549 * @pagesize: Pagesize alignment required
1556 uint64_t pagesize; member in struct:kgsl_sparse_virt_alloc
/xsrc/external/mit/freetype/dist/builds/unix/
H A Dconfigure13176 int i, pagesize;
13179 pagesize = getpagesize ();
13182 data = (char *) malloc (pagesize);
13185 for (i = 0; i < pagesize; ++i)
13191 if (write (fd, data, pagesize) != pagesize)
13203 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
13206 for (i = 0; i < pagesize; ++i)
13210 if (munmap (data2, pagesize))
13219 if (data2 != mmap (data2, pagesize, PROT_REA
[all...]
/xsrc/external/mit/libX11/dist/
H A Dconfigure23629 long i, pagesize;
23632 pagesize = getpagesize ();
23635 data = (char *) malloc (pagesize);
23638 for (i = 0; i < pagesize; ++i)
23644 if (write (fd, data, pagesize) != pagesize)
23656 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
23659 for (i = 0; i < pagesize; ++i)
23671 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
23674 for (i = 0; i < pagesize;
[all...]
/xsrc/external/mit/xterm/dist/
H A Daclocal.m44502 AC_MSG_CHECKING(for pagesize to use)

Completed in 124 milliseconds