Lines Matching refs:tbuf
711 char tbuf[32];
716 sprintf(tbuf,"%d",XkbSAGroup(act)+1);
718 sprintf(tbuf,"%d",XkbSAGroup(act));
719 else sprintf(tbuf,"+%d",XkbSAGroup(act));
720 TryCopyStr(buf,tbuf,sz);
736 char tbuf[32];
742 sprintf(tbuf,"x=%d",x);
743 else sprintf(tbuf,"x=+%d",x);
744 TryCopyStr(buf,tbuf,sz);
747 sprintf(tbuf,",y=%d",y);
748 else sprintf(tbuf,",y=+%d",y);
749 TryCopyStr(buf,tbuf,sz);
760 char tbuf[32];
765 sprintf(tbuf,"%d",act->button);
766 TryCopyStr(buf,tbuf,sz);
770 sprintf(tbuf,",count=%d",act->count);
771 TryCopyStr(buf,tbuf,sz);
776 sprintf(tbuf,",affect=unlock"); break;
778 sprintf(tbuf,",affect=lock"); break;
780 sprintf(tbuf,",affect=neither"); break;
782 sprintf(tbuf,",affect=both"); break;
784 TryCopyStr(buf,tbuf,sz);
795 char tbuf[32];
801 sprintf(tbuf,"%d",XkbSAPtrDfltValue(act));
802 else sprintf(tbuf,"+%d",XkbSAPtrDfltValue(act));
803 TryCopyStr(buf,tbuf,sz);
812 char tbuf[64];
816 TryCopyStr(tbuf,"group=",sz);
818 sprintf(tbuf,"%d",XkbSAGroup(act)+1);
820 sprintf(tbuf,"%d",XkbSAGroup(act));
821 else sprintf(tbuf,"+%d",XkbSAGroup(act));
822 TryCopyStr(buf,tbuf,sz);
851 sprintf(tbuf,"%sgroups",(nOut>0?"+":""));
852 TryCopyStr(buf,tbuf,sz);
856 sprintf(tbuf,"%spointer",(nOut>0?"+":""));
857 TryCopyStr(buf,tbuf,sz);
861 sprintf(tbuf,"%scontrols",(nOut>0?"+":""));
862 TryCopyStr(buf,tbuf,sz);
875 char tbuf[32];
879 sprintf(tbuf,"screen=%d",XkbSAScreen(act));
880 else sprintf(tbuf,"screen=+%d",XkbSAScreen(act));
881 TryCopyStr(buf,tbuf,sz);
895 char tbuf[32];
907 sprintf(tbuf,"%sRepeatKeys",(nOut>0?"+":""));
908 TryCopyStr(buf,tbuf,sz);
912 sprintf(tbuf,"%sSlowKeys",(nOut>0?"+":""));
913 TryCopyStr(buf,tbuf,sz);
917 sprintf(tbuf,"%sBounceKeys",(nOut>0?"+":""));
918 TryCopyStr(buf,tbuf,sz);
922 sprintf(tbuf,"%sStickyKeys",(nOut>0?"+":""));
923 TryCopyStr(buf,tbuf,sz);
927 sprintf(tbuf,"%sMouseKeys",(nOut>0?"+":""));
928 TryCopyStr(buf,tbuf,sz);
932 sprintf(tbuf,"%sMouseKeysAccel",(nOut>0?"+":""));
933 TryCopyStr(buf,tbuf,sz);
937 sprintf(tbuf,"%sAccessXKeys",(nOut>0?"+":""));
938 TryCopyStr(buf,tbuf,sz);
942 sprintf(tbuf,"%sAccessXTimeout",(nOut>0?"+":""));
943 TryCopyStr(buf,tbuf,sz);
947 sprintf(tbuf,"%sAccessXFeedback",(nOut>0?"+":""));
948 TryCopyStr(buf,tbuf,sz);
952 sprintf(tbuf,"%sAudibleBell",(nOut>0?"+":""));
953 TryCopyStr(buf,tbuf,sz);
957 sprintf(tbuf,"%sOverlay1",(nOut>0?"+":""));
958 TryCopyStr(buf,tbuf,sz);
962 sprintf(tbuf,"%sOverlay2",(nOut>0?"+":""));
963 TryCopyStr(buf,tbuf,sz);
967 sprintf(tbuf,"%sIgnoreGroupLock",(nOut>0?"+":""));
968 TryCopyStr(buf,tbuf,sz);
982 char tbuf[32];
994 sprintf(tbuf,",data[0]=0x%02x",act->message[0]); TryCopyStr(buf,tbuf,sz);
995 sprintf(tbuf,",data[1]=0x%02x",act->message[1]); TryCopyStr(buf,tbuf,sz);
996 sprintf(tbuf,",data[2]=0x%02x",act->message[2]); TryCopyStr(buf,tbuf,sz);
997 sprintf(tbuf,",data[3]=0x%02x",act->message[3]); TryCopyStr(buf,tbuf,sz);
998 sprintf(tbuf,",data[4]=0x%02x",act->message[4]); TryCopyStr(buf,tbuf,sz);
999 sprintf(tbuf,",data[5]=0x%02x",act->message[5]); TryCopyStr(buf,tbuf,sz);
1008 char tbuf[32],*tmp;
1020 sprintf(tbuf,"key=%s",kn);
1022 else sprintf(tbuf,"key=%d",kc);
1023 TryCopyStr(buf,tbuf,sz);
1055 char tbuf[32];
1058 sprintf(tbuf,"device= %d",act->device); TryCopyStr(buf,tbuf,sz);
1060 sprintf(tbuf,"%d",act->button);
1061 TryCopyStr(buf,tbuf,sz);
1063 sprintf(tbuf,",count=%d",act->count);
1064 TryCopyStr(buf,tbuf,sz);
1069 sprintf(tbuf,",affect=unlock"); break;
1071 sprintf(tbuf,",affect=lock"); break;
1073 sprintf(tbuf,",affect=neither"); break;
1075 sprintf(tbuf,",affect=both"); break;
1077 TryCopyStr(buf,tbuf,sz);
1087 char tbuf[32];
1090 sprintf(tbuf,"type=0x%02x",act->type); TryCopyStr(buf,tbuf,sz);
1091 sprintf(tbuf,",data[0]=0x%02x",act->data[0]); TryCopyStr(buf,tbuf,sz);
1092 sprintf(tbuf,",data[1]=0x%02x",act->data[1]); TryCopyStr(buf,tbuf,sz);
1093 sprintf(tbuf,",data[2]=0x%02x",act->data[2]); TryCopyStr(buf,tbuf,sz);
1094 sprintf(tbuf,",data[3]=0x%02x",act->data[3]); TryCopyStr(buf,tbuf,sz);
1095 sprintf(tbuf,",data[4]=0x%02x",act->data[4]); TryCopyStr(buf,tbuf,sz);
1096 sprintf(tbuf,",data[5]=0x%02x",act->data[5]); TryCopyStr(buf,tbuf,sz);
1097 sprintf(tbuf,",data[6]=0x%02x",act->data[6]); TryCopyStr(buf,tbuf,sz);
1200 static char tbuf[8];
1201 sprintf(tbuf,"%d",kc);
1202 kn= tbuf;