Home
last modified time | relevance | path

Searched refs:fp_in (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/lp/filter/postscript/common/
H A Drequest.c126 FILE *fp_in; in dumprequest() local
139 if ( (fp_in = fopen(file, "r")) != NULL ) { in dumprequest()
140 while ( fgets(buf, sizeof(buf), fp_in) != NULL ) in dumprequest()
142 while ( fgets(buf, sizeof(buf), fp_in) != NULL ) in dumprequest()
148 fclose(fp_in); in dumprequest()
/illumos-gate/usr/src/cmd/lp/filter/postscript/download/
H A Ddownload.c111 FILE *fp_in = stdin; /* next input file */ variable
377 fp_in = stdin; in arguments()
378 else if ( (fp_in = fopen(*argv, "r")) == NULL ) in arguments()
381 if ( fp_in != stdin ) in arguments()
382 fclose(fp_in); in arguments()
429 if ( fp_in == stdin ) { in download()
438 while ( fgets(buf, sizeof(buf), fp_in) != NULL ) { in download()
517 if ( fp_in != stdin ) in copyinput()
518 fseek(fp_in, 0L, 0); in copyinput()
520 while ( fgets(buf, sizeof(buf), fp_in) != NULL ) in copyinput()
/illumos-gate/usr/src/cmd/lp/filter/postscript/postprint/
H A Dpostprint.c143 FILE *fp_in = stdin; /* read from this file */ variable
535 fp_in = stdin; in arguments()
536 else if ( (fp_in = fopen(*argv, "r")) == NULL ) in arguments()
539 if ( fp_in != stdin ) in arguments()
540 fclose(fp_in); in arguments()
629 while ( (ch = getc(fp_in)) != EOF ) in text()
721 if ( ungetc(getc(fp_in), fp_in) == EOF ) in formfeed()
798 } while ( ch = getc(fp_in) ); /* if ch is 0 we'd quit anyway */ in spaces()
800 ungetc(ch, fp_in); /* wasn't a space, tab, or backspace */ in spaces()
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Dpictures.c105 FILE *fp_in; /* for *name */ in picture() local
154 if ( (fp_in = picopen(name)) == NULL ) { in picture()
191 ps_include(fp_in, tf, page, whiteout, outline, scaleboth, in picture()
198 fclose(fp_in); in picture()
300 piccopy(FILE *fp_in, FILE *fp_out, long total) in piccopy() argument
318 if ( putc(getc(fp_in), fp_out) == EOF ) in piccopy()
H A Ddpost.c2763 FILE *fp_in; /* PostScript font name read from here */ in documentfonts() local
2784 if ( (fp_in = fopen(temp, "r")) != NULL ) { in documentfonts()
2786 if ( fscanf(fp_in, "%s", temp) == 1 ) { in documentfonts()
2795 fclose(fp_in); in documentfonts()