Lines Matching defs:ndx
117 XkbVModIndexText(XkbDescPtr xkb, unsigned ndx, unsigned format)
131 if (ndx >= XkbNumVirtualMods)
133 else if (vmodNames && (vmodNames[ndx] != None))
134 tmp = NameForAtom(vmodNames[ndx]);
136 snprintf(numBuf, sizeof(numBuf), "%d", ndx);
245 XkbModIndexText(unsigned ndx, unsigned format)
250 if (ndx < XkbNumModifiers)
251 snprintf(buf, sizeof(buf), "%sMapIndex", modNames[ndx]);
252 else if (ndx == XkbNoModifier)
255 snprintf(buf, sizeof(buf), "0x%02x", ndx);
258 if (ndx < XkbNumModifiers)
259 strcpy(buf, modNames[ndx]);
260 else if (ndx == XkbNoModifier)
263 snprintf(buf, sizeof(buf), "ILLEGAL_%02x", ndx);
1305 int ndx, kc;
1308 ndx = ((type == XkbKB_Overlay1) ? 1 : 2);
1319 snprintf(buf, sizeof(buf), "permanentOverlay%d= %s", ndx, kn);
1321 snprintf(buf, sizeof(buf), "overlay%d= %s", ndx, kn);