| /plan9/sys/src/cmd/aux/antiword/ |
| H A D | pdf.c | 211 vFPprintf(FILE *pOutFile, const char *szFormat, ...) in vFPprintf() argument 216 lFilePosition += vfprintf(pOutFile, szFormat, tArg); in vFPprintf() 226 FILE *pOutFile; in vCreateInfoDictionary() local 231 fail(pDiag->pOutFile == NULL); in vCreateInfoDictionary() 253 pOutFile = pDiag->pOutFile; in vCreateInfoDictionary() 256 vFPprintf(pOutFile, "2 0 obj\n"); in vCreateInfoDictionary() 257 vFPprintf(pOutFile, "<<\n"); in vCreateInfoDictionary() 259 vFPprintf(pOutFile, "/Title (%s)\n", szTitle); in vCreateInfoDictionary() 262 vFPprintf(pOutFile, "/Author (%s)\n", szAuthor); in vCreateInfoDictionary() 265 vFPprintf(pOutFile, "/Subject (%s)\n", szSubject); in vCreateInfoDictionary() [all …]
|
| H A D | postscript.c | 221 vAddPageSetup(FILE *pOutFile) in vAddPageSetup() argument 224 fprintf(pOutFile, "%%%%BeginPageSetup\n"); in vAddPageSetup() 225 fprintf(pOutFile, "90 rotate\n"); in vAddPageSetup() 226 fprintf(pOutFile, "0.00 %.2f translate\n", in vAddPageSetup() 228 fprintf(pOutFile, "%%%%EndPageSetup\n"); in vAddPageSetup() 334 fprintf(pDiag->pOutFile, in vAddHeader() 394 fprintf(pDiag->pOutFile, in vAddFooter() 414 fprintf(pDiag->pOutFile, "showpage\n"); in vMove2NextPage() 416 fprintf(pDiag->pOutFile, "%%%%Page: %d %d\n", iPageCount, iPageCount); in vMove2NextPage() 421 vAddPageSetup(pDiag->pOutFile); in vMove2NextPage() [all …]
|
| H A D | dib2eps.c | 24 vDecode1bpp(FILE *pInFile, FILE *pOutFile, const imagedata_type *pImg) in vDecode1bpp() argument 31 fail(pOutFile == NULL); in vDecode1bpp() 45 vASCII85EncodeByte(pOutFile, EOF); in vDecode1bpp() 65 vASCII85EncodeByte(pOutFile, iTmp); in vDecode1bpp() 70 vASCII85EncodeByte(pOutFile, EOF); in vDecode1bpp() 77 vDecode4bpp(FILE *pInFile, FILE *pOutFile, const imagedata_type *pImg) in vDecode4bpp() argument 85 fail(pOutFile == NULL); in vDecode4bpp() 99 vASCII85EncodeByte(pOutFile, EOF); in vDecode4bpp() 113 vASCII85EncodeByte(pOutFile, iTmp); in vDecode4bpp() 118 vASCII85EncodeByte(pOutFile, EOF); in vDecode4bpp() [all …]
|
| H A D | asc85enc.c | 39 vOutputByte(ULONG ulChar, FILE *pOutFile) in vOutputByte() argument 42 if (putc('\n', pOutFile) != EOF) { in vOutputByte() 46 if (putc((int)ulChar, pOutFile) == EOF) { in vOutputByte() 51 if (putc('\n', pOutFile) != EOF) { in vOutputByte() 62 vASCII85EncodeByte(FILE *pOutFile, int iByte) in vASCII85EncodeByte() argument 69 fail(pOutFile == NULL); in vASCII85EncodeByte() 84 vOutputByte(ulTmp + '!', pOutFile); in vASCII85EncodeByte() 89 (void)putc('~', pOutFile); in vASCII85EncodeByte() 90 (void)putc('>', pOutFile); in vASCII85EncodeByte() 91 (void)putc('\n', pOutFile); in vASCII85EncodeByte() [all …]
|
| H A D | text.c | 40 vEpilogueTXT(FILE *pOutFile) in vEpilogueTXT() argument 42 fail(pOutFile == NULL); in vEpilogueTXT() 44 fprintf(pOutFile, "\n"); in vEpilogueTXT() 94 fail(pDiag->pOutFile == NULL); in vMoveTo() 99 (void)putc(FILLER_CHAR, pDiag->pOutFile); in vMoveTo() 112 fail(pDiag->pOutFile == NULL); in vMove2NextLineTXT() 115 (void)fprintf(pDiag->pOutFile, "\n"); in vMove2NextLineTXT() 126 fail(pDiag->pOutFile == NULL); in vSubstringTXT() 135 vPrintTXT(pDiag->pOutFile, szString, tStringLength); in vSubstringTXT() 161 fail(pDiag->pOutFile == NULL); in vEndOfParagraphTXT()
|
| H A D | jpeg2eps.c | 25 FILE *pOutFile; in vCopy2File() local 35 pOutFile = fopen(szFilename, "wb"); in vCopy2File() 36 if (pOutFile == NULL) { in vCopy2File() 41 if (putc(iTmp, pOutFile) == EOF) { in vCopy2File() 45 (void)fclose(pOutFile); in vCopy2File() 70 vASCII85EncodeFile(pFile, pDiag->pOutFile, tPictureLen); in bTranslateJPEG()
|
| H A D | jpeg2sprt.c | 21 FILE *pOutFile; 26 pOutFile = fopen(szFilename, "wb"); 27 if (pOutFile == NULL) { 32 if (putc(pucJpeg[tIndex], pOutFile) == EOF) { 36 (void)fclose(pOutFile);
|
| H A D | png2eps.c | 128 FILE *pOutFile; in vCopy2File() local 138 pOutFile = fopen(szFilename, "wb"); in vCopy2File() 139 if (pOutFile == NULL) { in vCopy2File() 144 if (putc(iTmp, pOutFile) == EOF) { in vCopy2File() 148 (void)fclose(pOutFile); in vCopy2File() 183 vASCII85EncodeArray(pFile, pDiag->pOutFile, tDataLength); in bTranslatePNG() 187 vASCII85EncodeByte(pDiag->pOutFile, EOF); in bTranslatePNG()
|
| H A D | xml.c | 247 vPrintLevel(FILE *pOutFile) in vPrintLevel() argument 251 fail(pOutFile == NULL); in vPrintLevel() 254 (void)putc(' ', pOutFile); in vPrintLevel() 317 fail(pDiag->pOutFile == NULL); in vPrintChar() 325 fprintf(pDiag->pOutFile, "%s", "<"); in vPrintChar() 328 fprintf(pDiag->pOutFile, "%s", ">"); in vPrintChar() 331 fprintf(pDiag->pOutFile, "%s", "&"); in vPrintChar() 334 (void)putc(cChar, pDiag->pOutFile); in vPrintChar() 350 fail(pDiag->pOutFile == NULL); in vPrintSpecialChar() 361 (void)putc(szResult[tIndex], pDiag->pOutFile); in vPrintSpecialChar() [all …]
|
| H A D | fmt_text.c | 136 fail(pDiag->pOutFile == NULL); in vMoveTo() 141 (void)putc(FILLER_CHAR, pDiag->pOutFile); in vMoveTo() 156 fail(pDiag->pOutFile == NULL); in vSubstringFMT() 165 vPrintFMT(pDiag->pOutFile, szString, tStringLength, usFontstyle); in vSubstringFMT()
|
| H A D | output.c | 61 vEpilogueTXT(pDiag->pOutFile); in vEpilogue() 166 pDiag->pOutFile = stdout; in pCreateDiagram() 223 fail(pDiag->pOutFile == NULL); in vMove2NextLine() 346 fail(pDiag->pOutFile == NULL); in vEndOfParagraph()
|
| H A D | dib2sprt.c | 483 FILE *pOutFile; 488 pOutFile = fopen(szFilename, "wb"); 489 if (pOutFile == NULL) { 494 if (putc(pucSprite[iIndex], pOutFile) == EOF) { 498 (void)fclose(pOutFile);
|
| H A D | wordtypes.h | 38 FILE *pOutFile; member
|
| H A D | out2window.c | 640 fprintf(pDiag->pOutFile, "%s\n" , aszColTxt[iIndex]); in vTableRow2Window()
|