Home
last modified time | relevance | path

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

1234

/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_log.c74 SDL_memset(buffer, 0, sizeof(buffer)); in SDLTest_TimestampToString()
91 SDL_memset(logMessage, 0, SDLTEST_MAX_LOGMESSAGE_LENGTH); in SDLTest_Log()
109 SDL_memset(logMessage, 0, SDLTEST_MAX_LOGMESSAGE_LENGTH); in SDLTest_LogError()
A 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()
/AliOS-Things-master/components/SDL2/test/
A 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()
A Dtestime.c119 SDL_memset(unifontGlyph, 0, unifontGlyphSize); in unifont_init()
128 SDL_memset(unifontTexture, 0, unifontTextureSize); in unifont_init()
280 SDL_memset(textureRGBA, 0, UNIFONT_TEXTURE_SIZE); in unifont_load_texture()
/AliOS-Things-master/components/SDL2/src/joystick/haiku/
A DSDL_haikujoystick.cc69 SDL_memset(SDL_joyport, 0, (sizeof SDL_joyport)); in HAIKU_JoystickInit()
70 SDL_memset(SDL_joyname, 0, (sizeof SDL_joyname)); in HAIKU_JoystickInit()
135 SDL_memset(joystick->hwdata, 0, sizeof(*joystick->hwdata)); in HAIKU_JoystickOpen()
/AliOS-Things-master/components/SDL2/src/haptic/darwin/
A 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()
748 SDL_memset(rglDir, 0, sizeof(LONG) * naxes); in SDL_SYS_SetDirection()
812 SDL_memset(dest, 0, sizeof(FFEFFECT)); in SDL_SYS_ToFFEFFECT()
823 SDL_memset(envelope, 0, sizeof(FFENVELOPE)); in SDL_SYS_ToFFEFFECT()
857 SDL_memset(constant, 0, sizeof(FFCONSTANTFORCE)); in SDL_SYS_ToFFEFFECT()
901 SDL_memset(periodic, 0, sizeof(FFPERIODIC)); in SDL_SYS_ToFFEFFECT()
948 SDL_memset(condition, 0, sizeof(FFCONDITION)); in SDL_SYS_ToFFEFFECT()
992 SDL_memset(ramp, 0, sizeof(FFRAMPFORCE)); in SDL_SYS_ToFFEFFECT()
1030 SDL_memset(custom, 0, sizeof(FFCUSTOMFORCE)); in SDL_SYS_ToFFEFFECT()
[all …]
/AliOS-Things-master/components/SDL2/src/haptic/windows/
A DSDL_dinputhaptic.c289 SDL_memset(haptic->hwdata, 0, sizeof(*haptic->hwdata)); in SDL_DINPUT_HapticOpenFromDevice()
406 SDL_memset(haptic->effects, 0, in SDL_DINPUT_HapticOpenFromDevice()
564 SDL_memset(rglDir, 0, sizeof(LONG) * naxes); in SDL_SYS_SetDirection()
624 SDL_memset(dest, 0, sizeof(DIEFFECT)); in SDL_SYS_ToDIEFFECT()
635 SDL_memset(envelope, 0, sizeof(DIENVELOPE)); in SDL_SYS_ToDIEFFECT()
668 SDL_memset(constant, 0, sizeof(DICONSTANTFORCE)); in SDL_SYS_ToDIEFFECT()
711 SDL_memset(periodic, 0, sizeof(DIPERIODIC)); in SDL_SYS_ToDIEFFECT()
757 SDL_memset(condition, 0, sizeof(DICONDITION)); in SDL_SYS_ToDIEFFECT()
799 SDL_memset(ramp, 0, sizeof(DIRAMPFORCE)); in SDL_SYS_ToDIEFFECT()
837 SDL_memset(custom, 0, sizeof(DICUSTOMFORCE)); in SDL_SYS_ToDIEFFECT()
[all …]
A 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()
/AliOS-Things-master/components/SDL2/src/libm/
A Dk_rem_pio2.c176 SDL_memset(&f[m+1], 0, sizeof (f) - ((m+1) * sizeof (f[0]))); in __kernel_rem_pio2()
194 SDL_memset(&iq[jz], 0, sizeof (q) - (jz * sizeof (iq[0]))); in __kernel_rem_pio2()
279 SDL_memset(&fq[jz+1], 0, sizeof (fq) - ((jz+1) * sizeof (fq[0]))); in __kernel_rem_pio2()
/AliOS-Things-master/components/SDL2/src/audio/nacl/
A DSDL_naclaudio.c60 SDL_memset(stream, _this->spec.silence, len); in nacl_audio_callback()
84 SDL_memset(stream, _this->spec.silence, len); in nacl_audio_callback()
/AliOS-Things-master/components/SDL2/src/audio/disk/
A 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()
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsframebuffer.c50 SDL_memset(info, 0, size); in WIN_CreateWindowFramebuffer()
74 SDL_memset(info, 0, size); in WIN_CreateWindowFramebuffer()
/AliOS-Things-master/components/SDL2/src/audio/dummy/
A DSDL_dummyaudio.c43 SDL_memset(buffer, this->spec.silence, buflen); in DUMMYAUDIO_CaptureFromDevice()
/AliOS-Things-master/components/SDL2/src/audio/haiku/
A DSDL_haikuaudio.cc58 SDL_memset(stream, audio->spec.silence, len); in FillSound()
83 SDL_memset(stream, audio->spec.silence, len); in FillSound()
/AliOS-Things-master/components/SDL2/src/image/
A DIMG_lbm.c143 SDL_memset( &bmhd, 0, sizeof( BMHD ) ); in IMG_LoadLBM_RW()
339 SDL_memset( ptr, color, count ); in IMG_LoadLBM_RW()
387 SDL_memset( ptr, 0, 8 ); in IMG_LoadLBM_RW()
A DIMG_svg.c44 #define memset SDL_memset
/AliOS-Things-master/components/SDL2/src/
A DSDL_error.c96 SDL_memset(buffer, '1', BUFSIZ); in main()
/AliOS-Things-master/components/SDL2/include/
A DSDL_stdinc.h417 extern DECLSPEC void *SDLCALL SDL_memset(SDL_OUT_BYTECAP(len) void *dst, int c, size_t len);
419 #define SDL_zero(x) SDL_memset(&(x), 0, sizeof((x)))
420 #define SDL_zerop(x) SDL_memset((x), 0, sizeof(*(x)))
421 #define SDL_zeroa(x) SDL_memset((x), 0, sizeof((x)))
596 #define SDL_memset memset macro
/AliOS-Things-master/components/SDL2/src/core/linux/
A DSDL_ibus.c263 SDL_memset(config_dir, 0, sizeof(config_dir)); in IBus_GetDBusAddressFilename()
279 SDL_memset(file_path, 0, sizeof(file_path)); in IBus_GetDBusAddressFilename()
474 SDL_memset(&ibus_cursor_rect, 0, sizeof(ibus_cursor_rect)); in SDL_IBus_Quit()
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_fillrect.c113 SDL_memset(p, color, adjust); in SDL_FillRect1SSE()
120 SDL_memset(p, color, remainder); in SDL_FillRect1SSE()
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapi_gamecube.c72SDL_memset(&ctx->min_axis[joystick_index*SDL_CONTROLLER_AXIS_MAX], 128-88, SDL_CONTROLLER_AXIS_MAX… in ResetAxisRange()
73SDL_memset(&ctx->max_axis[joystick_index*SDL_CONTROLLER_AXIS_MAX], 128+88, SDL_CONTROLLER_AXIS_MAX… in ResetAxisRange()
/AliOS-Things-master/components/SDL2/src/haptic/linux/
A DSDL_syshaptic.c409 SDL_memset(haptic->hwdata, 0, sizeof(*haptic->hwdata)); in SDL_SYS_HapticOpenFromFD()
430 SDL_memset(haptic->effects, 0, in SDL_SYS_HapticOpenFromFD()
617 SDL_memset(haptic, 0, sizeof(SDL_Haptic)); in SDL_SYS_HapticClose()
758 SDL_memset(dest, 0, sizeof(struct ff_effect)); in SDL_SYS_ToFFEffect()
/AliOS-Things-master/components/SDL2/src/audio/emscripten/
A DSDL_emscriptenaudio.c83 SDL_memset(this->work_buffer, this->spec.silence, this->spec.size); in HandleAudioProcess()
137 SDL_memset(this->work_buffer, this->callbackspec.silence, stream_len); in HandleCaptureProcess()
/AliOS-Things-master/components/SDL2/src/haptic/
A DSDL_haptic.c145 SDL_memset(haptic, 0, (sizeof *haptic)); in SDL_HapticOpen()
317 SDL_memset(haptic, 0, sizeof(SDL_Haptic)); in SDL_HapticOpenFromJoystick()
/AliOS-Things-master/components/SDL2/src/video/android/
A DSDL_androidmouse.c126 SDL_memset(empty_surface->pixels, 0, empty_surface->h * empty_surface->pitch); in Android_CreateEmptyCursor()

Completed in 28 milliseconds

1234