Home | History | Annotate | Download | only in asn1

Lines Matching refs:linebuf

105 static int strip_eol(char *linebuf, int *plen);
541 char linebuf[MAX_SMLEN];
552 while((len = BIO_read(in, linebuf, MAX_SMLEN)) > 0)
553 BIO_write(out, linebuf, len);
559 while ((len = BIO_gets(in, linebuf, MAX_SMLEN)) > 0)
561 eol = strip_eol(linebuf, &len);
563 BIO_write(out, linebuf, len);
610 char linebuf[MAX_SMLEN];
623 while ((len = BIO_gets(bio, linebuf, MAX_SMLEN)) > 0) {
624 state = mime_bound_check(linebuf, len, bound, blen);
632 /* Strip CR+LF from linebuf */
633 next_eol = strip_eol(linebuf, &len);
643 BIO_write(bpart, linebuf, len);
664 char linebuf[MAX_SMLEN];
670 while ((len = BIO_gets(bio, linebuf, MAX_SMLEN)) > 0) {
672 if(mhdr && isspace((unsigned char)linebuf[0])) state = MIME_NAME;
676 for(p = linebuf, q = linebuf; (c = *p) && (c!='\r') && (c!='\n'); p++) {
752 if(p == linebuf) break; /* Blank line means end of headers */
935 static int strip_eol(char *linebuf, int *plen)
940 p = linebuf + len - 1;
941 for (p = linebuf + len - 1; len > 0; len--, p--)