Lines Matching defs:value

157 static SANE_Word window_val[2]; /*the value for x,y options*/
562 /* print current option value */
684 V is the value of the scalar. It is either an integer or a
703 SANE_Word * value)
716 "%s: option --%s: bad option value (rest of option: %s)\n",
778 *value = v - 0.5;
781 *value = v + 0.5;
792 vector element to be set next. If I is not present, the value of
793 last index used plus 1 is used. The first index value used is 0
796 S is a scalar value as defined by parse_scalar().
798 If two consecutive value specs are separated by a comma (,) their
801 the two endpoints are set according to the value of the
803 256 elements whose value is 15. Similarly, [0]0-[255]255 defines a
804 vector of 256 elements whose value starts at 0 and increases to
810 SANE_Word value, prev_value = 0;
842 /* read value */
843 str = parse_scalar (opt, str, &value);
855 /* store value: */
856 vector[index] = value;
864 slope = ((double) value - v) / (index - prev_index);
874 prev_value = value;
883 fprintf (stderr, "%s: value for --%s is: ", prog_name, opt->name);
912 fprintf (stderr, "Could not get value for option 0: %s\n",
1059 fprintf (stderr, "%s: rounded value of %s from %d to %d\n",
1062 fprintf (stderr, "%s: rounded value of %s from %g to %g\n",
1079 SANE_Word value;
1112 valuep = &value;
1116 value = 1; /* no argument means option is set */
1120 value = 1;
1122 value = 0;
1125 fprintf (stderr, "%s: option --%s: bad option value `%s'\n",
1162 value = 0; /* value doesn't matter */
1560 fprintf (stderr, "%s: min/max graylevel value = %d/%d\n",
2457 /* Good form to always get the descriptor once before value */