Lines Matching refs:nElts
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()
1953 WriteToClient(client, nElts, &butc->map[1]); in ProcGetPointerMapping()