Home
last modified time | relevance | path

Searched refs:pOutFile (Results 1 – 14 of 14) sorted by relevance

/plan9/sys/src/cmd/aux/antiword/
H A Dpdf.c211 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 Dpostscript.c221 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 Ddib2eps.c24 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 Dasc85enc.c39 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 Dtext.c40 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 Djpeg2eps.c25 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 Djpeg2sprt.c21 FILE *pOutFile;
26 pOutFile = fopen(szFilename, "wb");
27 if (pOutFile == NULL) {
32 if (putc(pucJpeg[tIndex], pOutFile) == EOF) {
36 (void)fclose(pOutFile);
H A Dpng2eps.c128 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 Dxml.c247 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", "&lt;"); in vPrintChar()
328 fprintf(pDiag->pOutFile, "%s", "&gt;"); in vPrintChar()
331 fprintf(pDiag->pOutFile, "%s", "&amp;"); 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 Dfmt_text.c136 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 Doutput.c61 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 Ddib2sprt.c483 FILE *pOutFile;
488 pOutFile = fopen(szFilename, "wb");
489 if (pOutFile == NULL) {
494 if (putc(pucSprite[iIndex], pOutFile) == EOF) {
498 (void)fclose(pOutFile);
H A Dwordtypes.h38 FILE *pOutFile; member
H A Dout2window.c640 fprintf(pDiag->pOutFile, "%s\n" , aszColTxt[iIndex]); in vTableRow2Window()