Lines Matching defs:option
33 License, or (at your option) any later version.
1019 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
1023 if (option < 0 || option >= NELEMS (sod))
1025 return &sod[option];
1035 sane_control_option (SANE_Handle handle, SANE_Int option,
1040 if (option < 0 || option >= NELEMS (sod))
1041 return SANE_STATUS_INVAL; /* Unknown option ... */
1043 /* Need to put this DBG line after the range check on option */
1045 handle, sod[option].title,
1054 if (option < 0 || option >= NELEMS (sod))
1055 return SANE_STATUS_INVAL; /* Unknown option ... */
1062 if (!SANE_OPTION_IS_ACTIVE (sod[option].cap))
1071 status = sanei_constrain_value (sod + option, value, &myinfo);
1078 switch (option)
1228 if (!SANE_OPTION_IS_ACTIVE (sod[option].cap))
1233 switch (option)
1279 switch (option)