Home
last modified time | relevance | path

Searched refs:sane_devArray (Results 1 - 5 of 5) sorted by relevance

/third_party/backends/backend/
H A Dcardscan.c251 static const SANE_Device **sane_devArray = NULL; variable
415 sane_devArray = calloc (num_devices + 1, sizeof (SANE_Device*)); in sane_get_devices()
416 if (!sane_devArray) in sane_get_devices()
420 sane_devArray[i++] = (SANE_Device *)&dev->sane; in sane_get_devices()
423 sane_devArray[i] = 0; in sane_get_devices()
425 *device_list = sane_devArray; in sane_get_devices()
1494 if (sane_devArray) in sane_exit()
1495 free (sane_devArray); in sane_exit()
1498 sane_devArray = NULL; in sane_exit()
H A Dkodak.c155 static const SANE_Device **sane_devArray = NULL; variable
312 sane_devArray = calloc (num_devices + 1, sizeof (SANE_Device*)); in sane_get_devices()
313 if (!sane_devArray) in sane_get_devices()
317 sane_devArray[i++] = (SANE_Device *)&dev->sane; in sane_get_devices()
320 sane_devArray[i] = 0; in sane_get_devices()
323 *device_list = sane_devArray; in sane_get_devices()
2522 if (sane_devArray) in sane_exit()
2523 free (sane_devArray); in sane_exit()
2526 sane_devArray = NULL; in sane_exit()
H A Depjitsu.c255 static const SANE_Device **sane_devArray = NULL; variable
427 if (sane_devArray) in sane_get_devices()
428 free (sane_devArray); in sane_get_devices()
430 sane_devArray = calloc (num_devices + 1, sizeof (SANE_Device*)); in sane_get_devices()
431 if (!sane_devArray) in sane_get_devices()
435 sane_devArray[i++] = (SANE_Device *)&s->sane; in sane_get_devices()
437 sane_devArray[i] = 0; in sane_get_devices()
440 *device_list = sane_devArray; in sane_get_devices()
4804 if (sane_devArray) in sane_exit()
4805 free (sane_devArray); in sane_exit()
[all...]
H A Dcanon_dr.c486 static const SANE_Device **sane_devArray = NULL; variable
885 if (sane_devArray) in sane_get_devices()
886 free (sane_devArray); in sane_get_devices()
888 sane_devArray = calloc (num_devices + 1, sizeof (SANE_Device*)); in sane_get_devices()
889 if (!sane_devArray) in sane_get_devices()
893 sane_devArray[i++] = (SANE_Device *)&s->sane; in sane_get_devices()
895 sane_devArray[i] = 0; in sane_get_devices()
898 *device_list = sane_devArray; in sane_get_devices()
8080 if (sane_devArray) in sane_exit()
8081 free (sane_devArray); in sane_exit()
[all...]
H A Dfujitsu.c308 - free sane_devArray before calloc'ing a new one
749 static const SANE_Device **sane_devArray = NULL; variable
944 if (sane_devArray) in sane_get_devices()
945 free (sane_devArray); in sane_get_devices()
947 sane_devArray = calloc (num_devices + 1, sizeof (SANE_Device*)); in sane_get_devices()
948 if (!sane_devArray) in sane_get_devices()
952 sane_devArray[i++] = (SANE_Device *)&s->sane; in sane_get_devices()
954 sane_devArray[i] = 0; in sane_get_devices()
957 *device_list = sane_devArray; in sane_get_devices()
9262 if (sane_devArray) in sane_exit()
[all...]

Completed in 27 milliseconds