Lines Matching refs:strcmp

994       if (strcmp (dev->sane.name, devnam) == 0)
1266 if ( strcmp(s->val[OPT_MODE].s, M_LINEART) == 0
1267 || strcmp(s->val[OPT_MODE].s, M_LINEART_COLOR) == 0)
1276 else if (strcmp(s->val[OPT_MODE].s, M_GRAY) == 0)
1378 if (strcmp (value, string_list[i]) != 0)
1929 if (strcmp(word, "option") == 0)
1934 if (strcmp(word, "buffers") == 0)
1952 else if (strcmp(word, "buffersize") == 0)
1967 else if (strcmp(word, "readqueue") == 0)
2117 if (strcmp (dev->sane.name, devnam) == 0)
2336 if (strcmp (val, M_LINEART) == 0)
2350 else if (strcmp (val, M_LINEART_COLOR) == 0)
2364 else if (strcmp (val, M_GRAY) == 0)
2391 if ( strcmp (val, M_LINEART) == 0
2392 || strcmp (val, M_GRAY) == 0)
2422 if (info && strcmp (s->val[option].s, (SANE_String) val))
2430 if (strcmp(val, use_fsu) == 0)
2432 else if (strcmp(val, use_adf) == 0)
2466 if (strcmp (s->val[option].s, "A3") == 0){
2469 }else if (strcmp (s->val[option].s, "A4") == 0){
2472 }else if (strcmp (s->val[option].s, "A5") == 0){
2475 }else if (strcmp (s->val[option].s, "A6") == 0){
2478 }else if (strcmp (s->val[option].s, "B4") == 0){
2481 }else if (strcmp (s->val[option].s, "B5") == 0){
2484 }else if (strcmp (s->val[option].s, W_LETTER) == 0){
2487 }else if (strcmp (s->val[option].s, "Legal") == 0){
2490 }else if (strcmp (s->val[option].s, "Letter") == 0){
2493 }else if (strcmp (s->val[option].s, INVOICE) == 0){
2510 if (strcmp (val,
2618 if (strcmp (mode, M_LINEART) == 0)
2625 else if (strcmp (mode, M_GRAY) == 0)
2632 else if (strcmp (mode, M_LINEART_COLOR) == 0)
2975 if (strcmp (mode, M_LINEART_COLOR) == 0)
2982 if (strcmp(adf_fsu, use_fsu) == 0)
2984 else if (strcmp(adf_fsu, use_adf) == 0)
2986 else if (strcmp(adf_fsu, use_adf) == 0)
2991 if (strcmp (mode, M_LINEART) == 0)
2995 if (strcmp(halftone, M_BILEVEL) == 0)
3000 else if (strcmp(halftone, M_DITHER1) == 0)
3002 else if (strcmp(halftone, M_DITHER2) == 0)
3004 else if (strcmp(halftone, M_DITHER3) == 0)
3007 else if (strcmp (mode, M_GRAY) == 0)
3012 else if (strcmp (mode, M_LINEART_COLOR) == 0)
3016 if (strcmp(halftone, M_BILEVEL) == 0)
3021 else if (strcmp(halftone, M_DITHER1) == 0)
3023 else if (strcmp(halftone, M_DITHER2) == 0)
3025 else if (strcmp(halftone, M_DITHER3) == 0)
3028 else if (strcmp (mode, M_COLOR) == 0)
3042 if (strcmp (edge, EDGE_NONE) == 0)
3044 else if (strcmp (edge, EDGE_MIDDLE) == 0)
3046 else if (strcmp (edge, EDGE_STRONG) == 0)
3048 else if (strcmp (edge, EDGE_BLUR) == 0)
3053 if (strcmp(lightcolor, LIGHT_GREEN) == 0)
3055 else if (strcmp(lightcolor, LIGHT_RED) == 0)
3057 else if (strcmp(lightcolor, LIGHT_BLUE) == 0)
3059 else if (strcmp(lightcolor, LIGHT_NONE) == 0)
3070 if (strcmp (gamma, CRT1))
3072 else if (strcmp (gamma, CRT2))
3074 else if (strcmp (gamma, PRINTER1))
3076 else if (strcmp (gamma, PRINTER2))
3078 else if (strcmp (gamma, NONE))
3085 if (strcmp (gamma, GAMMA10) == 0)
3106 if (strcmp (gamma, GAMMA10) == 0)
3367 if (strcmp (mode, M_LINEART_COLOR) != 0)