Lines Matching refs:strcmp
444 if (strcmp (init_mode, SANE_VALUE_SCAN_MODE_COLOR) != 0)
459 if (strcmp (init_mode, SANE_VALUE_SCAN_MODE_COLOR) != 0)
1304 if (strcmp (word, option_string) != 0)
1328 if (strcmp (word, "true") != 0 && strcmp (word, "false") != 0)
1334 else if (strcmp (word, "true") == 0)
1990 if (strcmp (devicename, test_device->name) == 0)
2299 if (strcmp (test_device->val[option].s, value) == 0)
2328 if (strcmp (test_device->val[option].s, value) == 0)
2368 if (strcmp (test_device->val[option].s, value) == 0)
2377 if (strcmp (test_device->val[option].s, SANE_VALUE_SCAN_MODE_COLOR) == 0)
2677 if (strcmp (mode, SANE_VALUE_SCAN_MODE_GRAY) == 0)
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
2806 if ((strcmp (test_device->val[opt_scan_source].s, "Automatic Document Feeder") == 0) &&
2898 if (strcmp (test_device->val[opt_read_status_code].s, "Default") != 0)
2902 if (strcmp (sc, "SANE_STATUS_UNSUPPORTED") == 0)
2904 if (strcmp (sc, "SANE_STATUS_CANCELLED") == 0)
2906 if (strcmp (sc, "SANE_STATUS_DEVICE_BUSY") == 0)
2908 if (strcmp (sc, "SANE_STATUS_INVAL") == 0)
2910 if (strcmp (sc, "SANE_STATUS_EOF") == 0)
2912 if (strcmp (sc, "SANE_STATUS_JAMMED") == 0)
2914 if (strcmp (sc, "SANE_STATUS_NO_DOCS") == 0)
2916 if (strcmp (sc, "SANE_STATUS_COVER_OPEN") == 0)
2918 if (strcmp (sc, "SANE_STATUS_IO_ERROR") == 0)
2920 if (strcmp (sc, "SANE_STATUS_NO_MEM") == 0)
2922 if (strcmp (sc, "SANE_STATUS_ACCESS_DENIED") == 0)
2978 if (strcmp (test_device->val[opt_mode].s, SANE_VALUE_SCAN_MODE_COLOR) == 0