Lines Matching defs:ndx
105 XkbVModIndexText(XkbDescPtr xkb,unsigned ndx,unsigned format)
118 if (ndx>=XkbNumVirtualMods)
120 else if (vmodNames&&(vmodNames[ndx]!=None))
121 tmp= NameForAtom(vmodNames[ndx]);
123 sprintf(numBuf,"%d",ndx);
224 XkbModIndexText(unsigned ndx,unsigned format)
230 if (ndx<XkbNumModifiers)
231 sprintf(buf,"%sMapIndex",modNames[ndx]);
232 else if (ndx==XkbNoModifier)
234 else sprintf(buf,"0x%02x",ndx);
237 if (ndx<XkbNumModifiers)
238 strcpy(buf,modNames[ndx]);
239 else if (ndx==XkbNoModifier)
241 else sprintf(buf,"ILLEGAL_%02x",ndx);
1192 int ndx,kc;
1195 ndx= ((type==XkbKB_Overlay1)?1:2);
1205 sprintf(buf,"permanentOverlay%d= %s",ndx,kn);
1206 else sprintf(buf,"overlay%d= %s",ndx,kn);