Lines Matching refs:linebuf
102 static int strip_eol(char *linebuf, int *plen);
471 char linebuf[MAX_SMLEN]; in SMIME_crlf_copy() local
482 while((len = BIO_read(in, linebuf, MAX_SMLEN)) > 0) in SMIME_crlf_copy()
483 BIO_write(out, linebuf, len); in SMIME_crlf_copy()
489 while ((len = BIO_gets(in, linebuf, MAX_SMLEN)) > 0) in SMIME_crlf_copy()
491 eol = strip_eol(linebuf, &len); in SMIME_crlf_copy()
493 BIO_write(out, linebuf, len); in SMIME_crlf_copy()
538 char linebuf[MAX_SMLEN]; in multi_split() local
551 while ((len = BIO_gets(bio, linebuf, MAX_SMLEN)) > 0) { in multi_split()
552 state = mime_bound_check(linebuf, len, bound, blen); in multi_split()
561 next_eol = strip_eol(linebuf, &len); in multi_split()
571 BIO_write(bpart, linebuf, len); in multi_split()
592 char linebuf[MAX_SMLEN]; in STACK_OF() local
598 while ((len = BIO_gets(bio, linebuf, MAX_SMLEN)) > 0) { in STACK_OF()
600 if(mhdr && isspace((unsigned char)linebuf[0])) state = MIME_NAME; in STACK_OF()
604 for(p = linebuf, q = linebuf; (c = *p) && (c!='\r') && (c!='\n'); p++) { in STACK_OF()
680 if(p == linebuf) break; /* Blank line means end of headers */ in STACK_OF()
858 static int strip_eol(char *linebuf, int *plen) in strip_eol() argument
863 p = linebuf + len - 1; in strip_eol()
864 for (p = linebuf + len - 1; len > 0; len--, p--) in strip_eol()