Home
last modified time | relevance | path

Searched refs:devarray (Results 1 – 2 of 2) sorted by relevance

/third_party/backends/backend/
Dmustek_pp.c114 static SANE_Device **devarray = NULL; variable
1023 if (devarray != NULL) in sane_exit()
1024 free (devarray); in sane_exit()
1025 devarray = NULL; in sane_exit()
1047 if (devarray != NULL) in sane_get_devices()
1048 free (devarray); in sane_get_devices()
1050 devarray = malloc ((num_devices + 1) * sizeof (devarray[0])); in sane_get_devices()
1052 if (devarray == NULL) in sane_get_devices()
1061 devarray[ctr] = &dev->sane; in sane_get_devices()
1065 devarray[num_devices] = NULL; in sane_get_devices()
[all …]
Dumax_pp.c109 static const SANE_Device **devarray = NULL; variable
1004 if (devarray != NULL) in sane_exit()
1006 free (devarray); in sane_exit()
1007 devarray = NULL; in sane_exit()
1032 if (devarray != NULL) in sane_get_devices()
1034 free (devarray); in sane_get_devices()
1035 devarray = NULL; in sane_get_devices()
1038 devarray = malloc ((num_devices + 1) * sizeof (devarray[0])); in sane_get_devices()
1040 if (devarray == NULL) in sane_get_devices()
1048 devarray[i] = &devlist[i].sane; in sane_get_devices()
[all …]