Home
last modified time | relevance | path

Searched refs:SDL_calloc (Results 1 – 11 of 11) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
DSDL_sysyuv.cc157 overlay = (SDL_Overlay*)SDL_calloc(1, sizeof(SDL_Overlay)); in BE_CreateYUVOverlay()
175 hwdata = (struct private_yuvhwdata*)SDL_calloc(1, sizeof(struct private_yuvhwdata)); in BE_CreateYUVOverlay()
214 overlay->pitches = (Uint16*)SDL_calloc(overlay->planes, sizeof(Uint16)); in BE_CreateYUVOverlay()
215 overlay->pixels = (Uint8**)SDL_calloc(overlay->planes, sizeof(Uint8*)); in BE_CreateYUVOverlay()
/external/qemu/distrib/sdl-1.2.12/src/video/photon/
DSDL_phyuv.c82 overlay = SDL_calloc(1, sizeof(SDL_Overlay)); in ph_CreateYUVOverlay()
100 hwdata = SDL_calloc(1, sizeof(struct private_yuvhwdata)); in ph_CreateYUVOverlay()
133 overlay->hwdata->FrameData0 = (FRAMEDATA *) SDL_calloc(1, sizeof(FRAMEDATA)); in ph_CreateYUVOverlay()
134 overlay->hwdata->FrameData1 = (FRAMEDATA *) SDL_calloc(1, sizeof(FRAMEDATA)); in ph_CreateYUVOverlay()
247 overlay->pitches = SDL_calloc(overlay->planes, sizeof(Uint16)); in ph_CreateYUVOverlay()
248 overlay->pixels = SDL_calloc(overlay->planes, sizeof(Uint8*)); in ph_CreateYUVOverlay()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/macosx/
DSDL_syscdrom.c64 tracks[cdrom->id] = (FSRef*) SDL_calloc (1, sizeof(**tracks) * cdrom->numtracks); in LoadTracks()
209 volumes = (FSVolumeRefNum*) SDL_calloc (1, sizeof(*volumes) * SDL_numcds); in SDL_SYS_CDInit()
216 tracks = (FSRef**) SDL_calloc (1, sizeof(*tracks) * (SDL_numcds + 1)); in SDL_SYS_CDInit()
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/
DSDL_DirectFB_yuv.c157 overlay = SDL_calloc (1, sizeof(SDL_Overlay)); in DirectFB_CreateYUVOverlay()
173 hwdata = SDL_calloc(1, sizeof(struct private_yuvhwdata)); in DirectFB_CreateYUVOverlay()
DSDL_DirectFB_video.c197 enumrect = SDL_calloc(1, sizeof(struct DirectFBEnumRect)); in EnumModesCallback()
296 palette = SDL_calloc (1, sizeof(SDL_Palette)); in AllocatePalette()
303 colors = SDL_calloc (size, sizeof(SDL_Color)); in AllocatePalette()
434 HIDDEN->modelist = SDL_calloc (HIDDEN->nummodes + 1, sizeof(SDL_Rect *)); in DirectFB_VideoInit()
618 current->hwdata = (struct private_hwdata *) SDL_calloc (1, sizeof(*current->hwdata)); in DirectFB_SetVideoMode()
825 surface->hwdata = (struct private_hwdata *) SDL_calloc (1, sizeof(*surface->hwdata)); in DirectFB_AllocHWSurface()
/external/qemu/distrib/sdl-1.2.12/src/thread/riscos/
DSDL_sysmutex.c48 mutex = (SDL_mutex *)SDL_calloc(1, sizeof(*mutex)); in SDL_CreateMutex()
/external/qemu/distrib/sdl-1.2.12/src/thread/pthread/
DSDL_sysmutex.c47 mutex = (SDL_mutex *)SDL_calloc(1, sizeof(*mutex)); in SDL_CreateMutex()
/external/qemu/distrib/sdl-1.2.12/include/
DSDL_stdinc.h150 #define SDL_calloc calloc macro
152 extern DECLSPEC void * SDLCALL SDL_calloc(size_t nmemb, size_t size);
/external/qemu/distrib/sdl-1.2.12/src/loadso/macosx/
DSDL_dlcompat.c397 path = (char **)SDL_calloc(MAX_SEARCH_PATHS, sizeof(char **)); in getSearchPath()
404 tmp = (char **)SDL_calloc((MAX_SEARCH_PATHS + numsize), sizeof(char **)); in getSearchPath()
522 dls = SDL_calloc(sizeof(*dls),1); in allocStatus()
/external/qemu/distrib/sdl-1.2.12/src/audio/macrom/
DSDL_romaudio.c454 audio_buf[i] = SDL_calloc(1, sizeof(SndDoubleBuffer)+spec->size); in Mac_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/stdlib/
DSDL_malloc.c615 #define calloc SDL_calloc