Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/third_party/externals/sdl/src/video/emscripten/
DSDL_emscriptenmouse.c42 cursor = SDL_calloc(1, sizeof(SDL_Cursor)); in Emscripten_CreateDefaultCursor()
44 curdata = (Emscripten_CursorData *) SDL_calloc(1, sizeof(*curdata)); in Emscripten_CreateDefaultCursor()
117 cursor = (SDL_Cursor *) SDL_calloc(1, sizeof(*cursor)); in Emscripten_CreateSystemCursor()
122 curdata = (Emscripten_CursorData *) SDL_calloc(1, sizeof(*curdata)); in Emscripten_CreateSystemCursor()
DSDL_emscriptenvideo.c74 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in Emscripten_CreateDevice()
194 wdata = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData)); in Emscripten_CreateWindow()
DSDL_emscriptenopengles.c38 _this->egl_data = (struct SDL_EGL_VideoData *) SDL_calloc(1, sizeof(SDL_EGL_VideoData)); in Emscripten_GLES_LoadLibrary()
/third_party/flutter/skia/third_party/externals/sdl/src/video/psp/
DSDL_pspvideo.c77 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in PSP_Create()
84 phdata = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData)); in PSP_Create()
91 gldata = (SDL_GLDriverData *) SDL_calloc(1, sizeof(SDL_GLDriverData)); in PSP_Create()
222 wdata = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData)); in PSP_CreateWindow()
/third_party/flutter/skia/third_party/externals/sdl/src/video/raspberry/
DSDL_rpivideo.c76 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in RPI_Create()
83 phdata = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData)); in RPI_Create()
174 data = (SDL_DisplayData *) SDL_calloc(1, sizeof(SDL_DisplayData)); in RPI_VideoInit()
234 wdata = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData)); in RPI_CreateWindow()
DSDL_rpimouse.c73 cursor = (SDL_Cursor *) SDL_calloc(1, sizeof(*cursor)); in RPI_CreateCursor()
78 curdata = (RPI_CursorData *) SDL_calloc(1, sizeof(*curdata)); in RPI_CreateCursor()
/third_party/flutter/skia/third_party/externals/sdl/src/video/vivante/
DSDL_vivantevideo.c64 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in VIVANTE_Create()
71 data = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData)); in VIVANTE_Create()
136 data = (SDL_DisplayData *) SDL_calloc(1, sizeof(SDL_DisplayData)); in VIVANTE_AddVideoDisplays()
267 data = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData)); in VIVANTE_CreateWindow()
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11mouse.c78 cursor = SDL_calloc(1, sizeof(*cursor)); in X11_CreateDefaultCursor()
131 data_bits = SDL_calloc(1, surface->h * width_bytes); in X11_CreatePixmapCursor()
137 mask_bits = SDL_calloc(1, surface->h * width_bytes); in X11_CreatePixmapCursor()
208 cursor = SDL_calloc(1, sizeof(*cursor)); in X11_CreateCursor()
255 cursor = SDL_calloc(1, sizeof(*cursor)); in X11_CreateSystemCursor()
DSDL_x11modes.c451 displaydata = (SDL_DisplayData *) SDL_calloc(1, sizeof(*displaydata)); in X11_InitModes_XRandR()
456 modedata = (SDL_DisplayModeData *) SDL_calloc(1, sizeof(SDL_DisplayModeData)); in X11_InitModes_XRandR()
693 displaydata = (SDL_DisplayData *) SDL_calloc(1, sizeof(*displaydata)); in X11_InitModes()
719 modedata = (SDL_DisplayModeData *) SDL_calloc(1, sizeof(SDL_DisplayModeData)); in X11_InitModes()
854 modedata = (SDL_DisplayModeData *) SDL_calloc(1, sizeof(SDL_DisplayModeData)); in X11_GetDisplayModes()
870 modedata = (SDL_DisplayModeData *) SDL_calloc(1, sizeof(SDL_DisplayModeData)); in X11_GetDisplayModes()
896 modedata = (SDL_DisplayModeData *) SDL_calloc(1, sizeof(SDL_DisplayModeData)); in X11_GetDisplayModes()
930 modedata = (SDL_DisplayModeData *) SDL_calloc(1, sizeof(SDL_DisplayModeData)); in X11_GetDisplayModes()
949 modedata = (SDL_DisplayModeData *) SDL_calloc(1, sizeof(SDL_DisplayModeData)); in X11_GetDisplayModes()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/darwin/
DSDL_sysjoystick.c212 element = (recElement *) SDL_calloc(1, sizeof (recElement)); in AddHIDElement()
222 element = (recElement *) SDL_calloc(1, sizeof (recElement)); in AddHIDElement()
237 element = (recElement *) SDL_calloc(1, sizeof (recElement)); in AddHIDElement()
252 element = (recElement *) SDL_calloc(1, sizeof (recElement)); in AddHIDElement()
268 element = (recElement *) SDL_calloc(1, sizeof (recElement)); in AddHIDElement()
419 device = (recDevice *) SDL_calloc(1, sizeof(recDevice)); in JoystickDeviceWasAddedCallback()
/third_party/flutter/skia/third_party/externals/sdl/src/video/haiku/
DSDL_bmodes.cc201 SDL_DisplayModeData *data = (SDL_DisplayModeData*)SDL_calloc(1, in _BDisplayModeToSdlDisplayMode()
220 SDL_DisplayMode *mode = (SDL_DisplayMode*)SDL_calloc(1, in _AddDisplay()
222 display_mode *bmode = (display_mode*)SDL_calloc(1, sizeof(display_mode)); in _AddDisplay()
DSDL_bclipboard.cc74 result = (char*)SDL_calloc(1, sizeof(char*)*length); in BE_GetClipboardText()
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsmouse.c77 cursor = SDL_calloc(1, sizeof(*cursor)); in WIN_CreateDefaultCursor()
148 cursor = SDL_calloc(1, sizeof(*cursor)); in WIN_CreateCursor()
184 cursor = SDL_calloc(1, sizeof(*cursor)); in WIN_CreateSystemCursor()
DSDL_windowsvideo.c98 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in WIN_CreateDevice()
100 data = (struct SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData)); in WIN_CreateDevice()
/third_party/flutter/skia/third_party/externals/sdl/src/video/android/
DSDL_androidvideo.c101 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in Android_CreateDevice()
107 data = (SDL_VideoData*) SDL_calloc(1, sizeof(SDL_VideoData)); in Android_CreateDevice()
DSDL_androidwindow.c61 data = (SDL_WindowData *) SDL_calloc(1, sizeof(*data)); in Android_CreateWindow()
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_evdev.c220 _this = (SDL_EVDEV_PrivateData*)SDL_calloc(1, sizeof(*_this)); in SDL_EVDEV_Init()
594 item->touchscreen_data = SDL_calloc(1, sizeof(*item->touchscreen_data)); in SDL_EVDEV_init_touchscreen()
638 item->touchscreen_data->slots = SDL_calloc( in SDL_EVDEV_init_touchscreen()
700 mt_req_code = SDL_calloc(1, mt_req_size); in SDL_EVDEV_sync_device()
796 item = (SDL_evdevlist_item *) SDL_calloc(1, sizeof (SDL_evdevlist_item)); in SDL_EVDEV_device_added()
/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/
DSDL_mirmouse.c51 cursor = SDL_calloc(1, sizeof(SDL_Cursor)); in MIR_CreateDefaultCursor()
54 MIR_Cursor* mir_cursor = SDL_calloc(1, sizeof(MIR_Cursor)); in MIR_CreateDefaultCursor()
DSDL_mirvideo.c131 device = SDL_calloc(1, sizeof(SDL_VideoDevice)); in MIR_CreateDevice()
138 mir_data = SDL_calloc(1, sizeof(MIR_Data)); in MIR_CreateDevice()
/third_party/flutter/skia/third_party/externals/sdl/src/video/cocoa/
DSDL_cocoamouse.m77 cursor = SDL_calloc(1, sizeof(*cursor));
101 cursor = SDL_calloc(1, sizeof(*cursor));
160 cursor = SDL_calloc(1, sizeof(*cursor));
340 mouse->driverdata = SDL_calloc(1, sizeof(SDL_MouseData));
DSDL_cocoavideo.m59 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice));
61 data = (struct SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData));
/third_party/flutter/skia/third_party/externals/sdl/src/video/dummy/
DSDL_nullvideo.c82 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in DUMMY_CreateDevice()
/third_party/flutter/skia/third_party/externals/sdl/src/thread/pthread/
DSDL_sysmutex.c52 mutex = (SDL_mutex *) SDL_calloc(1, sizeof(*mutex)); in SDL_CreateMutex()
/third_party/flutter/skia/third_party/externals/sdl/src/video/winrt/
DSDL_winrtvideo.cpp126 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in WINRT_CreateDevice()
132 data = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData)); in WINRT_CreateDevice()
284 dxgiModes = (DXGI_MODE_DESC *)SDL_calloc(numModes, sizeof(DXGI_MODE_DESC)); in WINRT_AddDisplaysForOutput()
/third_party/flutter/skia/third_party/externals/sdl/src/video/pandora/
DSDL_pandora.c75 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in PND_create()
82 phdata = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData)); in PND_create()
205 wdata = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData)); in PND_createwindow()

123