Home
last modified time | relevance | path

Searched refs:scan_mode_opt (Results 1 - 1 of 1) sorted by relevance

/third_party/backends/frontend/
H A Dtstbackend.c1480 const SANE_Option_Descriptor *scan_mode_opt; in test_scans() local
1496 scan_mode_opt = get_optdesc_by_name(device, SANE_NAME_SCAN_MODE, &scan_mode_optnum); in test_scans()
1497 if (scan_mode_opt) { in test_scans()
1499 rc = check(INF, (scan_mode_opt->type == SANE_TYPE_STRING), in test_scans()
1502 rc = check(INF, (scan_mode_opt->constraint_type == SANE_CONSTRAINT_STRING_LIST), in test_scans()
1505 rc = check(INF, (SANE_OPTION_IS_SETTABLE(scan_mode_opt->cap)), in test_scans()
1517 if (scan_mode_opt) { in test_scans()
1519 for (i=0; scan_mode_opt->constraint.string_list[i] != NULL; i++) { in test_scans()
1521 val_string = strdup(scan_mode_opt->constraint.string_list[i]); in test_scans()

Completed in 3 milliseconds