/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/ |
D | parsehelper.c | 95 tokens[index] = (char*)SDL_malloc(max_token_len); in TokenizeHelper() 194 tokens = (char**)SDL_malloc(sizeof(char*) * (num_tokens + 1)); in SDLVisualTest_Tokenize() 215 argv = (char**)SDL_malloc((num_tokens + 2) * sizeof(char*)); in SDLVisualTest_ParseArgsToArgv()
|
D | screenshot.c | 48 verify_path = (char*)SDL_malloc(verify_len * sizeof(char)); in SDLVisualTest_VerifyScreenshots() 78 test_path = (char*)SDL_malloc(test_len * sizeof(char)); in SDLVisualTest_VerifyScreenshots()
|
D | action_configparser.c | 53 node = (SDLVisualTest_ActionNode*)SDL_malloc( in SDLVisualTest_EnqueueAction() 344 path = (char*)SDL_malloc(sizeof(char) * (len + 1)); in SDLVisualTest_ParseActionConfig() 358 args = (char*)SDL_malloc(sizeof(char) * (len + 1)); in SDLVisualTest_ParseActionConfig()
|
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/unix/ |
D | SDL_sysfilesystem.c | 99 retvalargs = SDL_malloc(len); in SDL_GetBasePath() 105 retval = SDL_malloc(PATH_MAX + 1); in SDL_GetBasePath() 201 retval = (char *) SDL_malloc(len); in SDL_GetPrefPath()
|
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/darwin/ |
D | SDL_syshaptic.c | 498 SDL_malloc(sizeof(*haptic->hwdata)); in SDL_SYS_HapticOpenFromService() 538 SDL_malloc(sizeof(struct haptic_effect) * haptic->neffects); in SDL_SYS_HapticOpenFromService() 727 rglDir = SDL_malloc(sizeof(LONG) * naxes); in SDL_SYS_SetDirection() 798 envelope = SDL_malloc(sizeof(FFENVELOPE)); in SDL_SYS_ToFFEFFECT() 809 axes = SDL_malloc(sizeof(DWORD) * dest->cAxes); in SDL_SYS_ToFFEFFECT() 828 constant = SDL_malloc(sizeof(FFCONSTANTFORCE)); in SDL_SYS_ToFFEFFECT() 872 periodic = SDL_malloc(sizeof(FFPERIODIC)); in SDL_SYS_ToFFEFFECT() 919 condition = SDL_malloc(sizeof(FFCONDITION) * dest->cAxes); in SDL_SYS_ToFFEFFECT() 963 ramp = SDL_malloc(sizeof(FFRAMPFORCE)); in SDL_SYS_ToFFEFFECT() 1001 custom = SDL_malloc(sizeof(FFCUSTOMFORCE)); in SDL_SYS_ToFFEFFECT() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/haiku/ |
D | SDL_sysfilesystem.cc | 60 char *retval = (char *) SDL_malloc(len + 2); in SDL_GetBasePath() 80 char *retval = (char *) SDL_malloc(len); in SDL_GetPrefPath()
|
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/windows/ |
D | SDL_dinputhaptic.c | 298 haptic->hwdata = (struct haptic_hwdata *)SDL_malloc(sizeof(*haptic->hwdata)); in SDL_DINPUT_HapticOpenFromDevice() 413 SDL_malloc(sizeof(struct haptic_effect) * haptic->neffects); in SDL_DINPUT_HapticOpenFromDevice() 573 rglDir = SDL_malloc(sizeof(LONG) * naxes); in SDL_SYS_SetDirection() 640 envelope = SDL_malloc(sizeof(DIENVELOPE)); in SDL_SYS_ToDIEFFECT() 651 axes = SDL_malloc(sizeof(DWORD) * dest->cAxes); in SDL_SYS_ToDIEFFECT() 669 constant = SDL_malloc(sizeof(DICONSTANTFORCE)); in SDL_SYS_ToDIEFFECT() 712 periodic = SDL_malloc(sizeof(DIPERIODIC)); in SDL_SYS_ToDIEFFECT() 758 condition = SDL_malloc(sizeof(DICONDITION) * dest->cAxes); in SDL_SYS_ToDIEFFECT() 800 ramp = SDL_malloc(sizeof(DIRAMPFORCE)); in SDL_SYS_ToDIEFFECT() 838 custom = SDL_malloc(sizeof(DICUSTOMFORCE)); in SDL_SYS_ToDIEFFECT() [all …]
|
D | SDL_xinputhaptic.c | 83 item = (SDL_hapticlist_item *)SDL_malloc(sizeof(SDL_hapticlist_item)); in SDL_XINPUT_MaybeAddDevice() 180 SDL_malloc(sizeof(struct haptic_effect) * haptic->neffects); in SDL_XINPUT_HapticOpenFromUserIndex() 188 haptic->hwdata = (struct haptic_hwdata *) SDL_malloc(sizeof(*haptic->hwdata)); in SDL_XINPUT_HapticOpenFromUserIndex()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/haiku/ |
D | SDL_haikujoystick.cc | 120 SDL_malloc(sizeof(*joystick->hwdata)); in SDL_SYS_JoystickOpen() 143 SDL_malloc(joystick->naxes * sizeof(int16)); in SDL_SYS_JoystickOpen() 145 SDL_malloc(joystick->nhats * sizeof(uint8)); in SDL_SYS_JoystickOpen()
|
/third_party/flutter/skia/third_party/externals/sdl/src/ |
D | SDL_hints.c | 84 hint = (SDL_Hint *)SDL_malloc(sizeof(*hint)); in SDL_SetHintWithPriority() 152 entry = (SDL_HintWatch *)SDL_malloc(sizeof(*entry)); in SDL_AddHintCallback() 167 hint = (SDL_Hint *)SDL_malloc(sizeof(*hint)); in SDL_AddHintCallback()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/ |
D | SDL_joystick.c | 126 joystick = (SDL_Joystick *) SDL_malloc((sizeof *joystick)); in SDL_JoystickOpen() 145 joystick->axes = (Sint16 *) SDL_malloc(joystick->naxes * sizeof(Sint16)); in SDL_JoystickOpen() 146 joystick->axes_zero = (Sint16 *) SDL_malloc(joystick->naxes * sizeof(Sint16)); in SDL_JoystickOpen() 149 joystick->hats = (Uint8 *) SDL_malloc in SDL_JoystickOpen() 153 joystick->balls = (struct balldelta *) SDL_malloc in SDL_JoystickOpen() 157 joystick->buttons = (Uint8 *) SDL_malloc in SDL_JoystickOpen()
|
D | SDL_gamecontroller.c | 537 char *pchGUID = SDL_malloc(pFirstComma - pMapping + 1); in SDL_PrivateGetControllerGUIDFromMappingString() 566 pchName = SDL_malloc(pSecondComma - pFirstComma); in SDL_PrivateGetControllerNameFromMappingString() 650 pControllerMapping = SDL_malloc(sizeof(*pControllerMapping)); in SDL_PrivateAddMappingForGUID() 728 buf = (char *)SDL_malloc(db_size + 1); in SDL_GameControllerAddMappingsFromRW() 845 pMappingString = SDL_malloc(needed); in SDL_GameControllerMappingForGUID() 874 char *pUserMappings = SDL_malloc(nchHints + 1); in SDL_GameControllerLoadHints() 999 gamecontroller = (SDL_GameController *) SDL_malloc((sizeof *gamecontroller)); in SDL_GameControllerOpen()
|
/third_party/flutter/skia/third_party/externals/sdl/src/thread/ |
D | SDL_thread.c | 188 entry = (SDL_TLSEntry *)SDL_malloc(sizeof(*entry)); in SDL_Generic_SetTLSData() 243 errbuf = (SDL_error *)SDL_malloc(sizeof(*errbuf)); in SDL_GetErrBuf() 324 thread = (SDL_Thread *) SDL_malloc(sizeof(*thread)); in SDL_CreateThreadWithStackSize() 344 args = (thread_args *) SDL_malloc(sizeof(*args)); in SDL_CreateThreadWithStackSize()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/ |
D | SDL_windowsshape.c | 32 SDL_WindowShaper* result = (SDL_WindowShaper *)SDL_malloc(sizeof(SDL_WindowShaper)); in Win32_CreateShaper() 37 result->driverdata = (SDL_ShapeData*)SDL_malloc(sizeof(SDL_ShapeData)); in Win32_CreateShaper()
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/disk/ |
D | SDL_diskaudio.c | 136 SDL_malloc(sizeof(*this->hidden)); in DISKAUDIO_OpenDevice() 156 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->spec.size); in DISKAUDIO_OpenDevice()
|
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/windows/ |
D | windows_process.c | 61 working_directory = (char*)SDL_malloc(path_length + 1); in SDL_LaunchProcess() 80 command_line = (char*)SDL_malloc(path_length + args_length + 2); in SDL_LaunchProcess()
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/emscripten/ |
D | SDL_emscriptenaudio.c | 88 this->hidden->mixbuf = SDL_malloc(this->hidden->mixlen); in HandleAudioProcess() 111 this->hidden->mixbuf = SDL_malloc(this->hidden->mixlen); in HandleAudioProcess() 153 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->spec.size); in HandleCaptureProcess() 297 SDL_malloc((sizeof *this->hidden)); in EMSCRIPTENAUDIO_OpenDevice()
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/sun/ |
D | SDL_sunaudio.c | 211 SDL_malloc((sizeof *this->hidden)); in SUNAUDIO_OpenDevice() 316 this->hidden->ulaw_buf = (Uint8 *) SDL_malloc(this->hidden->fragsize); in SUNAUDIO_OpenDevice() 336 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->spec.size); in SUNAUDIO_OpenDevice()
|
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/android/ |
D | SDL_sysfilesystem.c | 49 char *fullpath = (char *)SDL_malloc(pathlen); in SDL_GetPrefPath()
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testnative.c | 188 positions = (SDL_Rect *) SDL_malloc(NUM_SPRITES * sizeof(SDL_Rect)); in main() 189 velocities = (SDL_Rect *) SDL_malloc(NUM_SPRITES * sizeof(SDL_Rect)); in main()
|
D | testsprite2.c | 333 (SDL_Texture **) SDL_malloc(state->num_windows * sizeof(*sprites)); in main() 348 positions = (SDL_Rect *) SDL_malloc(num_sprites * sizeof(SDL_Rect)); in main() 349 velocities = (SDL_Rect *) SDL_malloc(num_sprites * sizeof(SDL_Rect)); in main()
|
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/ |
D | SDL_getenv.c | 97 new_variable = (char *) SDL_malloc(len); in SDL_setenv() 127 new_variable = (char *) SDL_malloc(len); in SDL_setenv()
|
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/emscripten/ |
D | SDL_sysfilesystem.c | 50 retval = (char *) SDL_malloc(len); in SDL_GetPrefPath()
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/esd/ |
D | SDL_esdaudio.c | 219 SDL_malloc((sizeof *this->hidden)); in ESD_OpenDevice() 277 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->hidden->mixlen); in ESD_OpenDevice()
|
/third_party/flutter/skia/third_party/externals/sdl/src/filesystem/cocoa/ |
D | SDL_sysfilesystem.m | 59 retval = (char *) SDL_malloc(len); 83 retval = (char *) SDL_malloc(len);
|