Home
last modified time | relevance | path

Searched refs:Q_malloc (Results 1 – 25 of 59) sorted by relevance

123

/dports/games/q2p/Q2P-0.2-2006-12-31/ref_gl/
H A Dgl_refl.c85 fragmentProgramText2 = (char *)Q_malloc(len + 1); in setupShaders()
177 buf = (unsigned char *)Q_malloc(REFL_TEXW * REFL_TEXH * 3); /* create empty buffer for texture */ in R_init_refl()
222 g_refl_X = (float *)Q_malloc(sizeof(float) * maxNoReflections); in R_setupArrays()
223 g_refl_Y = (float *)Q_malloc(sizeof(float) * maxNoReflections); in R_setupArrays()
224 g_refl_Z = (float *)Q_malloc(sizeof(float) * maxNoReflections); in R_setupArrays()
225 g_waterDistance = (float *)Q_malloc(sizeof(float) * maxNoReflections); in R_setupArrays()
226 g_waterDistance2 = (float *)Q_malloc(sizeof(float) * maxNoReflections); in R_setupArrays()
227 g_tex_num = (int *)Q_malloc(sizeof(int) * maxNoReflections); in R_setupArrays()
228 waterNormals = (vec3_t *) Q_malloc(sizeof(vec3_t) * maxNoReflections); in R_setupArrays()
761 playerEntity = (entity_t *) Q_malloc(sizeof(entity_t)); in drawPlayerReflection()
H A Dgl_rmisc.c67 noisebuf = Q_malloc(size*size*sizeof(int)); in fractalnoise()
259 data = Q_malloc( width * height * 4 ); in R_Bloom_InitBackUpTexture()
300 data = Q_malloc( BLOOM_SIZE * BLOOM_SIZE * 4 ); in R_Bloom_InitEffectTexture()
331 data = Q_malloc( size ); in R_Bloom_InitTextures()
346 data = Q_malloc( r_screendownsamplingtexture_size * r_screendownsamplingtexture_size * 4 ); in R_Bloom_InitTextures()
828 rgbdata = Q_malloc(vid.width * vid.height * 3); in GL_ScreenShot_JPG()
914 rgbdata = Q_malloc(vid.width * vid.height * 3); in GL_ScreenShot_JPG_Levelshots()
1027 buffer = Q_malloc(vid.width*vid.height*3 + 18); in GL_ScreenShot_f()
H A Dgl_image.c525 out = Q_malloc ( (pcx->ymax+1) * (pcx->xmax+1) ); in LoadPCX()
533 *palette = Q_malloc(768); in LoadPCX()
704 ColorMap = (byte *)Q_malloc( MAXCOLORS * 4 ); in LoadTGA()
767 *pic = (byte *)Q_malloc( size ); in LoadTGA()
976 rgbadata = Q_malloc(cinfo.output_width * cinfo.output_height * 4); in LoadJPG()
988 scanline = Q_malloc(cinfo.output_width * 3); in LoadJPG()
1077 my_png->Data = Q_malloc(my_png->Height * my_png->FRowBytes); /* DL Added 30/5/2000 */ in InitializeDemData()
1078 my_png->FRowPtrs = Q_malloc(sizeof(void *) * my_png->Height); in InitializeDemData()
1092 my_png = Q_malloc(sizeof(png_t)); in mypng_struct_create()
1566 scaled=Q_malloc((scaled_width * scaled_height) * 4); in GL_Upload32()
[all …]
/dports/games/mvdsv/mvdsv-0.34/src/
H A Dsv_mod_frags.c81 qwmsg[i] = (qwmsg_t *) Q_malloc (sizeof(qwmsg_t)); in sv_mod_msg_file_OnChange()
98 qwmsg[i]->str = (char *) Q_malloc (len); in sv_mod_msg_file_OnChange()
161 ret = (char *) Q_malloc (str_len); in parse_mod_string()
169 ret = (char *) Q_malloc (str_len); in parse_mod_string()
H A Dhash.c40 table = Q_malloc(sizeof(*table)); in Hash_InitTable()
240 bucket_t *buck = (bucket_t *) Q_malloc(sizeof(bucket_t)); in Hash_Add()
256 bucket_t *buck = (bucket_t *) Q_malloc(sizeof(bucket_t)); in Hash_AddInsensitive()
H A Dcmd.c286 text = (char *) Q_malloc (s+1); in Cmd_StuffCmds_f()
296 build = (char *) Q_malloc (s+1); in Cmd_StuffCmds_f()
445 a = (cmd_alias_t*) Q_malloc (sizeof(cmd_alias_t)); in Cmd_Alias_f()
H A Dfs.c394 search = (searchpath_t*)Q_malloc (sizeof(searchpath_t)); in FS_AddPathHandle()
950 else if (allocator == Q_malloc)
952 buf = Q_malloc (len + 1);
H A Dsv_demo_qtv.c64 dst = (mvddest_t *) Q_malloc (sizeof(mvddest_t)); in SV_InitStream()
69 dst->cache = (char *) Q_malloc(dst->maxcachesize); in SV_InitStream()
90 dst = (mvdpendingdest_t*) Q_malloc(sizeof(mvdpendingdest_t)); in SV_MVD_InitPendingStream()
816 newuser = Q_malloc(sizeof(*newuser)); // alloc in QTVsv_NewUser()
H A Dbothdefs.h254 void *Q_malloc (size_t size);
H A Dsv_windows.c296 HEdit1_buf = (char *) Q_malloc (HEdit1_size); in DialogFunc()
/dports/games/qwdtools/mvdsv-0.34/src/
H A Dsv_mod_frags.c81 qwmsg[i] = (qwmsg_t *) Q_malloc (sizeof(qwmsg_t)); in sv_mod_msg_file_OnChange()
98 qwmsg[i]->str = (char *) Q_malloc (len); in sv_mod_msg_file_OnChange()
161 ret = (char *) Q_malloc (str_len); in parse_mod_string()
169 ret = (char *) Q_malloc (str_len); in parse_mod_string()
H A Dhash.c40 table = Q_malloc(sizeof(*table)); in Hash_InitTable()
240 bucket_t *buck = (bucket_t *) Q_malloc(sizeof(bucket_t)); in Hash_Add()
256 bucket_t *buck = (bucket_t *) Q_malloc(sizeof(bucket_t)); in Hash_AddInsensitive()
H A Dfs.c394 search = (searchpath_t*)Q_malloc (sizeof(searchpath_t)); in FS_AddPathHandle()
950 else if (allocator == Q_malloc)
952 buf = Q_malloc (len + 1);
H A Dcmd.c286 text = (char *) Q_malloc (s+1); in Cmd_StuffCmds_f()
296 build = (char *) Q_malloc (s+1); in Cmd_StuffCmds_f()
445 a = (cmd_alias_t*) Q_malloc (sizeof(cmd_alias_t)); in Cmd_Alias_f()
H A Dsv_demo_qtv.c64 dst = (mvddest_t *) Q_malloc (sizeof(mvddest_t)); in SV_InitStream()
69 dst->cache = (char *) Q_malloc(dst->maxcachesize); in SV_InitStream()
90 dst = (mvdpendingdest_t*) Q_malloc(sizeof(mvdpendingdest_t)); in SV_MVD_InitPendingStream()
816 newuser = Q_malloc(sizeof(*newuser)); // alloc in QTVsv_NewUser()
H A Dbothdefs.h254 void *Q_malloc (size_t size);
H A Dsv_windows.c296 HEdit1_buf = (char *) Q_malloc (HEdit1_size); in DialogFunc()
/dports/games/qwdtools/mvdsv-0.34/tools/qwdtools/source/
H A Dtools.c882 p = (char*) Q_malloc (strlen(c_file.name)+1); in AddToFileList()
907 tmp = (char *) Q_malloc (strlen(file)+1); in AddToFileList()
913 filelist->list = (char **) Q_malloc (sizeof(char *)); in AddToFileList()
914 filelist->list[0] = (char *) Q_malloc (strlen(name)+1); in AddToFileList()
1102 buf = (byte *) Q_malloc (len+1); in LoadFile()
/dports/games/mvdsv/mvdsv-0.34/tools/qwdtools/source/
H A Dtools.c882 p = (char*) Q_malloc (strlen(c_file.name)+1); in AddToFileList()
907 tmp = (char *) Q_malloc (strlen(file)+1); in AddToFileList()
913 filelist->list = (char **) Q_malloc (sizeof(char *)); in AddToFileList()
914 filelist->list[0] = (char *) Q_malloc (strlen(name)+1); in AddToFileList()
1102 buf = (byte *) Q_malloc (len+1); in LoadFile()
/dports/games/q2p/Q2P-0.2-2006-12-31/client/
H A Dsnd_ogg.c276 ogg_filelist = Q_malloc(sizeof(char *) * ogg_numfiles); in OGG_LoadFileList()
327 ogg_filelist = Q_malloc(sizeof(char *) * ogg_numfiles); in OGG_LoadPlaylist()
/dports/games/q2p/Q2P-0.2-2006-12-31/win32/
H A Dsh_win.c49 membase = Q_malloc (maxsize); in Hunk_Begin()
/dports/games/q2p/Q2P-0.2-2006-12-31/qcommon/
H A Dcmd.c838 buf = (char**)Q_malloc(sizeofbuf + sizeof (char *)); in Cmd_CompleteBuildList()
907 buf = (char**)Q_malloc(sizeofbuf + sizeof (char *)); in Cmd_CompleteAliasBuildList()
H A Dfiles.c1526 list = Q_malloc( sizeof( char * ) * nfiles ); in FS_ListFiles()
1616 list = Q_malloc(sizeof(char *)); in FS_ListFiles2()
1675 tmplist = Q_malloc(nfiles * sizeof(char *)); in FS_ListFiles2()
1905 list = Q_malloc( sizeof( char * ) * nfiles ); in FS_ListPak()
/dports/games/q2p/Q2P-0.2-2006-12-31/unix/
H A Dsnd_alsa.c190 si->dma->buffer = Q_malloc(buffer_bytes); /* allocate pcm frame buffer */ in SNDDMA_Init()
H A Dcd_linux.c169 track_bools = (byte *) Q_malloc(maxTrack * sizeof(byte)); in CDAudio_RandomPlay()

123