/AliOS-Things-master/components/SDL2/src/video/psp/ |
A D | SDL_pspvideo.c | 77 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() 224 wdata = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData)); in PSP_CreateWindow()
|
/AliOS-Things-master/components/SDL2/src/joystick/darwin/ |
A D | SDL_sysjoystick.c | 61 effect = (FFEFFECT *)SDL_calloc(1, sizeof(*effect)); in CreateRumbleEffectData() 72 effect->rgdwAxes = (DWORD *)SDL_calloc(effect->cAxes, sizeof(DWORD)); in CreateRumbleEffectData() 78 effect->rglDirection = (LONG *)SDL_calloc(effect->cAxes, sizeof(LONG)); in CreateRumbleEffectData() 85 periodic = (FFPERIODIC *)SDL_calloc(1, sizeof(*periodic)); in CreateRumbleEffectData() 307 element = (recElement *) SDL_calloc(1, sizeof (recElement)); in AddHIDElement() 317 element = (recElement *) SDL_calloc(1, sizeof (recElement)); in AddHIDElement() 332 element = (recElement *) SDL_calloc(1, sizeof (recElement)); in AddHIDElement() 349 element = (recElement *) SDL_calloc(1, sizeof (recElement)); in AddHIDElement() 365 element = (recElement *) SDL_calloc(1, sizeof (recElement)); in AddHIDElement() 554 device = (recDevice *) SDL_calloc(1, sizeof(recDevice)); in JoystickDeviceWasAddedCallback()
|
/AliOS-Things-master/components/SDL2/src/joystick/virtual/ |
A D | SDL_virtualjoystick.c | 99 hwdata = SDL_calloc(1, sizeof(joystick_hwdata)); in SDL_JoystickAttachVirtualInner() 116 hwdata->axes = SDL_calloc(naxes, sizeof(Sint16)); in SDL_JoystickAttachVirtualInner() 123 hwdata->buttons = SDL_calloc(nbuttons, sizeof(Uint8)); in SDL_JoystickAttachVirtualInner() 130 hwdata->hats = SDL_calloc(nhats, sizeof(Uint8)); in SDL_JoystickAttachVirtualInner()
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11mouse.c | 78 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()
|
A D | SDL_x11modes.c | 455 displaydata = (SDL_DisplayData *) SDL_calloc(1, sizeof(*displaydata)); in X11_InitModes_XRandR() 460 modedata = (SDL_DisplayModeData *) SDL_calloc(1, sizeof(SDL_DisplayModeData)); in X11_InitModes_XRandR() 698 displaydata = (SDL_DisplayData *) SDL_calloc(1, sizeof(*displaydata)); in X11_InitModes() 724 modedata = (SDL_DisplayModeData *) SDL_calloc(1, sizeof(SDL_DisplayModeData)); in X11_InitModes() 860 modedata = (SDL_DisplayModeData *) SDL_calloc(1, sizeof(SDL_DisplayModeData)); in X11_GetDisplayModes() 876 modedata = (SDL_DisplayModeData *) SDL_calloc(1, sizeof(SDL_DisplayModeData)); in X11_GetDisplayModes() 902 modedata = (SDL_DisplayModeData *) SDL_calloc(1, sizeof(SDL_DisplayModeData)); in X11_GetDisplayModes() 936 modedata = (SDL_DisplayModeData *) SDL_calloc(1, sizeof(SDL_DisplayModeData)); in X11_GetDisplayModes() 955 modedata = (SDL_DisplayModeData *) SDL_calloc(1, sizeof(SDL_DisplayModeData)); in X11_GetDisplayModes()
|
/AliOS-Things-master/components/SDL2/src/video/vivante/ |
A D | SDL_vivantevideo.c | 65 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in VIVANTE_Create() 72 data = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData)); in VIVANTE_Create() 146 data = (SDL_DisplayData *) SDL_calloc(1, sizeof(SDL_DisplayData)); in VIVANTE_AddVideoDisplays() 283 data = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData)); in VIVANTE_CreateWindow()
|
/AliOS-Things-master/components/SDL2/src/core/alios/ |
A D | SDL_evdev.c | 171 _this = (SDL_EVDEV_PrivateData*)SDL_calloc(1, sizeof(*_this)); in SDL_EVDEV_Init() 261 item->touchscreen_data = SDL_calloc(1, sizeof(*item->touchscreen_data)); in SDL_EVDEV_init_touchscreen() 324 item->touchscreen_data->slots = SDL_calloc( in SDL_EVDEV_init_touchscreen() 365 item = (SDL_evdevlist_item *) SDL_calloc(1, sizeof (SDL_evdevlist_item)); in SDL_EVDEV_device_added()
|
/AliOS-Things-master/components/SDL2/src/video/raspberry/ |
A D | SDL_rpivideo.c | 90 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in RPI_Create() 97 phdata = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData)); in RPI_Create() 196 data = (SDL_DisplayData *) SDL_calloc(1, sizeof(SDL_DisplayData)); in AddDispManXDisplay() 279 wdata = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData)); in RPI_CreateWindow()
|
/AliOS-Things-master/components/SDL2/src/video/haiku/ |
A D | SDL_bmodes.cc | 201 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()
|
/AliOS-Things-master/components/SDL2/src/audio/jack/ |
A D | SDL_jackaudio.c | 303 this->hidden = (struct SDL_PrivateAudioData *) SDL_calloc(1, sizeof (*this->hidden)); in JACK_OpenDevice() 325 audio_ports = SDL_calloc(ports, sizeof *audio_ports); in JACK_OpenDevice() 355 this->hidden->iobuffer = (float *) SDL_calloc(1, this->spec.size); in JACK_OpenDevice() 361 this->hidden->sdlports = (jack_port_t **) SDL_calloc(channels, sizeof (jack_port_t *)); in JACK_OpenDevice()
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsmouse.c | 77 cursor = SDL_calloc(1, sizeof(*cursor)); in WIN_CreateDefaultCursor() 149 cursor = SDL_calloc(1, sizeof(*cursor)); in WIN_CreateCursor() 185 cursor = SDL_calloc(1, sizeof(*cursor)); in WIN_CreateSystemCursor()
|
/AliOS-Things-master/components/SDL2/src/sensor/android/ |
A D | SDL_androidsensor.c | 74 SDL_sensors = (SDL_AndroidSensor *)SDL_calloc(sensors_count, sizeof(*SDL_sensors)); in SDL_ANDROID_SensorInit() 136 hwdata = (struct sensor_hwdata *)SDL_calloc(1, sizeof(*hwdata)); in SDL_ANDROID_SensorOpen()
|
/AliOS-Things-master/components/SDL2/src/video/android/ |
A D | SDL_androidmouse.c | 63 cursor = SDL_calloc(1, sizeof(*cursor)); in Android_WrapCursor() 65 SDL_AndroidCursorData *data = (SDL_AndroidCursorData *)SDL_calloc(1, sizeof(*data)); in Android_WrapCursor()
|
A D | SDL_androidvideo.c | 100 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in Android_CreateDevice() 106 data = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData)); in Android_CreateDevice()
|
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/ |
A D | SDL_kmsdrmvideo.c | 175 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in KMSDRM_CreateDevice() 181 viddata = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData)); in KMSDRM_CreateDevice() 273 fb_info = (KMSDRM_FBInfo *)SDL_calloc(1, sizeof(KMSDRM_FBInfo)); in KMSDRM_FBFromBO() 450 dispdata = (SDL_DisplayData *) SDL_calloc(1, sizeof(SDL_DisplayData)); in KMSDRM_VideoInit() 609 SDL_DisplayModeData *modedata = SDL_calloc(1, sizeof(SDL_DisplayModeData)); in KMSDRM_VideoInit() 718 SDL_DisplayModeData *modedata = SDL_calloc(1, sizeof(SDL_DisplayModeData)); in KMSDRM_GetDisplayModes() 786 windata = (SDL_WindowData *)SDL_calloc(1, sizeof(SDL_WindowData)); in KMSDRM_CreateWindow()
|
/AliOS-Things-master/components/SDL2/src/video/offscreen/ |
A D | SDL_offscreenwindow.c | 34 OFFSCREEN_Window* offscreen_window = SDL_calloc(1, sizeof(OFFSCREEN_Window)); in OFFSCREEN_CreateWindow()
|
A D | SDL_offscreenvideo.c | 73 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in OFFSCREEN_CreateDevice()
|
/AliOS-Things-master/components/SDL2/src/video/emscripten/ |
A D | SDL_emscriptenmouse.c | 42 cursor = SDL_calloc(1, sizeof(SDL_Cursor)); in Emscripten_CreateCursorFromString() 44 curdata = (Emscripten_CursorData *) SDL_calloc(1, sizeof(*curdata)); in Emscripten_CreateCursorFromString()
|
A D | SDL_emscriptenopengles.c | 39 _this->egl_data = (struct SDL_EGL_VideoData *) SDL_calloc(1, sizeof(SDL_EGL_VideoData)); in Emscripten_GLES_LoadLibrary()
|
/AliOS-Things-master/components/SDL2/src/video/qnx/ |
A D | video.c | 79 impl = SDL_calloc(1, sizeof(*impl)); in createWindow() 325 device = (SDL_VideoDevice *)SDL_calloc(1, sizeof(SDL_VideoDevice)); in createDevice()
|
/AliOS-Things-master/components/SDL2/src/locale/ |
A D | SDL_locale.c | 51 loc = retval = (SDL_Locale *) SDL_calloc(1, alloclen); in build_locales_from_csv_string()
|
/AliOS-Things-master/components/SDL2/src/video/dummy/ |
A D | SDL_nullvideo.c | 86 device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); in DUMMY_CreateDevice()
|
/AliOS-Things-master/components/SDL2/src/main/windows/ |
A D | SDL_windows_main.c | 55 argv = (char **)SDL_calloc(argc + 1, sizeof(*argv)); in main_getcmdline()
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_xpm.c | 104 hash = (struct color_hash *)SDL_calloc(1, sizeof(*hash)); in create_colorhash() 121 hash->table = (struct hash_entry **)SDL_calloc(1, bytes); in create_colorhash() 135 hash->entries = (struct hash_entry *)SDL_calloc(1, bytes); in create_colorhash()
|
/AliOS-Things-master/components/SDL2/src/core/linux/ |
A D | SDL_evdev.c | 144 _this = (SDL_EVDEV_PrivateData*)SDL_calloc(1, sizeof(*_this)); in SDL_EVDEV_Init() 480 item->touchscreen_data = SDL_calloc(1, sizeof(*item->touchscreen_data)); in SDL_EVDEV_init_touchscreen() 543 item->touchscreen_data->slots = SDL_calloc( in SDL_EVDEV_init_touchscreen() 606 mt_req_code = SDL_calloc(1, mt_req_size); in SDL_EVDEV_sync_device() 720 item = (SDL_evdevlist_item *) SDL_calloc(1, sizeof (SDL_evdevlist_item)); in SDL_EVDEV_device_added()
|