/external/qemu/distrib/sdl-1.2.12/src/loadso/win32/ |
D | SDL_sysloadso.c | 42 wchar_t *errbuf_t = SDL_malloc(512 * sizeof(wchar_t)); in SDL_LoadObject() 43 wchar_t *sofile_t = SDL_malloc((MAX_PATH+1) * sizeof(wchar_t)); in SDL_LoadObject() 93 wchar_t *name_t = SDL_malloc((length + 1) * sizeof(wchar_t)); in SDL_LoadFunction() 94 wchar_t *errbuf_t = SDL_malloc(512 * sizeof(wchar_t)); in SDL_LoadFunction()
|
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/ |
D | SDL_sysmouse.c | 112 cursor = (WMcursor *)SDL_malloc(sizeof(*cursor)); in WIN_CreateWMCursor() 134 cursor = (WMcursor *)SDL_malloc(sizeof(*cursor)); in WIN_CreateWMCursor() 146 aptr = cursor->ands = (Uint8 *)SDL_malloc((run+pad)*allowed_y); in WIN_CreateWMCursor() 147 xptr = cursor->xors = (Uint8 *)SDL_malloc((run+pad)*allowed_y); in WIN_CreateWMCursor()
|
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/ |
D | SDL_nxvideo.c | 85 device = (SDL_VideoDevice *) SDL_malloc (sizeof (SDL_VideoDevice)) ; in NX_CreateDevice() 89 SDL_malloc ((sizeof * device -> hidden)) ; in NX_CreateDevice() 217 SDL_modelist = (SDL_Rect **) SDL_malloc (sizeof (SDL_Rect *) * 2) ; in NX_VideoInit() 219 SDL_modelist [0] = (SDL_Rect *) SDL_malloc (sizeof(SDL_Rect)) ; in NX_VideoInit() 494 if (! GammaRamp_R) GammaRamp_R = (Uint16 *) SDL_malloc (sizeof (Uint16) * CI_SIZE) ; in NX_SetGammaRamp() 495 if (! GammaRamp_G) GammaRamp_G = (Uint16 *) SDL_malloc (sizeof (Uint16) * CI_SIZE) ; in NX_SetGammaRamp() 496 if (! GammaRamp_B) GammaRamp_B = (Uint16 *) SDL_malloc (sizeof (Uint16) * CI_SIZE) ; in NX_SetGammaRamp()
|
/external/qemu/distrib/sdl-1.2.12/src/joystick/ |
D | SDL_joystick.c | 52 SDL_joysticks = (SDL_Joystick **)SDL_malloc(arraylen); in SDL_JoystickInit() 114 joystick = (SDL_Joystick *)SDL_malloc((sizeof *joystick)); in SDL_JoystickOpen() 123 joystick->axes = (Sint16 *)SDL_malloc in SDL_JoystickOpen() 127 joystick->hats = (Uint8 *)SDL_malloc in SDL_JoystickOpen() 131 joystick->balls = (struct balldelta *)SDL_malloc in SDL_JoystickOpen() 135 joystick->buttons = (Uint8 *)SDL_malloc in SDL_JoystickOpen()
|
/external/qemu/distrib/sdl-1.2.12/src/thread/amigaos/ |
D | SDL_thread.c | 83 threads=(SDL_Thread **)SDL_malloc((SDL_maxthreads+ARRAY_CHUNKSIZE)* in SDL_AddThread() 197 thread = (SDL_Thread *)SDL_malloc(sizeof(*thread)); in SDL_CreateThread() 206 args = (thread_args *)SDL_malloc(sizeof(*args)); in SDL_CreateThread()
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
D | SDL_x11yuv.c | 222 overlay = (SDL_Overlay *)SDL_malloc(sizeof *overlay); in X11_CreateYUVOverlay() 240 hwdata = (struct private_yuvhwdata *)SDL_malloc(sizeof *hwdata); in X11_CreateYUVOverlay() 312 hwdata->image->data = SDL_malloc(hwdata->image->data_size); in X11_CreateYUVOverlay() 322 overlay->pitches = (Uint16 *)SDL_malloc(overlay->planes * sizeof(Uint16)); in X11_CreateYUVOverlay() 323 overlay->pixels = (Uint8 **)SDL_malloc(overlay->planes * sizeof(Uint8 *)); in X11_CreateYUVOverlay()
|
D | SDL_x11modes.c | 540 SDL_modelist = (SDL_Rect **)SDL_malloc(3*sizeof(SDL_Rect *)); in X11_GetVideoModes() 551 SDL_modelist[n] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in X11_GetVideoModes() 562 SDL_modelist[n] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in X11_GetVideoModes() 652 SDL_modelist = (SDL_Rect **)SDL_malloc((nmodes+2)*sizeof(SDL_Rect *)); in X11_GetVideoModes() 674 SDL_modelist[n] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in X11_GetVideoModes() 688 SDL_modelist[n] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in X11_GetVideoModes() 729 SDL_modelist = (SDL_Rect **)SDL_malloc((nummodes+1)*sizeof(SDL_Rect *)); in X11_GetVideoModes() 736 (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect))) == NULL) in X11_GetVideoModes() 807 SDL_modelist = (SDL_Rect **)SDL_malloc((1+1)*sizeof(SDL_Rect *)); in X11_GetVideoModes() 813 SDL_modelist[n] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in X11_GetVideoModes()
|
D | SDL_x11mouse.c | 65 cursor = (WMcursor *)SDL_malloc(sizeof(WMcursor)); in X11_CreateWMCursor() 73 x_data = (char *)SDL_malloc(clen); in X11_CreateWMCursor() 79 x_mask = (char *)SDL_malloc(clen); in X11_CreateWMCursor()
|
/external/qemu/distrib/sdl-1.2.12/src/joystick/beos/ |
D | SDL_bejoystick.cc | 103 SDL_malloc(sizeof(*joystick->hwdata)); in SDL_SYS_JoystickOpen() 128 SDL_malloc(joystick->naxes*sizeof(int16)); in SDL_SYS_JoystickOpen() 130 SDL_malloc(joystick->nhats*sizeof(uint8)); in SDL_SYS_JoystickOpen()
|
/external/qemu/distrib/sdl-1.2.12/src/video/dummy/ |
D | SDL_nullvideo.c | 90 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in DUMMY_CreateDevice() 94 SDL_malloc((sizeof *device->hidden)); in DUMMY_CreateDevice() 168 this->hidden->buffer = SDL_malloc(width * height * (bpp / 8)); in DUMMY_SetVideoMode()
|
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/ |
D | SDL_QuartzYUV.m | 137 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/audio/macosx/ |
D | SDL_coreaudio.c | 58 this = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice)); in Audio_CreateDevice() 62 SDL_malloc((sizeof *this->hidden)); in Audio_CreateDevice() 268 buffer = SDL_malloc(bufferSize); in Core_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/video/svga/ |
D | SDL_svgavideo.c | 112 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in SVGA_CreateDevice() 116 SDL_malloc((sizeof *device->hidden)); in SVGA_CreateDevice() 282 SDL_vgamode[i] = (int *)SDL_malloc(SDL_nummodes[i]*sizeof(int)); in SVGA_VideoInit() 288 SDL_malloc((SDL_nummodes[i]+1)*sizeof(SDL_Rect *)); in SVGA_VideoInit() 294 SDL_modelist[i][j]=(SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in SVGA_VideoInit() 402 current->pixels = SDL_malloc(current->h * current->pitch); in SVGA_SetVideoMode()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dummy/ |
D | SDL_dummyaudio.c | 67 this = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice)); in DUMMYAUD_CreateDevice() 71 SDL_malloc((sizeof *this->hidden)); in DUMMYAUD_CreateDevice()
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
D | SDL_pixels.c | 44 format = SDL_malloc(sizeof(*format)); in SDL_AllocFormat() 126 format->palette = (SDL_Palette *)SDL_malloc(sizeof(SDL_Palette)); in SDL_AllocFormat() 133 (format->palette)->colors = (SDL_Color *)SDL_malloc( in SDL_AllocFormat() 451 map = (Uint8 *)SDL_malloc(src->ncolors); in Map1to1() 472 map = (Uint8 *)SDL_malloc(pal->ncolors*bpp); in Map1toN() 510 map = (SDL_BlitMap *)SDL_malloc(sizeof(*map)); in SDL_AllocBlitMap() 518 map->sw_data = (struct private_swaccel *)SDL_malloc(sizeof(*map->sw_data)); in SDL_AllocBlitMap()
|
/external/qemu/distrib/sdl-1.2.12/src/video/aalib/ |
D | SDL_aavideo.c | 78 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in AA_CreateDevice() 82 SDL_malloc((sizeof *device->hidden)); in AA_CreateDevice() 137 SDL_modelist[i] = SDL_malloc(sizeof(SDL_Rect)); in AA_VideoInit() 254 AA_buffer = SDL_malloc(width * height); in AA_SetVideoMode()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/windib/ |
D | SDL_dibaudio.c | 70 this = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice)); in Audio_CreateDevice() 74 SDL_malloc((sizeof *this->hidden)); in Audio_CreateDevice() 322 mixbuf = (Uint8 *)SDL_malloc(NUM_BUFFERS*spec->size); in DIB_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
D | SDL_sysmouse.cc | 60 cursor = (WMcursor *)SDL_malloc(sizeof(WMcursor)); in BE_CreateWMCursor() 65 cursor->bits = (char *)SDL_malloc(4+2*((allowed_x/8)*allowed_y)); in BE_CreateWMCursor()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/disk/ |
D | SDL_diskaudio.c | 84 this = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice)); in DISKAUD_CreateDevice() 88 SDL_malloc((sizeof *this->hidden)); in DISKAUD_CreateDevice()
|
/external/qemu/distrib/sdl-1.2.12/src/video/gem/ |
D | SDL_gemmouse.c | 83 cursor = (WMcursor *)SDL_malloc(sizeof(WMcursor)); in GEM_CreateWMCursor() 90 new_mform = (MFORM *)SDL_malloc(sizeof(MFORM)); in GEM_CreateWMCursor()
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
D | SDL_cgxmodes.c | 140 SDL_modelist[nmodes-1] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in CGX_GetVideoModes() 173 SDL_modelist = (SDL_Rect **)SDL_malloc((1+1)*sizeof(SDL_Rect *)); in CGX_GetVideoModes() 176 SDL_modelist[i] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in CGX_GetVideoModes()
|
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
D | SDL_dx5yuv.c | 135 codes = SDL_malloc(numcodes*sizeof(*codes)); in DX5_CreateYUVOverlay() 149 overlay = (SDL_Overlay *)SDL_malloc(sizeof *overlay); in DX5_CreateYUVOverlay() 165 hwdata = (struct private_yuvhwdata *)SDL_malloc(sizeof *hwdata); in DX5_CreateYUVOverlay()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/sun/ |
D | SDL_sunaudio.c | 86 this = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice)); in Audio_CreateDevice() 90 SDL_malloc((sizeof *this->hidden)); in Audio_CreateDevice() 350 ulaw_buf = (Uint8 *)SDL_malloc(fragsize); in DSP_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/macrom/ |
D | SDL_romaudio.c | 74 this = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice)); in Audio_CreateDevice() 78 SDL_malloc((sizeof *this->hidden)); in Audio_CreateDevice() 266 channel = (SndChannelPtr)SDL_malloc(sizeof(*channel)); in Mac_OpenAudio() 466 channel = (SndChannelPtr)SDL_malloc(sizeof(*channel)); in Mac_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dart/ |
D | SDL_dart.c | 183 _this->hidden->pMixBuffers = (MCI_MIX_BUFFER *) SDL_malloc(sizeof(MCI_MIX_BUFFER)*iNumBufs); in DART_OpenAudio() 213 pMixBufferDesc pBufferDesc = (pMixBufferDesc) SDL_malloc(sizeof(tMixBufferDesc));; in DART_OpenAudio() 407 this = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice)); in Audio_CreateDevice() 412 SDL_malloc((sizeof *this->hidden)); in Audio_CreateDevice()
|