• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/procmail-14/procmail/src/

Lines Matching refs:in

33 bdat		=> allocate requested size buffer & read it in, or 552/452
37 rset => if in child, die.
226 /* lmtp: run the LTMP protocol. It returns in children, never the
236 syslog it, and exit with EX_SOFTWARE. (See getL() in cstdio.c) */
510 { char*in,*out,*q,*last;
511 last=(in=out=themail.p)+filled;
512 while(in<last)
513 if((q=memchr(in,'\r',last-in))?q>in:!!(q=last))
514 { if(in!=out)
515 memmove(out,in,q-in);
516 out+=q-in;in=q;
518 else if(++in==last||*in!='\n') /* keep the CR? */
520 resizeblock(&themail,(filled-=in-out)+1,1);
650 register char*in,*q,*last;
656 last=(in=p)+got;
660 * in it. \r's are stripped from \r\n, but are otherwise preserved.
671 while(in<last)
672 if((q=memchr(in,'\r',last-in))?q>in:!!(q=last))
673 { if(in!=p)
674 memmove(p,in,q-in);
675 p+=q-in;in=q;
679 found_cr: *p++= *in++; /* tenatively save the \r */
680 if(in==last)
682 is_cr: if(*in!='\n')
684 p[-1]= *in++; /* overwrite the \r */
685 if(in==last) /* CRLF */
687 is_crbol: if(*in=='\r') /* CRLF CR? */
689 if(*in!='.')
690 { *p++= *in++;
693 if(++in==last) /* CRLF "." */
695 is_crdot: if((*p++= *in++)!='\r')
697 if(in==last) /* CRLF "." CR */
699 is_dotcr: if(*in=='\n') /* CRLF "." CRLF */
701 if((overlen=last-++in)>0) /* should never be negative */
702 tmemmove(overread=malloc(overlen),in,overlen);
706 state=IS_NORMAL; /* we must have fallen out because in==last */
708 got-=in-p; /* correct for what disappeared */
717 register char*in,*q,*last;
723 last=(in=p)+got;
736 while(in<last)
737 if((q=memchr(in,'\n',last-in))?q>in:!!(q=last))
738 { if(in!=p)
739 memmove(p,in,q-in);
740 p+=q-in;in=q;
744 { *p++= *in++;
747 while(in<last&&*in=='\n');
748 if(in==last)
750 if(*in!='.')
751 { *p++= *in++;
754 if(++in==last) /* LF "." */
756 is_nldot: if(*in=='\n') /* LF "." LF */
757 { if((overlen=last-++in)>0) /* should never be negative */
758 tmemmove(overread=malloc(overlen),in,overlen);
761 *p++= *in++;
763 state=IS_NORMAL; /* we must have fallen out because in==last */
765 got-=in-p; /* correct for what disappeared */
779 int lmtp_dummy_var; /* to prevent insanity in some linkers */