Lines Matching defs:in
11 This program is distributed in the hope that it will be useful,
78 The data are encoded as described for the base64 alphabet in RFC 3548.\n\
79 When decoding, the input may contain newlines in addition to the bytes of\n\
81 from any other non-alphabet bytes in the encoded stream.\n"),
135 do_encode (FILE *in, FILE *out, uintmax_t wrap_column)
149 n = fread (inbuf + sum, 1, BLOCKSIZE - sum, in);
152 while (!feof (in) && !ferror (in) && sum < BLOCKSIZE);
157 3 == 0, so that no base64 pads will appear in output. */
164 while (!feof (in) && !ferror (in) && sum == BLOCKSIZE);
170 if (ferror (in))
175 do_decode (FILE *in, FILE *out, bool ignore_garbage)
193 n = fread (inbuf + sum, 1, B64BLOCKSIZE - sum, in);
207 if (ferror (in))
210 while (sum < B64BLOCKSIZE && !feof (in));
215 telling it to flush what is in CTX. */
216 for (k = 0; k < 1 + !!feof (in); k++)
230 while (!feof (in));