Home | History | Annotate | Download | only in xi2

Lines Matching refs:any

4  *  Permission is hereby granted, free of charge, to any person obtaining a
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
102 xXIAnyInfo *any;
153 any =
157 swaps(&any->type);
158 swaps(&any->length);
159 swaps(&any->sourceid);
167 xXIKeyInfo *ki = (xXIKeyInfo *) any;
174 assert(any->type == XIKeyClass);
177 assert(any->length == (2 + ki->num_keycodes));
191 assert(any->type == XIButtonClass ||
192 any->type == XIValuatorClass ||
193 any->type == XIScrollClass);
195 if (any->type == XIScrollClass) {
196 xXIScrollInfo *si = (xXIScrollInfo *) any;
227 assert(any->type == XIButtonClass ||
228 any->type == XIValuatorClass);
230 if (any->type == XIButtonClass) {
232 xXIButtonInfo *bi = (xXIButtonInfo *) any;
243 else if (any->type == XIValuatorClass) {
244 xXIValuatorInfo *vi = (xXIValuatorInfo *) any;
274 any = (xXIAnyInfo *) (((char *) any) + any->length * 4);
277 info = (xXIDeviceInfo *) any;