Lines Matching defs:arg
134 static SANE_Status st400_sense_handler( int fd, SANE_Byte *result, void *arg );
437 st400_sense_handler( int fd, SANE_Byte *result, void *arg )
439 /* ST400_Device *dev = arg; */
443 (void) arg; /* silence compilation warnings */
600 unsigned long arg;
609 status = st400_config_get_single_arg(opt, &arg, linenum);
611 if( arg == 0 )
614 st400_maxread = (size_t)arg;
620 status = st400_config_get_single_arg(opt, &arg, linenum);
622 st400_light_delay = (size_t)arg;
627 status = st400_config_get_single_arg(opt, &arg, linenum);
630 st400_devices->model->bufsize = arg; /* FIXME: changes bufsize for all scanners of this model! */
635 status = st400_config_get_single_arg(opt, &arg, linenum);
638 st400_devices->model->bits = arg; /* FIXME */
643 status = st400_config_get_single_arg(opt, &arg, linenum);
646 st400_devices->model->maxread = arg; /* FIXME */
654 status = st400_config_get_arg(&opt, &arg, linenum);
657 st400_devices->model->dpi_list[i] = (SANE_Int)arg;