Searched refs:nElts (Results 1 - 11 of 11) sorted by relevance

/xsrc/external/mit/libXi/dist/src/
H A DXGetBMap.c96 rep.nElts <= (rep.length << 2)) {
101 if (rep.nElts)
102 memcpy(map, mapping, MIN((int)rep.nElts, nmap));
103 status = rep.nElts;
/xsrc/external/mit/xorg-server.old/dist/Xi/
H A Dgetbmap.c99 rep.nElts = 0;
111 rep.nElts = b->numButtons;
112 rep.length = bytes_to_int32(rep.nElts);
114 (void)WriteToClient(client, rep.nElts, (char *)&b->map[1]);
H A Dexevents.c1801 SetButtonMapping(ClientPtr client, DeviceIntPtr dev, int nElts, BYTE * map) argument
1809 if (nElts != b->numButtons) {
1810 client->errorValue = nElts;
1813 if (BadDeviceMap(&map[0], nElts, 1, 255, &client->errorValue))
1815 for (i = 0; i < nElts; i++)
1818 for (i = 0; i < nElts; i++)
/xsrc/external/mit/xorg-server/dist/Xi/
H A Dgetbmap.c99 .nElts = 0,
111 rep.nElts = b->numButtons;
112 rep.length = bytes_to_int32(rep.nElts);
114 WriteToClient(client, rep.nElts, &b->map[1]);
H A Dexevents.c2964 SetButtonMapping(ClientPtr client, DeviceIntPtr dev, int nElts, BYTE * map) argument
2972 if (nElts != b->numButtons) {
2973 client->errorValue = nElts;
2976 if (BadDeviceMap(&map[0], nElts, 1, 255, &client->errorValue))
2978 for (i = 0; i < nElts; i++)
2981 for (i = 0; i < nElts; i++)
/xsrc/external/mit/libX11/dist/src/
H A DGetPntMap.c74 if (rep.nElts) {
76 MIN((int)rep.nElts, nmaps) );
84 return ((int) rep.nElts);
H A DSetPntMap.c44 req->nElts = nmaps;
/xsrc/external/mit/xorg-server/dist/dix/
H A Ddevices.c1893 bytes_to_int32(sizeof(xSetPointerMappingReq) + stuff->nElts))
1910 if (stuff->nElts != ptr->button->numButtons) {
1911 client->errorValue = stuff->nElts;
1917 for (i = 0; i < stuff->nElts; i++) {
1918 for (j = i + 1; j < stuff->nElts; j++) {
1926 ret = ApplyPointerMapping(ptr, map, stuff->nElts, client);
1998 int nElts; local in function:ProcGetPointerMapping
2007 nElts = (butc) ? butc->numButtons : 0;
2010 .nElts = nElts,
[all...]
/xsrc/external/mit/xorg-server.old/dist/dix/
H A Ddevices.c1755 bytes_to_int32(sizeof(xSetPointerMappingReq) + stuff->nElts))
1769 if (stuff->nElts != ptr->button->numButtons) {
1770 client->errorValue = stuff->nElts;
1776 for (i = 0; i < stuff->nElts; i++) {
1777 for (j = i + 1; j < stuff->nElts; j++) {
1785 ret = ApplyPointerMapping(ptr, map, stuff->nElts, client);
1863 rep.nElts = (butc) ? butc->numButtons : 0;
1864 rep.length = ((unsigned)rep.nElts + (4-1))/4;
1867 WriteToClient(client, (int)rep.nElts, (char *)&butc->map[1]);
/xsrc/external/mit/xorgproto/dist/include/X11/
H A DXproto.h878 CARD8 nElts; /* how many elements does the map have */
1930 CARD8 nElts; /* how many elements in the map */
876 CARD8 nElts; /* how many elements does the map have */ member in struct:__anone2852e7a2e08
1926 CARD8 nElts; /* how many elements in the map */ member in struct:__anone2852e7a9508
/xsrc/external/mit/xorgproto/dist/include/X11/extensions/
H A DXIproto.h1094 CARD8 nElts; member in struct:__anonacf995023b08

Completed in 26 milliseconds