Home
last modified time | relevance | path

Searched refs:SDL_memset (Results 1 – 25 of 69) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_log.c59 SDL_memset(buffer, 0, sizeof(buffer)); in SDLTest_TimestampToString()
76 SDL_memset(logMessage, 0, SDLTEST_MAX_LOGMESSAGE_LENGTH); in SDLTest_Log()
94 SDL_memset(logMessage, 0, SDLTEST_MAX_LOGMESSAGE_LENGTH); in SDLTest_LogError()
DSDL_test_assert.c53 SDL_memset(logMessage, 0, SDLTEST_MAX_LOGMESSAGE_LENGTH); in SDLTest_Assert()
71 SDL_memset(logMessage, 0, SDLTEST_MAX_LOGMESSAGE_LENGTH); in SDLTest_AssertCheck()
100 SDL_memset(logMessage, 0, SDLTEST_MAX_LOGMESSAGE_LENGTH); in SDLTest_AssertPass()
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestmultiaudio.c48 SDL_memset(stream, spec.silence, len); in play_through_once()
93 SDL_memset(&cbd[0], '\0', sizeof(callback_data)); in test_multi_audio()
117 SDL_memset(cbd, '\0', sizeof(cbd)); in test_multi_audio()
Dtestime.c119 SDL_memset(unifontGlyph, 0, unifontGlyphSize); in unifont_init()
128 SDL_memset(unifontTexture, 0, unifontTextureSize); in unifont_init()
279 SDL_memset(textureRGBA, 0, UNIFONT_TEXTURE_SIZE); in unifont_load_texture()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/
DSDL_joystick.c132 SDL_memset(joystick, 0, (sizeof *joystick)); in SDL_JoystickOpen()
169 SDL_memset(joystick->axes, 0, joystick->naxes * sizeof(Sint16)); in SDL_JoystickOpen()
170 SDL_memset(joystick->axes_zero, 0, joystick->naxes * sizeof(Sint16)); in SDL_JoystickOpen()
173 SDL_memset(joystick->hats, 0, joystick->nhats * sizeof(Uint8)); in SDL_JoystickOpen()
176 SDL_memset(joystick->balls, 0, in SDL_JoystickOpen()
180 SDL_memset(joystick->buttons, 0, joystick->nbuttons * sizeof(Uint8)); in SDL_JoystickOpen()
901 SDL_memset(&guid, 0x00, sizeof(guid)); in SDL_JoystickGetGUIDFromString()
DSDL_gamecontroller.c456 SDL_memset(szGameButton, 0x0, sizeof(szGameButton)); in SDL_PrivateGameControllerParseControllerConfigString()
457 SDL_memset(szJoystickButton, 0x0, sizeof(szJoystickButton)); in SDL_PrivateGameControllerParseControllerConfigString()
469 SDL_memset(szGameButton, 0x0, sizeof(szGameButton)); in SDL_PrivateGameControllerParseControllerConfigString()
470 SDL_memset(szJoystickButton, 0x0, sizeof(szJoystickButton)); in SDL_PrivateGameControllerParseControllerConfigString()
1005 SDL_memset(gamecontroller, 0, (sizeof *gamecontroller)); in SDL_GameControllerOpen()
1170 SDL_memset(&bind, 0x0, sizeof(bind)); in SDL_GameControllerGetBindForAxis()
1193 SDL_memset(&bind, 0x0, sizeof(bind)); in SDL_GameControllerGetBindForButton()
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/windows/
DSDL_dinputhaptic.c302 SDL_memset(haptic->hwdata, 0, sizeof(*haptic->hwdata)); in SDL_DINPUT_HapticOpenFromDevice()
419 SDL_memset(haptic->effects, 0, in SDL_DINPUT_HapticOpenFromDevice()
577 SDL_memset(rglDir, 0, sizeof(LONG) * naxes); in SDL_SYS_SetDirection()
633 SDL_memset(dest, 0, sizeof(DIEFFECT)); in SDL_SYS_ToDIEFFECT()
644 SDL_memset(envelope, 0, sizeof(DIENVELOPE)); in SDL_SYS_ToDIEFFECT()
673 SDL_memset(constant, 0, sizeof(DICONSTANTFORCE)); in SDL_SYS_ToDIEFFECT()
716 SDL_memset(periodic, 0, sizeof(DIPERIODIC)); in SDL_SYS_ToDIEFFECT()
762 SDL_memset(condition, 0, sizeof(DICONDITION)); in SDL_SYS_ToDIEFFECT()
804 SDL_memset(ramp, 0, sizeof(DIRAMPFORCE)); in SDL_SYS_ToDIEFFECT()
842 SDL_memset(custom, 0, sizeof(DICUSTOMFORCE)); in SDL_SYS_ToDIEFFECT()
[all …]
DSDL_xinputhaptic.c185 SDL_memset(haptic->effects, 0, in SDL_XINPUT_HapticOpenFromUserIndex()
194 SDL_memset(haptic->hwdata, 0, sizeof(*haptic->hwdata)); in SDL_XINPUT_HapticOpenFromUserIndex()
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/darwin/
DSDL_syshaptic.c503 SDL_memset(haptic->hwdata, 0, sizeof(*haptic->hwdata)); in SDL_SYS_HapticOpenFromService()
544 SDL_memset(haptic->effects, 0, in SDL_SYS_HapticOpenFromService()
731 SDL_memset(rglDir, 0, sizeof(LONG) * naxes); in SDL_SYS_SetDirection()
791 SDL_memset(dest, 0, sizeof(FFEFFECT)); in SDL_SYS_ToFFEFFECT()
802 SDL_memset(envelope, 0, sizeof(FFENVELOPE)); in SDL_SYS_ToFFEFFECT()
832 SDL_memset(constant, 0, sizeof(FFCONSTANTFORCE)); in SDL_SYS_ToFFEFFECT()
876 SDL_memset(periodic, 0, sizeof(FFPERIODIC)); in SDL_SYS_ToFFEFFECT()
923 SDL_memset(condition, 0, sizeof(FFCONDITION)); in SDL_SYS_ToFFEFFECT()
967 SDL_memset(ramp, 0, sizeof(FFRAMPFORCE)); in SDL_SYS_ToFFEFFECT()
1005 SDL_memset(custom, 0, sizeof(FFCUSTOMFORCE)); in SDL_SYS_ToFFEFFECT()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/haiku/
DSDL_haikujoystick.cc69 SDL_memset(SDL_joyport, 0, (sizeof SDL_joyport)); in SDL_SYS_JoystickInit()
70 SDL_memset(SDL_joyname, 0, (sizeof SDL_joyname)); in SDL_SYS_JoystickInit()
124 SDL_memset(joystick->hwdata, 0, sizeof(*joystick->hwdata)); in SDL_SYS_JoystickOpen()
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsframebuffer.c49 SDL_memset(info, 0, size); in WIN_CreateWindowFramebuffer()
73 SDL_memset(info, 0, size); in WIN_CreateWindowFramebuffer()
DSDL_windowskeyboard.c69 SDL_memset(data->ime_candidates, 0, sizeof(data->ime_candidates)); in WIN_InitKeyboard()
78 SDL_memset(&data->ime_rect, 0, sizeof(data->ime_rect)); in WIN_InitKeyboard()
79 SDL_memset(&data->ime_candlistrect, 0, sizeof(data->ime_candlistrect)); in WIN_InitKeyboard()
842 SDL_memset(&videodata->ime_candidates, 0, sizeof(videodata->ime_candidates)); in IME_GetCandidateList()
982 SDL_memset(videodata->ime_candidates, 0, sizeof(videodata->ime_candidates)); in IME_CloseCandidateList()
1020 SDL_memset(videodata->ime_candidates, 0, sizeof(videodata->ime_candidates)); in UILess_GetCandidateList()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/disk/
DSDL_diskaudio.c93 SDL_memset(buffer, this->spec.silence, buflen); in DISKAUDIO_CaptureFromDevice()
160 SDL_memset(this->hidden->mixbuf, this->spec.silence, this->spec.size); in DISKAUDIO_OpenDevice()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/dummy/
DSDL_dummyaudio.c43 SDL_memset(buffer, this->spec.silence, buflen); in DUMMYAUDIO_CaptureFromDevice()
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_stdinc.h357 extern DECLSPEC void *SDLCALL SDL_memset(SDL_OUT_BYTECAP(len) void *dst, int c, size_t len);
359 #define SDL_zero(x) SDL_memset(&(x), 0, sizeof((x)))
360 #define SDL_zerop(x) SDL_memset((x), 0, sizeof(*(x)))
497 #define SDL_memset memset macro
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/
Dharness_argparser.c288 SDL_memset(&state->sut_config, 0, sizeof(SDLVisualTest_SUTConfig)); in SDLVisualTest_ParseHarnessArgs()
289 SDL_memset(&state->action_queue, 0, sizeof(SDLVisualTest_ActionQueue)); in SDLVisualTest_ParseHarnessArgs()
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_fillrect.c112 SDL_memset(p, color, adjust); in SDL_FillRect1SSE()
119 SDL_memset(p, color, remainder); in SDL_FillRect1SSE()
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_ibus.c278 SDL_memset(config_dir, 0, sizeof(config_dir)); in IBus_GetDBusAddressFilename()
294 SDL_memset(file_path, 0, sizeof(file_path)); in IBus_GetDBusAddressFilename()
526 SDL_memset(&ibus_cursor_rect, 0, sizeof(ibus_cursor_rect)); in SDL_IBus_Quit()
DSDL_dbus.c134 SDL_memset(&dbus, 0, sizeof(dbus)); in SDL_DBus_Quit()
/third_party/flutter/skia/third_party/externals/sdl/Xcode-iOS/Demos/src/
Dmixer.c238 SDL_memset(stream, mixer.outputSpec.silence, len); /* initialize buffer to silence */ in audioCallback()
292 SDL_memset(&mixer, 0, sizeof(mixer)); in main()
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/linux/
DSDL_syshaptic.c406 SDL_memset(haptic->hwdata, 0, sizeof(*haptic->hwdata)); in SDL_SYS_HapticOpenFromFD()
427 SDL_memset(haptic->effects, 0, in SDL_SYS_HapticOpenFromFD()
594 SDL_memset(haptic, 0, sizeof(SDL_Haptic)); in SDL_SYS_HapticClose()
733 SDL_memset(dest, 0, sizeof(struct ff_effect)); in SDL_SYS_ToFFEffect()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/nacl/
DSDL_naclaudio.c68 SDL_memset(samples, _this->spec.silence, buffer_size); in nacl_audio_callback()
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/
DSDL_haptic.c141 SDL_memset(haptic, 0, (sizeof *haptic)); in SDL_HapticOpen()
313 SDL_memset(haptic, 0, sizeof(SDL_Haptic)); in SDL_HapticOpenFromJoystick()
/third_party/flutter/skia/third_party/externals/sdl/src/
DSDL_error.c274 SDL_memset(buffer, '1', BUFSIZ); in main()
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11xinput2.c52 SDL_memset(output_values,0,output_values_len * sizeof(double)); in parse_valuators()

123