Lines Matching defs:devlist
216 static const SANE_Device **devlist = NULL;
1522 if (devlist)
1523 free (devlist);
1525 devlist = malloc ((num_devices + 1) * sizeof (devlist[0]));
1526 if (!devlist)
1531 devlist[i++] = &dev->sane;
1532 devlist[i++] = 0;
1534 *device_list = devlist;
2253 if (devlist)
2255 free (devlist);
2256 devlist = NULL;