Lines Matching defs:opt
52 sanei_check_value (const SANE_Option_Descriptor * opt, void *value)
62 switch (opt->constraint_type)
70 if (opt->size > 0)
72 count = opt->size / sizeof (SANE_Word);
79 range = opt->constraint.range;
102 word_list = opt->constraint.word_list;
109 string_list = opt->constraint.string_list;
119 switch (opt->type)
126 if (opt->size > 0)
128 count = opt->size / sizeof (SANE_Bool);
161 sanei_constrain_value (const SANE_Option_Descriptor * opt, void *value,
172 switch (opt->constraint_type)
180 if (opt->size > 0)
182 k = opt->size / sizeof (SANE_Word);
189 range = opt->constraint.range;
239 word_list = opt->constraint.word_list;
261 string_list = opt->constraint.string_list;
293 switch (opt->type)