Lines Matching refs:from

23 in this Software without prior written authorization from The Open Group.
536 SEventDeviceValuator(deviceValuator * from, deviceValuator * to)
542 *to = *from;
552 SEventFocus(deviceFocus * from, deviceFocus * to)
556 *to = *from;
563 SDeviceStateNotifyEvent(deviceStateNotify * from, deviceStateNotify * to)
569 *to = *from;
579 SDeviceKeyStateNotifyEvent(deviceKeyStateNotify * from,
584 *to = *from;
589 SDeviceButtonStateNotifyEvent(deviceButtonStateNotify * from,
594 *to = *from;
599 SChangeDeviceNotifyEvent(changeDeviceNotify * from, changeDeviceNotify * to)
603 *to = *from;
609 SDeviceMappingNotifyEvent(deviceMappingNotify * from, deviceMappingNotify * to)
613 *to = *from;
619 SDevicePresenceNotifyEvent (devicePresenceNotify *from, devicePresenceNotify *to)
623 *to = *from;
630 SDevicePropertyNotifyEvent (devicePropertyNotify *from, devicePropertyNotify *to)
634 *to = *from;
641 SDeviceLeaveNotifyEvent (xXILeaveEvent *from, xXILeaveEvent *to)
645 *to = *from;
666 SDeviceChangedEvent(xXIDeviceChangedEvent* from, xXIDeviceChangedEvent* to)
672 *to = *from;
673 memcpy(&to[1], &from[1], from->length * 4);
732 static void SDeviceEvent(xXIDeviceEvent *from, xXIDeviceEvent *to)
739 memcpy(to, from, sizeof(xEvent) + from->length * 4);
764 ptr += from->buttons_len * 4;
766 ptr += from->valuators_len * 4;
767 for (i = 0; i < from->valuators_len * 32; i++)
779 static void SDeviceHierarchyEvent(xXIHierarchyEvent *from,
786 *to = *from;
787 memcpy(&to[1], &from[1], from->length * 4);
797 for (i = 0; i< from->num_info; i++)
805 static void SXIPropertyEvent(xXIPropertyEvent *from, xXIPropertyEvent *to)
809 *to = *from;
817 static void SRawEvent(xXIRawEvent *from, xXIRawEvent *to)
824 memcpy(to, from, sizeof(xEvent) + from->length * 4);
835 values = (FP3232*)(mask + from->valuators_len * 4);
837 for (i = 0; i < from->valuators_len * 4 * 8; i++)
861 XI2EventSwap(xGenericEvent *from, xGenericEvent *to)
863 switch(from->evtype)
869 SDeviceLeaveNotifyEvent((xXILeaveEvent*)from, (xXILeaveEvent*)to);
872 SDeviceChangedEvent((xXIDeviceChangedEvent*)from,
876 SDeviceHierarchyEvent((xXIHierarchyEvent*)from, (xXIHierarchyEvent*)to);
879 SXIPropertyEvent((xXIPropertyEvent*)from,
887 SDeviceEvent((xXIDeviceEvent*)from, (xXIDeviceEvent*)to);
894 SRawEvent((xXIRawEvent*)from, (xXIRawEvent*)to);
1184 #define DO_SWAP(func,type) func ((type *)from, (type *)to)
1187 SEventIDispatch(xEvent * from, xEvent * to)
1189 int type = from->u.u.type & 0177;
1194 SKeyButtonPtrEvent(from, to);
1195 to->u.keyButtonPointer.pad1 = from->u.keyButtonPointer.pad1;
1197 SKeyButtonPtrEvent(from, to);
1198 to->u.keyButtonPointer.pad1 = from->u.keyButtonPointer.pad1;
1200 SKeyButtonPtrEvent(from, to);
1201 to->u.keyButtonPointer.pad1 = from->u.keyButtonPointer.pad1;
1203 SKeyButtonPtrEvent(from, to);
1204 to->u.keyButtonPointer.pad1 = from->u.keyButtonPointer.pad1;
1206 SKeyButtonPtrEvent(from, to);
1207 to->u.keyButtonPointer.pad1 = from->u.keyButtonPointer.pad1;
1213 SKeyButtonPtrEvent(from, to);
1214 to->u.keyButtonPointer.pad1 = from->u.keyButtonPointer.pad1;
1216 SKeyButtonPtrEvent(from, to);
1217 to->u.keyButtonPointer.pad1 = from->u.keyButtonPointer.pad1;
1241 * Called from InitExtensions in main() or from QueryExtension() if the