Lines Matching defs:any
4 * Permission is hereby granted, free of charge, to any person obtaining a
408 char *any = (char*)&info[1];
419 memset(any, 0, len);
420 strncpy(any, dev->name, info->name_len);
421 any += len;
424 total_len += ListDeviceClasses(client, dev, any, &info->num_classes);
429 * Write the class info of the device into the memory pointed to by any, set
435 char *any, uint16_t *nclasses)
448 len = ListButtonInfo(dev, (xXIButtonInfo*)any, rc == Success);
449 any += len;
456 len = ListKeyInfo(dev, (xXIKeyInfo*)any);
457 any += len;
464 len = ListValuatorInfo(dev, (xXIValuatorInfo*)any, i, rc == Success);
465 any += len;
476 char *any = (char*)&info[1];
480 any += pad_to_int32(info->name_len);
484 int len = ((xXIAnyInfo*)any)->length;
485 switch(((xXIAnyInfo*)any)->type)
488 SwapButtonInfo(dev, (xXIButtonInfo*)any);
491 SwapKeyInfo(dev, (xXIKeyInfo*)any);
494 SwapValuatorInfo(dev, (xXIValuatorInfo*)any);
498 any += len * 4;