Searched refs:nElts (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/external/xserver/Xi/ |
| H A D | getbmap.c | 99 .nElts = 0, in ProcXGetDeviceButtonMapping() 111 rep.nElts = b->numButtons; in ProcXGetDeviceButtonMapping() 112 rep.length = bytes_to_int32(rep.nElts); in ProcXGetDeviceButtonMapping() 114 WriteToClient(client, rep.nElts, &b->map[1]); in ProcXGetDeviceButtonMapping()
|
| H A D | exevents.c | 2715 SetButtonMapping(ClientPtr client, DeviceIntPtr dev, int nElts, BYTE * map) in SetButtonMapping() argument 2723 if (nElts != b->numButtons) { in SetButtonMapping() 2724 client->errorValue = nElts; in SetButtonMapping() 2727 if (BadDeviceMap(&map[0], nElts, 1, 255, &client->errorValue)) in SetButtonMapping() 2729 for (i = 0; i < nElts; i++) in SetButtonMapping() 2732 for (i = 0; i < nElts; i++) in SetButtonMapping()
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | devices.c | 1830 bytes_to_int32(sizeof(xSetPointerMappingReq) + stuff->nElts)) in ProcSetPointerMapping() 1847 if (stuff->nElts != ptr->button->numButtons) { in ProcSetPointerMapping() 1848 client->errorValue = stuff->nElts; in ProcSetPointerMapping() 1854 for (i = 0; i < stuff->nElts; i++) { in ProcSetPointerMapping() 1855 for (j = i + 1; j < stuff->nElts; j++) { in ProcSetPointerMapping() 1863 ret = ApplyPointerMapping(ptr, map, stuff->nElts, client); in ProcSetPointerMapping() 1935 int nElts; in ProcGetPointerMapping() local 1944 nElts = (butc) ? butc->numButtons : 0; in ProcGetPointerMapping() 1947 .nElts = nElts, in ProcGetPointerMapping() 1949 .length = ((unsigned) nElts + (4 - 1)) / 4 in ProcGetPointerMapping() [all …]
|
| /OK3568_Linux_fs/external/xserver/ |
| H A D | ChangeLog | 70897 ProcGetPointerMapping uses rep.nElts before it is initialized 70908 structure uses the value of rep.nElts, but that won't be set until 70916 Fixed by creating a local nElts variable and using that.
|