Home
last modified time | relevance | path

Searched refs:curstate (Results 1 – 2 of 2) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/joystick/mint/
DSDL_sysjoystick.c488 Uint32 curstate,prevstate; in SDL_SYS_JoystickUpdate() local
504 curstate = 0; in SDL_SYS_JoystickUpdate()
507 curstate = SDL_AtariIkbd_joystick & 0xff; in SDL_SYS_JoystickUpdate()
510 curstate = SDL_AtariXbios_joystick & 0xff; in SDL_SYS_JoystickUpdate()
513 if (curstate != prevstate) { in SDL_SYS_JoystickUpdate()
515 if (curstate & IKBD_JOY_LEFT) { in SDL_SYS_JoystickUpdate()
518 if (curstate & IKBD_JOY_RIGHT) { in SDL_SYS_JoystickUpdate()
521 if (curstate & IKBD_JOY_UP) { in SDL_SYS_JoystickUpdate()
524 if (curstate & IKBD_JOY_DOWN) { in SDL_SYS_JoystickUpdate()
530 if ((curstate & IKBD_JOY_FIRE) && !(prevstate & IKBD_JOY_FIRE)) { in SDL_SYS_JoystickUpdate()
[all …]
/external/mksh/src/
Dexpr.c203 Expr_state curstate; in v_evaluate() local
204 Expr_state * const es = &curstate; in v_evaluate()
208 memset(&curstate, 0, sizeof(curstate)); in v_evaluate()
209 curstate.expression = curstate.tokp = expr; in v_evaluate()
210 curstate.tok = BAD; in v_evaluate()
211 curstate.arith = arith; in v_evaluate()
216 if (curstate.evaling) in v_evaluate()
217 curstate.evaling->flag &= ~EXPRINEVAL; in v_evaluate()