Searched refs:SDL_calloc (Results 1 – 11 of 11) sorted by relevance
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
D | SDL_sysyuv.cc | 157 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/ |
D | SDL_phyuv.c | 82 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/ |
D | SDL_syscdrom.c | 64 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/ |
D | SDL_DirectFB_yuv.c | 157 overlay = SDL_calloc (1, sizeof(SDL_Overlay)); in DirectFB_CreateYUVOverlay() 173 hwdata = SDL_calloc(1, sizeof(struct private_yuvhwdata)); in DirectFB_CreateYUVOverlay()
|
D | SDL_DirectFB_video.c | 197 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/ |
D | SDL_sysmutex.c | 48 mutex = (SDL_mutex *)SDL_calloc(1, sizeof(*mutex)); in SDL_CreateMutex()
|
/external/qemu/distrib/sdl-1.2.12/src/thread/pthread/ |
D | SDL_sysmutex.c | 47 mutex = (SDL_mutex *)SDL_calloc(1, sizeof(*mutex)); in SDL_CreateMutex()
|
/external/qemu/distrib/sdl-1.2.12/include/ |
D | SDL_stdinc.h | 150 #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/ |
D | SDL_dlcompat.c | 397 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/ |
D | SDL_romaudio.c | 454 audio_buf[i] = SDL_calloc(1, sizeof(SndDoubleBuffer)+spec->size); in Mac_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/stdlib/ |
D | SDL_malloc.c | 615 #define calloc SDL_calloc
|