Lines Matching defs:devlist
143 static const SANE_Device **devlist = NULL;
1344 if (devlist)
1345 free (devlist);
1347 devlist = malloc ((num_devices + 1) * sizeof (devlist[0]));
1348 if (!devlist)
1353 devlist[i++] = &dev->sane;
1354 devlist[i++] = 0;
1356 *device_list = devlist;
2004 if (devlist)
2006 free (devlist);
2007 devlist = NULL;