Lines Matching defs:devlist
434 static const SANE_Device **devlist = NULL;
2565 if (devlist)
2566 free (devlist);
2568 devlist = malloc ((num_devices + 1) * sizeof (devlist[0]));
2569 if (!devlist)
2574 devlist[i++] = &dev->sane;
2575 devlist[i++] = 0;
2577 *device_list = devlist;
3441 if (devlist)
3443 free (devlist);
3444 devlist = NULL;