Lines Matching refs:ndx
914 unsigned ndx, nSyms;
916 if (!GetGroupIndex(key, arrayNdx, SYMBOLS, &ndx))
920 key->symsDefined |= (1U << ndx);
927 ACTION("Ignoring symbols for group %d of %s\n", ndx,
931 if (key->syms[ndx] != NULL)
934 longText(key->name, XkbMessage), ndx);
938 if (((key->numLevels[ndx] < nSyms) || (key->syms[ndx] == NULL)) &&
939 (!ResizeKeyGroup(key, ndx, nSyms, False)))
941 WSGO("Could not resize group %d of key %s\n", ndx,
946 key->symsDefined |= (1U << ndx);
948 if (!LookupKeysym(value->value.list.syms[i], &key->syms[ndx][i])) {
954 key->syms[ndx][i] = NoSymbol;
957 for (int i = key->numLevels[ndx] - 1;
958 (i >= 0) && (key->syms[ndx][i] == NoSymbol); i--)
960 key->numLevels[ndx]--;
970 unsigned ndx, nActs;
974 if (!GetGroupIndex(key, arrayNdx, ACTIONS, &ndx))
979 key->actsDefined |= (1U << ndx);
985 ACTION("Ignoring actions for group %d of %s\n", ndx,
989 if (key->acts[ndx] != NULL)
992 longText(key->name, XkbMessage), ndx);
1004 if (((key->numLevels[ndx] < nActs) || (key->acts[ndx] == NULL)) &&
1005 (!ResizeKeyGroup(key, ndx, nActs, True)))
1007 WSGO("Could not resize group %d of key %s\n", ndx,
1012 key->actsDefined |= (1U << ndx);
1014 toAct = (XkbAnyAction *) key->acts[ndx];
1022 ACTION("Action for group %d/level %d ignored\n", ndx + 1, i + 1);
1109 ExprResult ndx;
1121 else if (!ExprResolveInteger(arrayNdx, &ndx, SimpleLookup,
1129 else if ((ndx.uval < 1) || (ndx.uval > XkbNumKbdGroups))
1134 ACTION("Ignoring type for group %d\n", ndx.uval);
1139 key->types[ndx.uval - 1] = XkbInternAtom(NULL, tmp.str, False);
1140 key->typesDefined |= (1U << (ndx.uval - 1));