Home
last modified time | relevance | path

Searched refs:memsize (Results 1 – 25 of 31) sorted by relevance

12

/external/quake/quake/src/QW/client/
Dsys_win.c636 parms.memsize = lpBuffer.dwAvailPhys; in WinMain()
638 if (parms.memsize < MINIMUM_WIN_MEMORY) in WinMain()
639 parms.memsize = MINIMUM_WIN_MEMORY; in WinMain()
641 if (parms.memsize < (lpBuffer.dwTotalPhys >> 1)) in WinMain()
642 parms.memsize = lpBuffer.dwTotalPhys >> 1; in WinMain()
644 if (parms.memsize > MAXIMUM_WIN_MEMORY) in WinMain()
645 parms.memsize = MAXIMUM_WIN_MEMORY; in WinMain()
652 parms.memsize = Q_atoi (com_argv[t]) * 1024; in WinMain()
655 parms.membase = malloc (parms.memsize); in WinMain()
Dsys_null.c125 parms.memsize = 5861376; in main()
126 parms.membase = malloc (parms.memsize); in main()
Dsys_linux.c369 parms.memsize = 16*1024*1024; in main()
373 parms.memsize = (int) (Q_atof(com_argv[j+1]) * 1024 * 1024); in main()
374 parms.membase = malloc (parms.memsize); in main()
Dsys_android.c386 parms.memsize = 16*1024*1024; in AndroidInit()
390 parms.memsize = (int) (Q_atof(com_argv[j+1]) * 1024 * 1024); in AndroidInit()
391 parms.membase = malloc (parms.memsize); in AndroidInit()
Dcl_main.c1426 parms->memsize = MINIMUM_MEMORY; in Host_Init()
1430 if (parms->memsize < MINIMUM_MEMORY) in Host_Init()
1431 …Sys_Error ("Only %4.1f megs of memory reported, can't execute game", parms->memsize / (float)0x100… in Host_Init()
1433 Memory_Init (parms->membase, parms->memsize); in Host_Init()
1452 Con_Printf ("%4.1f megs RAM used.\n",parms->memsize/ (1024*1024.0)); in Host_Init()
Dquakedef.h102 int memsize; member
/external/quake/quake/src/QW/server/
Dsys_win.c209 parms.memsize = 16*1024*1024; in main()
213 parms.memsize = Q_atoi (com_argv[t + 1]) * 1024; in main()
217 parms.memsize = Q_atoi (com_argv[t + 1]) * 1024 * 1024; in main()
219 parms.membase = malloc (parms.memsize); in main()
Dsys_unix.c230 parms.memsize = 16*1024*1024; in main()
234 parms.memsize = (int) (Q_atof(com_argv[j+1]) * 1024 * 1024); in main()
235 if ((parms.membase = malloc (parms.memsize)) == NULL) in main()
236 Sys_Error("Can't allocate %ld\n", parms.memsize); in main()
Dqwsvdef.h71 int memsize; member
Dsv_main.c1613 parms->memsize = MINIMUM_MEMORY; in SV_Init()
1617 if (parms->memsize < MINIMUM_MEMORY) in SV_Init()
1618 …SV_Error ("Only %4.1f megs of memory reported, can't execute game", parms->memsize / (float)0x1000… in SV_Init()
1620 Memory_Init (parms->membase, parms->memsize); in SV_Init()
1643 Con_Printf ("%4.1f megabyte heap\n",parms->memsize/ (1024*1024.0)); in SV_Init()
/external/quake/quake/src/WinQuake/
Dsys_win.cpp781 parms.memsize = lpBuffer.dwAvailPhys; in WinMain()
783 if (parms.memsize < MINIMUM_WIN_MEMORY) in WinMain()
784 parms.memsize = MINIMUM_WIN_MEMORY; in WinMain()
786 if (parms.memsize < (lpBuffer.dwTotalPhys >> 1)) in WinMain()
787 parms.memsize = lpBuffer.dwTotalPhys >> 1; in WinMain()
789 if (parms.memsize > MAXIMUM_WIN_MEMORY) in WinMain()
790 parms.memsize = MAXIMUM_WIN_MEMORY; in WinMain()
797 parms.memsize = Q_atoi (com_argv[t]) * 1024; in WinMain()
800 parms.membase = malloc (parms.memsize); in WinMain()
805 Sys_PageIn (parms.membase, parms.memsize); in WinMain()
Dsys_dos.cpp477 dos_unlockmem (quakeparms.membase, quakeparms.memsize); in Sys_Shutdown()
787 quakeparms.memsize = (int) (Q_atof(com_argv[j+1]) * 1024 * 1024); in Sys_GetMemory()
788 quakeparms.membase = malloc (quakeparms.memsize); in Sys_GetMemory()
792 quakeparms.membase = dos_getmaxlockedmem (&quakeparms.memsize); in Sys_GetMemory()
795 fprintf(stderr, "malloc'd: %d\n", quakeparms.memsize); in Sys_GetMemory()
801 if (tsize < quakeparms.memsize) in Sys_GetMemory()
802 quakeparms.memsize = tsize; in Sys_GetMemory()
Dsys_linux.cpp375 parms.memsize = 16*1024*1024; in main()
377 parms.memsize = 8*1024*1024; in main()
382 parms.memsize = (int) (Q_atof(com_argv[j+1]) * 1024 * 1024); in main()
383 parms.membase = malloc (parms.memsize); in main()
Dsys_null.cpp215 parms.memsize = 8*1024*1024; in main()
216 parms.membase = malloc (parms.memsize); in main()
Dhost.cpp846 parms->memsize = minimum_memory; in Host_Init()
850 if (parms->memsize < minimum_memory) in Host_Init()
851 …Sys_Error ("Only %4.1f megs of memory available, can't execute game", parms->memsize / (float)0x10… in Host_Init()
856 Memory_Init (parms->membase, parms->memsize); in Host_Init()
874 Con_Printf ("%4.1f megabyte heap\n",parms->memsize/ (1024*1024.0)); in Host_Init()
Dsys_wind.cpp279 parms.memsize = 16384*1024; in main()
280 parms.membase = malloc (parms.memsize); in main()
Dsys_android.cpp552 parms.memsize = 16*1024*1024; in AndroidInit2()
556 parms.memsize = (int) (Q_atof(com_argv[j+1]) * 1024 * 1024); in AndroidInit2()
557 parms.membase = malloc (parms.memsize); in AndroidInit2()
Dsys_sun.cpp321 parms.memsize = 16*1024*1024; in main()
322 parms.membase = malloc (parms.memsize); in main()
Dvid_vga.cpp269 if ((host_parms.memsize - tbuffersize + SURFCACHE_SIZE_AT_320X200 + in VGA_FreeAndAllocVidbuffer()
327 if ((host_parms.memsize - tbuffersize + SURFCACHE_SIZE_AT_320X200 + in VGA_CheckAdequateMem()
Dquakedef.h286 int memsize; member
Dsnd_dma.cpp196 if (host_parms.memsize < 0x800000) in S_Init()
/external/srec/portable/include/
Dpstdio.h51 int memsize; member
/external/bluetooth/glib/glib/
Dgslice.c183 gsize memsize);
184 static void allocator_memfree (gsize memsize,
1131 gsize memsize) in allocator_memalign() argument
1136 err = posix_memalign (&aligned_memory, alignment, memsize); in allocator_memalign()
1139 aligned_memory = memalign (alignment, memsize); in allocator_memalign()
1143 aligned_memory = valloc (memsize); in allocator_memalign()
1148 mem_assert (memsize <= sys_page_size); in allocator_memalign()
1172 allocator_memfree (gsize memsize, in allocator_memfree() argument
1178 mem_assert (memsize <= sys_page_size); in allocator_memfree()
/external/grub/netboot/
Dns8390.c43 char memsize; member
571 eth_memsize = brd->memsize; in eth_probe()
588 eth_memsize = brd->memsize; in eth_probe()
/external/qemu-pc-bios/bochs/bios/
Drombios32.c2364 smbios_init_type_16(void *start, uint32_t memsize, int nr_mem_devs) in smbios_init_type_16() argument
2375 p->maximum_capacity = memsize * 1024; in smbios_init_type_16()
2570 int memsize = (ram_end == ram_size) ? ram_size / (1024 * 1024) : in smbios_init() local
2601 nr_mem_devs = (memsize + 0x3fff) >> 14; in smbios_init()
2602 add_struct(16, p, memsize, nr_mem_devs); in smbios_init()
2606 ? (((memsize-1) & 0x3fff)+1) : 0x4000); in smbios_init()

12