/external/quake/quake/src/QW/client/ |
D | sys_win.c | 636 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()
|
D | sys_null.c | 125 parms.memsize = 5861376; in main() 126 parms.membase = malloc (parms.memsize); in main()
|
D | sys_linux.c | 369 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()
|
D | sys_android.c | 386 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()
|
D | cl_main.c | 1426 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()
|
D | quakedef.h | 102 int memsize; member
|
/external/quake/quake/src/QW/server/ |
D | sys_win.c | 209 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()
|
D | sys_unix.c | 230 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()
|
D | qwsvdef.h | 71 int memsize; member
|
D | sv_main.c | 1613 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/ |
D | sys_win.cpp | 781 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()
|
D | sys_dos.cpp | 477 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()
|
D | sys_linux.cpp | 375 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()
|
D | sys_null.cpp | 215 parms.memsize = 8*1024*1024; in main() 216 parms.membase = malloc (parms.memsize); in main()
|
D | host.cpp | 846 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()
|
D | sys_wind.cpp | 279 parms.memsize = 16384*1024; in main() 280 parms.membase = malloc (parms.memsize); in main()
|
D | sys_android.cpp | 552 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()
|
D | sys_sun.cpp | 321 parms.memsize = 16*1024*1024; in main() 322 parms.membase = malloc (parms.memsize); in main()
|
D | vid_vga.cpp | 269 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()
|
D | quakedef.h | 286 int memsize; member
|
D | snd_dma.cpp | 196 if (host_parms.memsize < 0x800000) in S_Init()
|
/external/srec/portable/include/ |
D | pstdio.h | 51 int memsize; member
|
/external/bluetooth/glib/glib/ |
D | gslice.c | 183 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/ |
D | ns8390.c | 43 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/ |
D | rombios32.c | 2364 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()
|