Lines Matching defs:list
744 SANE_String_Const *psl; /* string list */
745 int *psv; /* value list */
780 psl[num] = NULL; /* terminate the list */
790 /* Lookup a string list from one array and return its index. */
792 get_string_list_index (SANE_String_Const list[], SANE_String_Const name)
797 while (list[index] != NULL)
799 if (strcmp (list[index], name) == 0)
806 DBG (DBG_error, "name %s not found in list\n", name);
813 /* Lookup an int list from one array and return its index. */
815 get_int_list_index (const SANE_Word list[], const SANE_Word value)
821 size = list[0];
824 if (list[index] == value)
831 DBG (DBG_error, "word %d not found in list\n", value);
1139 /* Paper sizes list. */
1819 /* Build a list a paper size that fit into this scanner. */