Lines Matching refs:copy
212 } copy; /* imap_copy() state for FETCH */
682 if (imap->copy.prefix)
683 sfwrite(imap->copy.fp, imap->copy.prefix, n > 1 ? imap->copy.prefixlen : imap->copy.emptylen);
684 sfwrite(imap->copy.fp, s, n);
690 if (imap->copy.prefix)
691 sfwrite(imap->copy.fp, imap->copy.prefix, n > 1 ? imap->copy.prefixlen : imap->copy.emptylen);
692 sfwrite(imap->copy.fp, s, e - s);
696 sfputr(imap->copy.fp, ap->value.string, '\n');
1710 imap->copy.fp = sfstdout;
1859 imap->copy.fp = imap->mp;
1863 imap->copy.fp = sfstdout;
2007 * IMAP copy()
2027 imap->copy.fp = op;
2028 if (imap->copy.prefix = prefix)
2030 imap->copy.prefixlen = strlen(prefix);
2031 s = prefix + imap->copy.prefixlen;
2033 imap->copy.emptylen = (s + 1) - prefix;
2034 sfputr(op, imap->copy.prefix, -1);
2074 imap->copy.fp = sfstdout;
2075 imap->copy.prefix = 0;
2217 if (!(imap->copy.fp = n ? pipeopen(s, "w") : fileopen(s, "ERw"))) {
2218 imap->copy.fp = sfstdout;
2228 imap->copy.fp = sfstdout;
2229 fileclose(imap->copy.fp);