Home
last modified time | relevance | path

Searched refs:memsize (Results 1 – 25 of 29) 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
Dsnd_dma.c199 if (host_parms.memsize < 0x800000) in S_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()
Dhost.cpp844 parms->memsize = minimum_memory; in Host_Init()
848 if (parms->memsize < minimum_memory) in Host_Init()
849 …Sys_Error ("Only %4.1f megs of memory available, can't execute game", parms->memsize / (float)0x10… in Host_Init()
854 Memory_Init (parms->membase, parms->memsize); in Host_Init()
872 Con_Printf ("%4.1f megabyte heap\n",parms->memsize/ (1024*1024.0)); in Host_Init()
Dsys_null.cpp215 parms.memsize = 8*1024*1024; in main()
216 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_wind.cpp279 parms.memsize = 16384*1024; in main()
280 parms.membase = malloc (parms.memsize); in main()
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/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/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/srec/portable/include/
Dpstdio.h51 int memsize; member
/external/grub/netboot/
Dns8390.c43 char memsize; member
571 eth_memsize = brd->memsize; in eth_probe()
588 eth_memsize = brd->memsize; in eth_probe()

12