Lines Matching refs:strcmp
1295 if (strcmp (dev->sane.name, devnam) == 0)
1626 if ( strcmp(s->val[OPT_MODE].s, M_LINEART) == 0
1627 || strcmp(s->val[OPT_MODE].s, M_LINEART_COLOR) == 0)
1636 else if (strcmp(s->val[OPT_MODE].s, M_GRAY) == 0)
1739 if (strcmp (value, string_list[i]) != 0)
2394 if (strcmp(word, "option") == 0)
2399 if (strcmp(word, "buffers") == 0)
2417 else if (strcmp(word, "buffersize") == 0)
2432 else if (strcmp(word, "readqueue") == 0)
2447 else if (strcmp(word, "stop_on_fsu_error") == 0)
2463 else if (strcmp(word, "default_scan_source") == 0)
2468 if (strcmp(word, "auto") == 0)
2470 else if (strcmp(word, "fsu") == 0)
2472 else if (strcmp(word, "adf") == 0)
2474 else if (strcmp(word, "flatbed") == 0)
2625 if (strcmp (dev->sane.name, devnam) == 0)
2849 if (strcmp (val, M_LINEART) == 0)
2860 else if (strcmp (val, M_LINEART_COLOR) == 0)
2882 if ( strcmp (val, M_LINEART) == 0
2883 || strcmp (val, M_GRAY) == 0)
2913 if (info && strcmp (s->val[option].s, (SANE_String) val))
2921 if (strcmp(val, use_fsu) == 0)
2923 else if (strcmp(val, use_adf) == 0)
2957 if (strcmp (s->val[option].s, "A3") == 0){
2960 }else if (strcmp (s->val[option].s, "A4") == 0){
2963 }else if (strcmp (s->val[option].s, "A5") == 0){
2966 }else if (strcmp (s->val[option].s, "A6") == 0){
2969 }else if (strcmp (s->val[option].s, "B4") == 0){
2972 }else if (strcmp (s->val[option].s, "B5") == 0){
2975 }else if (strcmp (s->val[option].s, W_LETTER) == 0){
2978 }else if (strcmp (s->val[option].s, "Legal") == 0){
2981 }else if (strcmp (s->val[option].s, "Letter") == 0){
2984 }else if (strcmp (s->val[option].s, INVOICE) == 0){
2996 if (strcmp (val,
3107 if (strcmp (mode, M_LINEART) == 0)
3114 else if (strcmp (mode, M_GRAY) == 0)
3467 if (strcmp (adf_fsu, use_auto) == 0)
3471 if (strcmp(adf_fsu, use_fsu) == 0)
3473 else if (strcmp(adf_fsu, use_adf) == 0)
3475 else if (strcmp(adf_fsu, use_adf) == 0)
3478 if (strcmp (mode, M_LINEART) == 0)
3481 if (strcmp(halftone, M_BILEVEL) == 0)
3486 else if (strcmp(halftone, M_BAYER) == 0)
3491 else if (strcmp(halftone, M_SPIRAL) == 0)
3496 else if (strcmp(halftone, M_DISPERSED) == 0)
3501 else if (strcmp(halftone, M_ERRDIFFUSION) == 0)
3507 else if (strcmp (mode, M_GRAY) == 0)
3512 else if (strcmp (mode, M_LINEART_COLOR) == 0)
3515 if (strcmp(halftone, M_BILEVEL) == 0)
3520 else if (strcmp(halftone, M_BAYER) == 0)
3525 else if (strcmp(halftone, M_SPIRAL) == 0)
3530 else if (strcmp(halftone, M_DISPERSED) == 0)
3535 else if (strcmp(halftone, M_ERRDIFFUSION) == 0)
3541 else if (strcmp (mode, M_COLOR) == 0)
3547 if (strcmp (edge, EDGE_NONE) == 0)
3552 else if (strcmp (edge, EDGE_MIDDLE) == 0)
3557 else if (strcmp (edge, EDGE_STRONG) == 0)
3562 else if (strcmp (edge, EDGE_BLUR) == 0)
3569 if (strcmp(lightcolor, LIGHT_GREEN) == 0)
3571 else if (strcmp(lightcolor, LIGHT_RED) == 0)
3573 else if (strcmp(lightcolor, LIGHT_BLUE) == 0)
3575 else if (strcmp(lightcolor, LIGHT_WHITE) == 0)
3622 if (strcmp (gamma, GAMMA10) == 0)
3646 if (strcmp (gamma, GAMMA10) == 0)
3881 if (strcmp (mode, M_LINEART_COLOR) != 0)