Lines Matching defs:devlist
60 static const SANE_Device **devlist = NULL;
493 if (devlist)
494 free (devlist);
496 devlist = NULL;
612 * \return SANE_STATUS_GOOD if devlist != NULL ; SANE_STATUS_NO_MEM otherwise.
622 static const SANE_Device **devlist = 0;
634 if (devlist)
635 free(devlist);
636 devlist = (const SANE_Device **) calloc (num_devices + 1, sizeof (devlist[0]));
637 if (devlist == NULL)
642 devlist[i] = s_dev;
645 devlist[i] = 0;
646 *device_list = devlist;
647 return (devlist) ? SANE_STATUS_GOOD : SANE_STATUS_NO_MEM;