Home
last modified time | relevance | path

Searched refs:SDL_realloc (Results 1 – 25 of 41) sorted by relevance

12

/AliOS-Things-master/components/SDL2/src/filesystem/unix/
A DSDL_sysfilesystem.c57 char *ptr = (char *) SDL_realloc(retval, (size_t) len); in readSymLink()
168 char *ptr = (char *) SDL_realloc(retval, strlen(retval) + 1); in SDL_GetBasePath()
/AliOS-Things-master/components/SDL2/src/stdlib/
A DSDL_getenv.c159 new_env = SDL_realloc(SDL_env, (i + 2) * sizeof(char *)); in SDL_setenv()
207 char *newmem = (char *) SDL_realloc(SDL_envmem, bufferlen); in SDL_getenv()
A DSDL_iconv.c908 string = (char *) SDL_realloc(string, stringsize); in SDL_iconv_string()
/AliOS-Things-master/components/SDL2/src/image/
A DIMG_xcf.c354 cm_map = (unsigned char *) SDL_realloc(h->cm_map, sizeof (unsigned char) * 3 * cm_num); in read_xcf_header()
478 h->level_file_offsets = (Uint32 *) SDL_realloc (h->level_file_offsets, sizeof (Uint32) * (i+1)); in read_xcf_hierarchy()
501 l->tile_file_offsets = (Uint32 *) SDL_realloc (l->tile_file_offsets, sizeof (Uint32) * (i+1)); in read_xcf_level()
843 …head->layer_file_offsets = (Uint32 *) SDL_realloc (head->layer_file_offsets, sizeof (Uint32) * (of… in IMG_LoadXCF_RW()
888 channel = (xcf_channel **) SDL_realloc (channel, sizeof (xcf_channel *) * (chnls+1)); in IMG_LoadXCF_RW()
A DIMG_svg.c47 #define realloc SDL_realloc
A DIMG_xpm.c946 linebufnew = (char *)SDL_realloc(linebuf, buflen); in get_next_line()
966 linebufnew = (char *)SDL_realloc(linebuf, buflen); in get_next_line()
/AliOS-Things-master/components/SDL2/src/filesystem/windows/
A DSDL_sysfilesystem.c61 void *ptr = SDL_realloc(path, buflen * sizeof (WCHAR)); in SDL_GetBasePath()
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_touch.c166 touchDevices = (SDL_Touch **) SDL_realloc(SDL_touchDevices, in SDL_AddTouch()
204 …new_fingers = (SDL_Finger **)SDL_realloc(touch->fingers, (touch->max_fingers+1)*sizeof(*touch->fin… in SDL_AddFinger()
A DSDL_gesture.c195 (SDL_DollarTemplate *)SDL_realloc(inTouch->dollarTemplate, in SDL_AddDollarGesture_one()
456 SDL_GestureTouch *gestureTouch = (SDL_GestureTouch *)SDL_realloc(SDL_gestureTouch, in SDL_GestureAddTouch()
A DSDL_mouse.c468 …SDL_MouseClickState *clickstate = (SDL_MouseClickState *)SDL_realloc(mouse->clickstate, count * si…
/AliOS-Things-master/components/SDL2/include/
A DSDL_stdinc.h364 extern DECLSPEC void *SDLCALL SDL_realloc(void *mem, size_t size);
594 #define SDL_realloc realloc macro
/AliOS-Things-master/components/SDL2/src/thread/
A DSDL_thread.c67 …storage = (SDL_TLSData *)SDL_realloc(storage, sizeof(*storage)+(newlimit-1)*sizeof(storage->array[… in SDL_TLSSet()
/AliOS-Things-master/components/SDL2/src/sensor/windows/
A DSDL_windowssensor.c294 …new_sensors = (SDL_Windows_Sensor *)SDL_realloc(SDL_sensors, (SDL_num_sensors + 1) * sizeof(SDL_Wi… in ConnectSensor()
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylanddatamanager.c120 output_buffer = SDL_realloc(*buffer, new_buffer_length); in read_pipe()
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_RLEaccel.c1232 Uint8 *p = SDL_realloc(rlebuf, dst - rlebuf); in RLEAlphaSurface()
1397 Uint8 *p = SDL_realloc(rlebuf, dst - rlebuf); in RLEColorkeySurface()
/AliOS-Things-master/components/SDL2/src/joystick/windows/
A DSDL_windows_gaming_input.c265 …WindowsGamingInputControllerState *controllers = SDL_realloc(wgi.controllers, sizeof(wgi.controlle… in IEventHandler_CRawGameControllerVtbl_InvokeAdded()
/AliOS-Things-master/components/SDL2/src/audio/wasapi/
A DSDL_wasapi.c223 Uint8 *ptr = (Uint8 *) SDL_realloc(this->work_buffer, this->spec.size); in UpdateAudioStream()
/AliOS-Things-master/components/SDL2/src/cpuinfo/
A DSDL_cpuinfo.c981 ptr = (Uint8 *) SDL_realloc(mem, padded + alignment + sizeof (void *)); in SDL_SIMDRealloc()
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/
A DSDL_kmsdrmvideo.c813 viddata->windows = (SDL_Window **)SDL_realloc(viddata->windows, in KMSDRM_CreateWindow()
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsmessagebox.c217 void *data = SDL_realloc(dialog->data, size); in ExpandDialogSpace()
/AliOS-Things-master/components/SDL2/src/dynapi/
A DSDL_dynapi_overrides.h376 #define SDL_realloc SDL_realloc_REAL macro
/AliOS-Things-master/components/SDL2/src/file/
A DSDL_rwops.c748 newdata = SDL_realloc(data, (size_t)(size + 1)); in SDL_LoadFile_RW()
/AliOS-Things-master/components/SDL2/src/audio/
A DSDL_wave.c1244 src = (Uint8 *)SDL_realloc(chunk->data, expanded_len ? expanded_len : 1); in LAW_Decode()
1376 ptr = (Uint8 *)SDL_realloc(chunk->data, expanded_len ? expanded_len : 1); in PCM_ConvertSint24ToSint32()
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapijoystick.c611 …SDL_JoystickID *joysticks = (SDL_JoystickID *)SDL_realloc(device->joysticks, (device->num_joystick… in HIDAPI_JoystickConnected()
/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_gamecontroller.c168 … Uint32 *entries = (Uint32 *)SDL_realloc(list->entries, max_entries*sizeof(*list->entries)); in SDL_LoadVIDPIDListFromHint()
660 …gamecontroller->bindings = (SDL_ExtendedGameControllerBind *)SDL_realloc(gamecontroller->bindings,… in SDL_PrivateGameControllerParseElement()

Completed in 47 milliseconds

12