Lines Matching defs:option
18 License, or (at your option) any later version.
1022 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
1026 if (option < 0 || option >= NELEMS (sod))
1028 return &sod[option];
1034 sane_control_option (SANE_Handle handle, SANE_Int option,
1039 if (option < 0 || option >= NELEMS (sod))
1040 return SANE_STATUS_INVAL; /* Unknown option ... */
1042 /* Need to put this DBG line after the range check on option */
1044 handle, sod[option].title,
1058 if (!SANE_OPTION_IS_ACTIVE (sod[option].cap))
1067 status = sanei_constrain_value (sod + option, value, &myinfo);
1074 switch (option)
1205 if (!SANE_OPTION_IS_ACTIVE (sod[option].cap))
1210 switch (option)
1250 switch (option)