Searched refs:max_key_code (Results 1 - 25 of 82) sorted by relevance

1234

/xsrc/external/mit/xorg-server.old/dist/xkb/
H A DXKBMAlloc.c54 (!XkbIsLegalKeycode(xkb->max_key_code))||
55 (xkb->max_key_code<xkb->min_key_code))) {
57 xkb->min_key_code,xkb->max_key_code);
104 i= xkb->max_key_code+1;
112 (!XkbIsLegalKeycode(xkb->max_key_code))||
113 (xkb->max_key_code<xkb->min_key_code))
116 i= xkb->max_key_code+1;
145 (!XkbIsLegalKeycode(xkb->max_key_code))||
146 (xkb->max_key_code<xkb->min_key_code))
149 i= xkb->max_key_code
[all...]
H A DxkbUtils.c229 if (first+num-1>xkb->max_key_code) {
231 num= xkb->max_key_code-first+1;
287 for (key=xkb->min_key_code;key<=xkb->max_key_code;key++) {
378 for (key=xkb->min_key_code;key<=xkb->max_key_code;key++) {
430 syms->maxKeyCode = xkb->max_key_code;
432 tmp = syms->mapWidth * (xkb->max_key_code - xkb->min_key_code + 1);
439 for (key=xkb->min_key_code;key<=xkb->max_key_code;key++) {
572 num_keys = xkb->max_key_code - xkb->min_key_code + 1;
943 if (src->max_key_code != dst->max_key_code) {
[all...]
H A DXKBAlloc.c146 (!XkbIsLegalKeycode(xkb->max_key_code))||
147 (xkb->max_key_code<xkb->min_key_code))
149 names->keys= calloc((xkb->max_key_code+1), sizeof(XkbKeyNameRec));
H A DxkbPrKeyEv.c125 (behavior.data<=xkbi->desc->max_key_code)) {
/xsrc/external/mit/libX11/dist/src/xkb/
H A DXKBMAlloc.c52 (!XkbIsLegalKeycode(xkb->max_key_code)) ||
53 (xkb->max_key_code < xkb->min_key_code))) {
56 xkb->min_key_code, xkb->max_key_code);
99 i = xkb->max_key_code + 1;
107 (!XkbIsLegalKeycode(xkb->max_key_code)) ||
108 (xkb->max_key_code < xkb->min_key_code))
111 i = xkb->max_key_code + 1;
141 (!XkbIsLegalKeycode(xkb->max_key_code)) ||
142 (xkb->max_key_code < xkb->min_key_code))
145 i = xkb->max_key_code
[all...]
H A DXKBGetMap.c144 int size = xkb->max_key_code + 1;
273 if ((i + rep->firstKeyAct) > (info->max_key_code + 1)) {
310 int size = xkb->max_key_code + 1;
371 int size = xkb->max_key_code + 1;
390 if (wire[0] > xkb->max_key_code || wire[1] > xkb->max_key_code)
406 (xkb->max_key_code + 1))
420 if (wire[0] > xkb->max_key_code || wire[1] > xkb->max_key_code)
439 > xkb->max_key_code
[all...]
H A DXKBAlloc.c138 (!XkbIsLegalKeycode(xkb->max_key_code)) ||
139 (xkb->max_key_code < xkb->min_key_code))
141 names->keys = _XkbTypedCalloc((xkb->max_key_code + 1), XkbKeyNameRec);
/xsrc/external/mit/xorg-server/dist/xkb/
H A DXKBMAlloc.c52 (!XkbIsLegalKeycode(xkb->max_key_code)) ||
53 (xkb->max_key_code < xkb->min_key_code))) {
55 xkb->min_key_code, xkb->max_key_code);
113 (!XkbIsLegalKeycode(xkb->max_key_code)) ||
114 (xkb->max_key_code < xkb->min_key_code))
146 (!XkbIsLegalKeycode(xkb->max_key_code)) ||
147 (xkb->max_key_code < xkb->min_key_code))
157 (!XkbIsLegalKeycode(xkb->max_key_code)) ||
158 (xkb->max_key_code < xkb->min_key_code))
192 (!XkbIsLegalKeycode(xkb->max_key_code)) ||
[all...]
H A DXKBAlloc.c148 (!XkbIsLegalKeycode(xkb->max_key_code)) ||
149 (xkb->max_key_code < xkb->min_key_code))
151 names->keys = calloc((xkb->max_key_code + 1), sizeof(XkbKeyNameRec));
H A DxkbUtils.c229 if (first + num - 1 > xkb->max_key_code) {
231 num = xkb->max_key_code - first + 1;
286 for (key = xkb->min_key_code; key <= xkb->max_key_code; key++) {
377 for (key = xkb->min_key_code; key <= xkb->max_key_code; key++) {
433 syms->maxKeyCode = xkb->max_key_code;
435 tmp = syms->mapWidth * (xkb->max_key_code - xkb->min_key_code + 1);
442 for (key = xkb->min_key_code; key <= xkb->max_key_code; key++) {
581 num_keys = xkb->max_key_code - xkb->min_key_code + 1;
966 gap = MAP_LENGTH - (src->max_key_code + 1);
981 (src->max_key_code
[all...]
H A DxkbPrKeyEv.c149 (behavior.data <= xkbi->desc->max_key_code)) {
/xsrc/external/mit/xorg-server.old/dist/Xi/
H A Dgetkmap.c110 stuff->firstKeyCode > xkb->max_key_code) {
115 if (stuff->firstKeyCode + stuff->count > xkb->max_key_code + 1) {
H A Dungrdevk.c129 if (((stuff->key > dev->key->xkbInfo->desc->max_key_code) ||
H A Dxiquerydevice.c233 len += (xkb->max_key_code - xkb->min_key_code + 1) * sizeof(uint32_t);
307 info->num_keycodes = xkb->max_key_code - xkb->min_key_code + 1;
312 for (i = xkb->min_key_code; i <= xkb->max_key_code; i++, kc++)
H A Dqueryst.c131 tk->num_keys = k->xkbInfo->desc->max_key_code -
/xsrc/external/mit/xorg-server/dist/Xi/
H A Dgetkmap.c108 stuff->firstKeyCode > xkb->max_key_code) {
113 if (stuff->firstKeyCode + stuff->count > xkb->max_key_code + 1) {
H A Dungrdevk.c128 if (((stuff->key > dev->key->xkbInfo->desc->max_key_code) ||
H A Dqueryst.c123 tk->num_keys = k->xkbInfo->desc->max_key_code -
/xsrc/external/mit/xkbcomp/dist/
H A Dmisc.c423 for (int i = xkb->min_key_code; i <= xkb->max_key_code; i++)
511 else if (start_from > xkb->max_key_code)
519 for (unsigned n = start_from; n <= xkb->max_key_code; n++)
543 xkb->max_key_code = XkbMaxLegalKeyCode;
557 for (unsigned n = xkb->min_key_code; n <= xkb->max_key_code; n++)
/xsrc/external/mit/xorg-server.old/dist/dix/
H A Dinpututils.c148 if (i < xkb->min_key_code || i > xkb->max_key_code) {
169 for (i = xkb->min_key_code; i < xkb->max_key_code; i++) {
196 slave_xkb->max_key_code != master_xkb->max_key_code)
/xsrc/external/mit/libxkbfile/dist/src/
H A Dcout.c88 for (i = 0; i <= xkb->max_key_code; i++) {
91 if (i != xkb->max_key_code) {
341 if (xkb->max_key_code > 0) {
346 for (i = 0; i <= xkb->max_key_code; i++, map++) {
405 for (i = 0; i <= xkb->max_key_code; i++) {
416 for (i = 0; i <= xkb->max_key_code; i++) {
432 for (i = 0; i <= xkb->max_key_code; i++) {
446 for (i = 0; i < xkb->max_key_code; i++) {
1100 fprintf(out, "#define NUM_KEYS %d\n", xkb->max_key_code + 1);
/xsrc/external/mit/xorg-server/dist/include/
H A Dxkbstr.h451 KeyCode max_key_code; member in struct:_XkbDesc
485 (k) <= (d)->max_key_code)
486 #define XkbNumKeys(d) ((d)->max_key_code-(d)->min_key_code+1)
495 KeyCode max_key_code; member in struct:_XkbMapChanges
/xsrc/external/mit/xorg-server.old/dist/include/
H A Dxkbstr.h444 KeyCode max_key_code; member in struct:_XkbDesc
477 (k) <= (d)->max_key_code)
478 #define XkbNumKeys(d) ((d)->max_key_code-(d)->min_key_code+1)
488 KeyCode max_key_code; member in struct:_XkbMapChanges
/xsrc/external/mit/xorgproto/dist/include/X11/extensions/
H A DXKBstr.h306 (xkb->max_key_code + 1) entries allocated for each. */
343 /* key_sym_map is an array of (max_key_code + 1) XkbSymMapRec structs */
346 /* modmap is an array of (max_key_code + 1) unsigned chars */
425 /* keys is an array of (xkb->max_key_code + 1) XkbKeyNameRec entries */
448 KeyCode max_key_code; member in struct:_XkbDesc
479 ((k)<=(d)->max_key_code))
480 #define XkbNumKeys(d) ((d)->max_key_code-(d)->min_key_code+1)
490 KeyCode max_key_code; member in struct:_XkbMapChanges
/xsrc/external/mit/xorg-server.old/dist/test/xi2/
H A Dprotocol-xiquerydevice.c175 g_assert(ki->num_keycodes == (xkb->max_key_code - xkb->min_key_code + 1));
185 g_assert(*kc <= xkb->max_key_code);

Completed in 27 milliseconds

1234