Lines Matching refs:strcmp
71 if (strcmp(str, "Grayscale8") == 0)
73 else if (strcmp(str, "RGB24") == 0)
76 else if (strcmp(str, "BlackAndWhite1") == 0)
106 if (strcmp(tab[i], convert) == 0)
203 if (strcmp(name, "ColorMode") == 0) {
205 if (type == PLATEN || strcmp(color, "BlackAndWhite1"))
208 else if (strcmp(name, "ContentType") == 0)
210 else if (strcmp(name, "DocumentFormat") == 0)
221 if (!strcmp(scanner->caps[type].DocumentFormats[i], "image/jpeg"))
227 else if(!strcmp(scanner->caps[type].DocumentFormats[i], "image/png"))
234 else if(type == PLATEN && !strcmp(scanner->caps[type].DocumentFormats[i], "image/tiff"))
241 else if(type == PLATEN && !strcmp(scanner->caps[type].DocumentFormats[i], "application/pdf"))
257 else if (strcmp(name, "DocumentFormatExt") == 0)
259 else if (strcmp(name, "Intent") == 0)
261 else if (strcmp(name, "XResolution") == 0)
282 if (strcmp(name, "MinWidth") == 0)
284 else if (strcmp(name, "MaxWidth") == 0) {
289 else if (strcmp(name, "MinHeight") == 0)
291 else if (strcmp(name, "MaxHeight") == 0) {
296 else if (strcmp(name, "MaxScanRegions") == 0)
298 else if (strcmp(name, "MaxOpticalXResolution") == 0)
300 else if (strcmp(name, "RiskyLeftMargin") == 0)
302 else if (strcmp(name, "RiskyRightMargin") == 0)
304 else if (strcmp(name, "RiskyTopMargin") == 0)
306 else if (strcmp(name, "RiskyBottomMargin") == 0)
319 if (!strcmp((const char *)node->name, "Min")){
323 else if (!strcmp((const char *)node->name, "Max")) {
327 else if (!strcmp((const char *)node->name, "Normal")) {
333 else if (!strcmp((const char *)node->name, "Step")) {
354 if (strcmp(name, "BrightnessSupport") == 0) {
359 else if (strcmp(name, "ContrastSupport") == 0) {
364 else if (strcmp(name, "SharpenSupport") == 0) {
369 else if (strcmp(name, "ThresholdSupport") == 0) {
389 if (strcmp(name, "MinWidth") == 0 ||
390 strcmp(name, "MaxWidth") == 0 ||
391 strcmp(name, "MinHeight") == 0 ||
392 strcmp(name, "MaxHeight") == 0 ||
393 strcmp(name, "MaxScanRegions") == 0 ||
394 strcmp(name, "ColorMode") == 0 ||
395 strcmp(name, "ContentType") == 0 ||
396 strcmp(name, "DocumentFormat") == 0 ||
397 strcmp(name, "XResolution") == 0 ||
398 strcmp(name, "Intent") == 0 ||
399 strcmp(name, "MaxOpticalXResolution") == 0 ||
400 strcmp(name, "RiskyLeftMargin") == 0 ||
401 strcmp(name, "RiskyRightMargin") == 0 ||
402 strcmp(name, "RiskyTopMargin") == 0 ||
403 strcmp(name, "RiskyBottomMargin") == 0 ||
404 strcmp(name, "DocumentFormatExt") == 0)
433 if (!strcmp((const char *)node->name, "Version")&& node->ns && node->ns->prefix){
434 if (!strcmp((const char*)node->ns->prefix, "pwg"))
437 if (!strcmp((const char *)node->name, "MakeAndModel")){
440 else if (!strcmp((const char *)node->name, "PlatenInputCaps")) {
447 else if (!strcmp((const char *)node->name, "AdfSimplexInputCaps")) {
454 else if (!strcmp((const char *)node->name, "AdfDuplexInputCaps")) {
475 strcmp(scanner->caps[type].default_format, "application/pdf")) {
500 if (!strcmp(scanner->caps[type].default_format, "application/pdf")) {