Lines Matching defs:devlist
156 static const SANE_Device **devlist = NULL;
1544 if (devlist)
1545 free (devlist);
1547 devlist = malloc ((num_devices + 1) * sizeof (devlist[0]));
1548 if (!devlist)
1553 devlist[i++] = &dev->sane;
1554 devlist[i++] = 0;
1556 *device_list = devlist;
2245 if (devlist)
2247 free (devlist);
2248 devlist = NULL;