Lines Matching refs:interps
379 XkbSymInterpretPtr *interps, ibuf[IBUF_SIZE]; in XkbApplyCompatMapToKey() local
400 interps = calloc(nSyms, sizeof(XkbSymInterpretPtr)); in XkbApplyCompatMapToKey()
401 if (interps == NULL) { in XkbApplyCompatMapToKey()
402 interps = ibuf; in XkbApplyCompatMapToKey()
407 interps = ibuf; in XkbApplyCompatMapToKey()
413 interps[n] = NULL; in XkbApplyCompatMapToKey()
415 interps[n] = _XkbFindMatchingInterp(xkb, syms[n], mods, level); in XkbApplyCompatMapToKey()
416 if (interps[n] && interps[n]->act.type != XkbSA_NoAction) in XkbApplyCompatMapToKey()
419 interps[n] = NULL; in XkbApplyCompatMapToKey()
437 free(interps); in XkbApplyCompatMapToKey()
442 if (interps[n]) { in XkbApplyCompatMapToKey()
445 pActs[n] = *((XkbAction *) &interps[n]->act); in XkbApplyCompatMapToKey()
446 if ((n == 0) || ((interps[n]->match & XkbSI_LevelOneOnly) == 0)) { in XkbApplyCompatMapToKey()
448 if (interps[n]->virtual_mod != XkbNoModifier) in XkbApplyCompatMapToKey()
449 new_vmodmask |= (1 << interps[n]->virtual_mod); in XkbApplyCompatMapToKey()
463 if (interps[0]) { in XkbApplyCompatMapToKey()
464 if ((interps[0]->flags & XkbSI_LockingKey) && in XkbApplyCompatMapToKey()
473 if (interps[0]->flags & XkbSI_AutoRepeat) in XkbApplyCompatMapToKey()
482 if ((!found) || (interps[0] == NULL)) { in XkbApplyCompatMapToKey()
528 if (interps != ibuf) in XkbApplyCompatMapToKey()
529 free(interps); in XkbApplyCompatMapToKey()