Lines Matching defs:blen
90 unsigned blen;
94 blen = HEADER_BUFFER + (infop ? ilen : 0) + 4;
95 blen = ROUND_DBL(blen);
97 if (!(buf = (unsigned char *)calloc(1, blen))) {
103 err = audio_encode_au(hdrp, infop, ilen, buf, &blen);
106 err = audio_encode_wav(hdrp, buf, &blen);
109 err = audio_encode_aiff(hdrp, buf, &blen);
120 err = write(fd, (char *)buf, (int)blen);
123 if (err != blen)
888 * store in the supplied char* buffer. blen is the size of the buffer to
895 audio_encode_aiff(Audio_hdr *hdrp, unsigned char *buf, unsigned int *blen)
955 *blen = buf_size;
963 * store in the supplied char* buffer. blen is the size of the buffer to
972 unsigned char *buf, unsigned int *blen)
1084 if (*blen < offset) {
1089 /* reset blen to actual size of hdr data */
1090 *blen = (unsigned)offset;
1123 * store in the supplied char* buffer. blen is the size of the buffer to
1130 audio_encode_wav(Audio_hdr *hdrp, unsigned char *buf, unsigned int *blen)
1211 *blen = sizeof (fhdr);