Lines Matching defs:optindex
3142 change_source(KodakAio_Scanner *s, SANE_Int optindex, char *value)
3147 DBG(5, "%s: optindex = %d, source = '%s'\n", __func__, optindex,
3150 if (s->val[OPT_SOURCE].w == optindex)
3153 s->val[OPT_SOURCE].w = optindex;
3210 int optindex = 0;
3229 optindex = optval - sopt->constraint.string_list;
3236 sval->w = optindex;
3238 if (optindex == MODE_LINEART) {
3252 s->val[OPT_BIT_DEPTH].w = mode_params[optindex].depth;
3295 change_source(s, optindex, (char *) value);
3300 sval->w = optindex; /* Simple lists */