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
96 xXIAnyInfo *any;
151 any = (xXIAnyInfo*)((char*)&info[1] + ((info->name_len + 3)/4) * 4);
156 swaps(&any->type, n);
157 swaps(&any->length, n);
158 swaps(&any->sourceid, n);
167 xXIKeyInfo *ki = (xXIKeyInfo*)any;
174 g_assert(any->type == XIKeyClass);
176 g_assert(any->length == (2 + ki->num_keycodes));
192 g_assert(any->type == XIButtonClass ||
193 any->type == XIValuatorClass);
195 if (any->type == XIButtonClass)
198 xXIButtonInfo *bi = (xXIButtonInfo*)any;
207 } else if (any->type == XIValuatorClass)
209 xXIValuatorInfo *vi = (xXIValuatorInfo*)any;
237 any = (xXIAnyInfo*)(((char*)any) + any->length * 4);
240 info = (xXIDeviceInfo*)any;