Lines Matching defs:index
164 int index;
166 for (index = 0; index < RDPDR_MAX_DEVICES; index++)
168 if (handle == g_rdpdr_device[index].handle)
169 return (SERIAL_DEVICE *) g_rdpdr_device[index].pdevice_data;
959 int index;
965 index = get_device_index(handle);
966 if (index < 0)
970 pser_inf = (SERIAL_DEVICE *) g_rdpdr_device[index].pdevice_data;
1057 int index;
1060 index = get_device_index(handle);
1061 if (index < 0)
1064 if (g_rdpdr_device[index].device_type != DEVICE_TYPE_SERIAL)
1069 pser_inf = (SERIAL_DEVICE *) g_rdpdr_device[index].pdevice_data;