Lines Matching defs:value
993 /* add the next hex value to the hex string */
3640 search_string_list (const SANE_String_Const * list, SANE_String value)
3642 while (*list != NULL && strcmp (value, *list) != 0)
3659 then the value of the changed flag is not modified.
3701 getvalue (SANE_Handle handle, SANE_Int option, void *value)
3713 memcpy (value, sval->wa, sopt->size);
3744 *((SANE_Word *) value) = sval->w;
3757 strcpy ((char *) value, sopt->constraint.string_list[sval->w]);
3761 strcpy (value, sval->s);
3824 handle_source (Epson_Scanner * s, SANE_Int optindex, char *value)
3855 if (strcmp (ADF_STR, value) == 0)
3873 else if (strcmp (TPU_STR, value) == 0)
3945 setvalue (SANE_Handle handle, SANE_Int option, void *value, SANE_Int * info)
3956 DBG (5, "setvalue(option = %d, value = %p)\n", option, value);
3958 status = sanei_constrain_value (sopt, value, info);
3971 (char *) value);
3984 memcpy (sval->wa, value, sopt->size); /* Word arrays */
3996 sval->w = *((SANE_Word *) value); /* Simple values */
4012 sval->w = *((SANE_Word *) value);
4020 sval->w = *((SANE_Word *) value);
4027 handle_source (s, optindex, (char *) value);
4090 sval->w = *((SANE_Word *) value);
4143 sval->w = *((SANE_Word *) value);
4147 sval->w = *((SANE_Word *) value);
4194 SANE_Action action, void *value, SANE_Int * info)
4205 return (getvalue (handle, option, value));
4208 return (setvalue (handle, option, value, info));
4581 * NOTE: I think I should throw that "params" stuff as long w is already the value.
4652 * If "Default" is selected then determine the actual value
4654 * value from the table (0x01), for grayscale or color mode
6338 /* add the value */