Lines Matching refs:value
52 sanei_check_value (const SANE_Option_Descriptor * opt, void *value)
67 array = (SANE_Word *) value;
101 w = *(SANE_Word *) value;
110 len = strlen (value);
113 if (strncmp (value, string_list[i], len) == 0
123 array = (SANE_Word *) value;
135 barray = (SANE_Bool *) value;
137 /* test each boolean value in the array */
156 * to the given value, and update the info flags holder if needed. It
161 sanei_constrain_value (const SANE_Option_Descriptor * opt, void *value,
177 array = (SANE_Word *) value;
221 * the computed value may exceed max */
237 /* If there is no exact match in the list, use the nearest value */
238 w = *(SANE_Word *) value;
251 *(SANE_Word *) value = word_list[k];
262 len = strlen (value);
268 if (strncasecmp (value, string_list[i], len) == 0
275 if (strcmp (value, string_list[i]) != 0)
277 strcpy (value, string_list[match]);
287 strcpy (value, string_list[match]);
296 b = *(SANE_Bool *) value;