Home
last modified time | relevance | path

Searched refs:folder_list (Results 1 - 2 of 2) sorted by relevance

/third_party/backends/backend/
H A Dgphoto2.c143 static SANE_String *folder_list; variable
565 /* If we've already got a folder_list, free it up before starting in get_info()
568 if (folder_list != NULL) in get_info()
571 for (tmp = 0; folder_list[tmp]; tmp++) in get_info()
573 free (folder_list[tmp]); in get_info()
575 free (folder_list); in get_info()
578 folder_list = in get_info()
586 folder_list[n] = strdup (val); in get_info()
587 if (strchr ((const char *) folder_list[n], ' ')) in get_info()
589 *strchr ((const char *) folder_list[ in get_info()
[all...]
H A Ddc240.c130 static SANE_String **folder_list; variable
597 /* If we've already got a folder_list, free it up before starting in get_info()
600 if (folder_list != NULL) in get_info()
603 for (tmp = 0; folder_list[tmp]; tmp++) in get_info()
605 free (folder_list[tmp]); in get_info()
607 free (folder_list); in get_info()
610 folder_list = (SANE_String * *)malloc ((n + 1) * sizeof (SANE_String *)); in get_info()
613 folder_list[n] = (SANE_String *) strdup (e->name); in get_info()
614 if (strchr ((char *) folder_list[n], ' ')) in get_info()
616 *strchr ((char *) folder_list[ in get_info()
[all...]

Completed in 3 milliseconds