Searched refs:SDL_malloc (Results 1 - 25 of 148) sorted by relevance

123456

/external/qemu/distrib/sdl-1.2.12/src/audio/
H A DSDL_audiomem.h24 #define SDL_AllocAudioMem SDL_malloc
/external/qemu/distrib/sdl-1.2.12/src/loadso/win32/
H A DSDL_sysloadso.c42 wchar_t *errbuf_t = SDL_malloc(512 * sizeof(wchar_t));
43 wchar_t *sofile_t = SDL_malloc((MAX_PATH+1) * sizeof(wchar_t));
93 wchar_t *name_t = SDL_malloc((length + 1) * sizeof(wchar_t));
94 wchar_t *errbuf_t = SDL_malloc(512 * sizeof(wchar_t));
/external/qemu/distrib/sdl-1.2.12/src/thread/pth/
H A DSDL_sysmutex.c41 mutex = (SDL_mutex *)SDL_malloc(sizeof(*mutex));
H A DSDL_syscond.c45 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond));
/external/qemu/distrib/sdl-1.2.12/src/thread/dc/
H A DSDL_sysmutex.c43 mutex = (SDL_mutex *)SDL_malloc(sizeof(*mutex));
/external/qemu/distrib/sdl-1.2.12/src/thread/os2/
H A DSDL_sysmutex.c44 mutex = (SDL_mutex *)SDL_malloc(sizeof(*mutex));
H A DSDL_systhread.c62 pThreadStartParms pThreadParms = SDL_malloc(sizeof(tThreadStartParms));
/external/qemu/distrib/sdl-1.2.12/src/thread/win32/
H A DSDL_sysmutex.c42 mutex = (SDL_mutex *)SDL_malloc(sizeof(*mutex));
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/
H A DSDL_nxmouse.c44 cursor = (WMcursor *) SDL_malloc (sizeof (WMcursor)) ;
H A DSDL_nxvideo.c85 device = (SDL_VideoDevice *) SDL_malloc (sizeof (SDL_VideoDevice)) ;
89 SDL_malloc ((sizeof * device -> hidden)) ;
217 SDL_modelist = (SDL_Rect **) SDL_malloc (sizeof (SDL_Rect *) * 2) ;
219 SDL_modelist [0] = (SDL_Rect *) SDL_malloc (sizeof(SDL_Rect)) ;
494 if (! GammaRamp_R) GammaRamp_R = (Uint16 *) SDL_malloc (sizeof (Uint16) * CI_SIZE) ;
495 if (! GammaRamp_G) GammaRamp_G = (Uint16 *) SDL_malloc (sizeof (Uint16) * CI_SIZE) ;
496 if (! GammaRamp_B) GammaRamp_B = (Uint16 *) SDL_malloc (sizeof (Uint16) * CI_SIZE) ;
/external/qemu/distrib/sdl-1.2.12/src/joystick/beos/
H A DSDL_bejoystick.cc103 SDL_malloc(sizeof(*joystick->hwdata));
128 SDL_malloc(joystick->naxes*sizeof(int16));
130 SDL_malloc(joystick->nhats*sizeof(uint8));
/external/qemu/distrib/sdl-1.2.12/src/thread/amigaos/
H A DSDL_thread.c83 threads=(SDL_Thread **)SDL_malloc((SDL_maxthreads+ARRAY_CHUNKSIZE)*
197 thread = (SDL_Thread *)SDL_malloc(sizeof(*thread));
206 args = (thread_args *)SDL_malloc(sizeof(*args));
H A DSDL_syssem.c43 sem = (SDL_sem *)SDL_malloc(sizeof(*sem));
/external/qemu/distrib/sdl-1.2.12/src/video/dummy/
H A DSDL_nullvideo.c90 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice));
94 SDL_malloc((sizeof *device->hidden));
168 this->hidden->buffer = SDL_malloc(width * height * (bpp / 8));
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/
H A DSDL_QuartzYUV.m137 yuv_matrix = (MatrixRecordPtr) SDL_malloc (sizeof(MatrixRecord));
237 overlay = (SDL_Overlay*) SDL_malloc (sizeof(*overlay));
270 pixels = (Uint8**) SDL_malloc (sizeof(*pixels) * 3);
271 pitches = (Uint16*) SDL_malloc (sizeof(*pitches) * 3);
280 SDL_malloc (sizeof(PlanarPixmapInfoYUV420) +
315 overlay->hwfuncs = SDL_malloc (sizeof(*overlay->hwfuncs));
/external/qemu/distrib/sdl-1.2.12/src/joystick/
H A DSDL_joystick.c52 SDL_joysticks = (SDL_Joystick **)SDL_malloc(arraylen);
114 joystick = (SDL_Joystick *)SDL_malloc((sizeof *joystick));
123 joystick->axes = (Sint16 *)SDL_malloc
127 joystick->hats = (Uint8 *)SDL_malloc
131 joystick->balls = (struct balldelta *)SDL_malloc
135 joystick->buttons = (Uint8 *)SDL_malloc
/external/qemu/distrib/sdl-1.2.12/src/audio/disk/
H A DSDL_diskaudio.c84 this = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice));
88 SDL_malloc((sizeof *this->hidden));
/external/qemu/distrib/sdl-1.2.12/src/audio/dummy/
H A DSDL_dummyaudio.c67 this = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice));
71 SDL_malloc((sizeof *this->hidden));
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
H A DSDL_sysmouse.cc60 cursor = (WMcursor *)SDL_malloc(sizeof(WMcursor));
65 cursor->bits = (char *)SDL_malloc(4+2*((allowed_x/8)*allowed_y));
/external/qemu/distrib/sdl-1.2.12/src/thread/beos/
H A DSDL_syssem.c40 sem = (SDL_sem *)SDL_malloc(sizeof(*sem));
/external/qemu/distrib/sdl-1.2.12/src/thread/generic/
H A DSDL_sysmutex.c42 mutex = (SDL_mutex *)SDL_malloc(sizeof(*mutex));
/external/qemu/distrib/sdl-1.2.12/src/thread/pthread/
H A DSDL_syssem.c45 SDL_sem *sem = (SDL_sem *) SDL_malloc(sizeof(SDL_sem));
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/
H A DSDL_sysmouse.c112 cursor = (WMcursor *)SDL_malloc(sizeof(*cursor));
134 cursor = (WMcursor *)SDL_malloc(sizeof(*cursor));
146 aptr = cursor->ands = (Uint8 *)SDL_malloc((run+pad)*allowed_y);
147 xptr = cursor->xors = (Uint8 *)SDL_malloc((run+pad)*allowed_y);
/external/qemu/distrib/sdl-1.2.12/src/audio/baudio/
H A DSDL_beaudio.cc64 device = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice));
68 SDL_malloc((sizeof *device->hidden));
/external/qemu/distrib/sdl-1.2.12/src/audio/dmedia/
H A DSDL_irixaudio.c72 this = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice));
76 SDL_malloc((sizeof *this->hidden));

Completed in 146 milliseconds

123456