Lines Matching defs:devlist
469 static const SANE_Device **devlist = NULL;
1757 if (devlist)
1758 free (devlist);
1760 devlist = malloc ((num_devices + 1) * sizeof (devlist[0]));
1761 if (!devlist)
1766 devlist[i++] = &dev->sane;
1767 devlist[i++] = 0;
1769 *device_list = devlist;
2502 if (devlist)
2504 free (devlist);
2505 devlist = NULL;