Lines Matching refs:opt_mode
325 free(test_device->val[opt_mode].s);
326 test_device->val[opt_mode].s = NULL;
387 /* opt_mode */
388 od = &test_device->opt[opt_mode];
398 test_device->val[opt_mode].s = malloc ((size_t) od->size);
399 if (!test_device->val[opt_mode].s)
401 strcpy (test_device->val[opt_mode].s, init_mode);
2367 case opt_mode:
2552 case opt_mode: /* String (list) options */
2645 mode = test_device->val[opt_mode].s;
2788 && strcmp (test_device->val[opt_mode].s, SANE_VALUE_SCAN_MODE_COLOR) == 0))
2793 if (strcmp (test_device->val[opt_mode].s, SANE_VALUE_SCAN_MODE_COLOR) == 0
2978 if (strcmp (test_device->val[opt_mode].s, SANE_VALUE_SCAN_MODE_COLOR) == 0