Lines Matching refs:cnt
203 * cnt: number of bytes in the b64 buffer to decode (see note 2).
214 mime_b64tobin(char *bin, const char *b64, size_t cnt)
235 for (end = q + cnt; q < end; q += 4) {
270 * cnt: number of bytes in the bin buffer to encode.
276 mime_bintob64(char *b64, const char *bin, size_t cnt)
283 for (i = cnt; i > 0; i -= 3) {
319 size_t cnt;
335 while ((cnt = fread(mem, sizeof(*mem), limit, fi)) > 0) {
336 mime_bintob64(b64, mem, (size_t)cnt);
337 (void)fwrite(b64, sizeof(*b64), (size_t)4 * roundup(cnt, 3) / 3, fo);