Lines Matching defs:linebuf
107 static int strip_eol(char *linebuf, int *plen);
540 char linebuf[MAX_SMLEN];
551 while ((len = BIO_read(in, linebuf, MAX_SMLEN)) > 0)
552 BIO_write(out, linebuf, len);
556 while ((len = BIO_gets(in, linebuf, MAX_SMLEN)) > 0) {
557 eol = strip_eol(linebuf, &len);
559 BIO_write(out, linebuf, len);
611 char linebuf[MAX_SMLEN];
626 while ((len = BIO_gets(bio, linebuf, MAX_SMLEN)) > 0) {
627 state = mime_bound_check(linebuf, len, bound, blen);
636 /* Strip CR+LF from linebuf */
637 next_eol = strip_eol(linebuf, &len);
652 BIO_write(bpart, linebuf, len);
674 char linebuf[MAX_SMLEN];
682 while ((len = BIO_gets(bio, linebuf, MAX_SMLEN)) > 0) {
684 if (mhdr && isspace((unsigned char)linebuf[0]))
691 for (p = linebuf, q = linebuf;
775 if (p == linebuf)
996 strip_eol(char *linebuf, int *plen)
1002 for (p = linebuf + len - 1; len > 0; len--, p--) {