Lines Matching defs:bin
110 * This routine was mostly borrowed from src/usr.bin/iconv/iconv.c.
201 * bin: buffer to hold the decoded (binary) result (see note 1).
205 * Return: the number of bytes written to the 'bin' buffer or -1 on
208 * 1) It is the callers responsibility to ensure that bin is large
214 mime_b64tobin(char *bin, const char *b64, size_t cnt)
233 p = (unsigned char *)bin;
262 return p - (unsigned char*)bin;
269 * bin: buffer holding the binary source.
270 * cnt: number of bytes in the bin buffer to encode.
276 mime_bintob64(char *b64, const char *bin, size_t cnt)
280 const unsigned char *p = (const unsigned char*)bin;