/external/qemu/distrib/sdl-1.2.15/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.15/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.15/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.15/src/joystick/ |
D | SDL_joystick.c | 53 SDL_joysticks = (SDL_Joystick **)SDL_malloc(arraylen); in SDL_JoystickInit() 115 joystick = (SDL_Joystick *)SDL_malloc((sizeof *joystick)); in SDL_JoystickOpen() 129 joystick->axes = (Sint16 *)SDL_malloc in SDL_JoystickOpen() 133 joystick->hats = (Uint8 *)SDL_malloc in SDL_JoystickOpen() 137 joystick->balls = (struct balldelta *)SDL_malloc in SDL_JoystickOpen() 141 joystick->buttons = (Uint8 *)SDL_malloc in SDL_JoystickOpen()
|
/external/qemu/distrib/sdl-1.2.15/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.15/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.15/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.15/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.15/src/audio/macosx/ |
D | SDL_coreaudio.c | 63 this = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice)); in Audio_CreateDevice() 67 SDL_malloc((sizeof *this->hidden)); in Audio_CreateDevice() 282 buffer = SDL_malloc(bufferSize); in Core_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
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()
|
D | SDL_x11yuv.c | 298 overlay = (SDL_Overlay *)SDL_malloc(sizeof *overlay); in X11_CreateYUVOverlay() 316 hwdata = (struct private_yuvhwdata *)SDL_malloc(sizeof *hwdata); in X11_CreateYUVOverlay() 388 hwdata->image->data = SDL_malloc(hwdata->image->data_size); in X11_CreateYUVOverlay() 398 overlay->pitches = (Uint16 *)SDL_malloc(overlay->planes * sizeof(Uint16)); in X11_CreateYUVOverlay() 399 overlay->pixels = (Uint8 **)SDL_malloc(overlay->planes * sizeof(Uint8 *)); in X11_CreateYUVOverlay()
|
D | SDL_x11modes.c | 575 SDL_modelist = (SDL_Rect **)SDL_malloc(3*sizeof(SDL_Rect *)); in X11_GetVideoModes() 586 SDL_modelist[n] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in X11_GetVideoModes() 597 SDL_modelist[n] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in X11_GetVideoModes() 687 SDL_modelist = (SDL_Rect **)SDL_malloc((nmodes+2)*sizeof(SDL_Rect *)); in X11_GetVideoModes() 709 SDL_modelist[n] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in X11_GetVideoModes() 723 SDL_modelist[n] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in X11_GetVideoModes() 764 SDL_modelist = (SDL_Rect **)SDL_malloc((nummodes+1)*sizeof(SDL_Rect *)); in X11_GetVideoModes() 771 (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect))) == NULL) in X11_GetVideoModes() 843 SDL_modelist = (SDL_Rect **)SDL_malloc((1+1)*sizeof(SDL_Rect *)); in X11_GetVideoModes() 849 SDL_modelist[n] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in X11_GetVideoModes()
|
/external/qemu/distrib/sdl-1.2.15/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() 452 map = (Uint8 *)SDL_malloc(src->ncolors); in Map1to1() 473 map = (Uint8 *)SDL_malloc(pal->ncolors*bpp); in Map1toN() 511 map = (SDL_BlitMap *)SDL_malloc(sizeof(*map)); in SDL_AllocBlitMap() 519 map->sw_data = (struct private_swaccel *)SDL_malloc(sizeof(*map->sw_data)); in SDL_AllocBlitMap()
|
/external/qemu/distrib/sdl-1.2.15/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.15/src/video/xbios/ |
D | SDL_xbios.c | 207 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in XBIOS_CreateDevice() 211 SDL_malloc((sizeof *device->hidden)); in XBIOS_CreateDevice() 213 SDL_malloc((sizeof *device->gl_data)); in XBIOS_CreateDevice() 380 XBIOS_oldpalette = (void *)SDL_malloc(256*sizeof(long)); in XBIOS_VideoInit() 525 SDL_malloc((SDL_nummodes[i]+1)*sizeof(xbiosmode_t *)); in XBIOS_VideoInit() 531 SDL_xbiosmode[i][j]=(xbiosmode_t *)SDL_malloc(sizeof(xbiosmode_t)); in XBIOS_VideoInit() 541 SDL_malloc((SDL_nummodes[i]+1)*sizeof(SDL_Rect *)); in XBIOS_VideoInit() 547 SDL_modelist[i][j]=(SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in XBIOS_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/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.15/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.15/src/video/gem/ |
D | SDL_gemmouse.c | 84 cursor = (WMcursor *)SDL_malloc(sizeof(WMcursor)); in GEM_CreateWMCursor() 91 new_mform = (MFORM *)SDL_malloc(sizeof(MFORM)); in GEM_CreateWMCursor()
|
/external/qemu/distrib/sdl-1.2.15/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.15/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.15/src/audio/ |
D | SDL_audiomem.h | 24 #define SDL_AllocAudioMem SDL_malloc
|
/external/qemu/distrib/sdl-1.2.15/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.15/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()
|
/external/qemu/distrib/sdl-1.2.15/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.15/src/audio/baudio/ |
D | SDL_beaudio.cc | 64 device = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice)); in Audio_CreateDevice() 68 SDL_malloc((sizeof *device->hidden)); in Audio_CreateDevice()
|