Lines Matching refs:outputFormat
81 static unsigned inputFormat, outputFormat;
261 if ((outputFormat != WANT_DEFAULT)
262 && (outputFormat != WANT_C_HDR))
271 outputFormat = WANT_C_HDR;
377 if (outputFormat != WANT_DEFAULT)
614 if ((outputFormat != WANT_DEFAULT)
615 && (outputFormat != WANT_XKB_FILE))
624 outputFormat = WANT_XKB_FILE;
628 if ((outputFormat != WANT_DEFAULT)
629 && (outputFormat != WANT_XKM_FILE))
638 outputFormat = WANT_XKM_FILE;
731 if (outputFormat == WANT_DEFAULT)
734 outputFormat = WANT_LISTING;
736 outputFormat = WANT_XKM_FILE;
738 outputFormat = WANT_XKB_FILE;
740 if ((outputFormat == WANT_LISTING) && (inputFormat != INPUT_XKB))
761 if (asprintf(&outputFile, "stdin.%s", fileTypeExt[outputFormat]) < 0)
763 size_t len = strlen("stdin") + strlen(fileTypeExt[outputFormat]) + 2;
766 snprintf(outputFile, len, "stdin.%s", fileTypeExt[outputFormat]);
791 len = strlen(base) + strlen(fileTypeExt[outputFormat]) + 2;
801 snprintf(outputFile, len, "%s.%s", base, fileTypeExt[outputFormat]);
805 strcpy(&outputFile[ext - base + 1], fileTypeExt[outputFormat]);
818 len = strlen(name) + strlen(fileTypeExt[outputFormat]) + 2;
835 strcpy(ch, fileTypeExt[outputFormat]);
848 outputFormat = WANT_X_SERVER;
1160 switch (outputFormat)
1200 switch (outputFormat)
1221 WSGO("Unknown output format %d\n", outputFormat);
1226 if (outputFormat != WANT_X_SERVER)