Lines Matching refs:dst
11 /* VSTRING *quote_822_local(dst, src)
12 /* VSTRING *dst;
15 /* VSTRING *quote_822_local_flags(dst, src, flags)
16 /* VSTRING *dst;
20 /* VSTRING *unquote_822_local(dst, src)
21 /* VSTRING *dst;
35 /* .IP dst
133 static VSTRING *make_822_quoted_string(VSTRING *dst, const char *local_part,
143 VSTRING_ADDCH(dst, '"');
147 VSTRING_ADDCH(dst, '\\');
148 VSTRING_ADDCH(dst, ch);
150 VSTRING_ADDCH(dst, '"');
151 return (dst);
156 VSTRING *quote_822_local_flags(VSTRING *dst, const char *mbox, int flags)
176 VSTRING_RESET(dst);
178 return (vstring_strcat(dst, mbox));
180 vstring_strncat(dst, mbox, start - mbox);
181 make_822_quoted_string(dst, start, end, flags & QUOTE_FLAG_8BITCLEAN);
182 return (vstring_strcat(dst, end));
188 VSTRING *unquote_822_local(VSTRING *dst, const char *mbox)
200 vstring_strncpy(dst, mbox, start - mbox);
203 VSTRING_RESET(dst);
212 bare_at_dst_pos = VSTRING_LEN(dst);
220 VSTRING_ADDCH(dst, *cp);
224 vstring_truncate(dst, bare_at_dst_pos);
225 vstring_strcat(dst, bare_at_src);
227 VSTRING_TERMINATE(dst);
228 return (dst);