Home
last modified time | relevance | path

Searched refs:modstate (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_keyboard.c42 Uint16 modstate; member
667 Uint16 modstate; in SDL_SendKeyboardKey() local
740 modstate = keyboard->modstate; in SDL_SendKeyboardKey()
743 keyboard->modstate ^= KMOD_NUM; in SDL_SendKeyboardKey()
746 keyboard->modstate ^= KMOD_CAPS; in SDL_SendKeyboardKey()
749 keyboard->modstate |= modifier; in SDL_SendKeyboardKey()
753 keyboard->modstate &= ~modifier; in SDL_SendKeyboardKey()
754 modstate = keyboard->modstate; in SDL_SendKeyboardKey()
766 event.key.keysym.mod = modstate; in SDL_SendKeyboardKey()
837 return keyboard->modstate; in SDL_GetModState()
[all …]
DSDL_keyboard_c.h66 extern void SDL_ToggleModState(const SDL_Keymod modstate, const SDL_bool toggle);
/third_party/python/Modules/
Dsignalmodule.c493 _signal_module_state *modstate = get_signal_state(module); in signal_signal_impl() local
528 if (handler == modstate->ignore_handler) { in signal_signal_impl()
531 else if (handler == modstate->default_handler) { in signal_signal_impl()
887 _signal_module_state *modstate = get_signal_state(module); local
900 PyErr_SetFromErrno(modstate->itimer_error);
923 _signal_module_state *modstate = get_signal_state(module); local
927 PyErr_SetFromErrno(modstate->itimer_error);
1627 _signal_module_state *modstate = get_signal_state(m); local
1629 modstate->default_handler = state->default_handler; // borrowed ref
1630 modstate->ignore_handler = state->ignore_handler; // borrowed ref
[all …]
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_keyboard.h89 extern DECLSPEC void SDLCALL SDL_SetModState(SDL_Keymod modstate);