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