Lines Matching refs:wbuf
161 Dpack(struct Strbuf *wbuf)
188 Strbuf_append1(wbuf, (Char) c);
202 struct Strbuf *wbuf = Strbuf_alloc();
207 cleanup_push(wbuf, Strbuf_free);
214 cleanup_until(wbuf);
230 Strbuf_append1(wbuf, (Char) c);
249 if (wbuf->len != 0 && (wbuf->s[wbuf->len - 1] & TRIM) == '\\')
250 wbuf->len--;
259 Strbuf_append1(wbuf, c == '`' ? '`' : c | QUOTE);
264 Strbuf_append1(wbuf, c | QUOTE);
269 Strbuf_append1(wbuf, (Char) c);
277 Strbuf_append1(wbuf, '`');
279 if (Dpack(wbuf) != 0)
295 if (Dpack(wbuf) != 0)
300 cleanup_ignore(wbuf);
301 cleanup_until(wbuf);
302 str = Strbuf_finish(wbuf);
304 xfree(wbuf);
415 static struct Strbuf wbuf; /* = Strbuf_INIT; */
423 wbuf.len = 0;
454 Strbuf_append1(&wbuf, wc);
472 Strbuf_append1(&wbuf, wc);
474 Strbuf_terminate(&wbuf);
478 setDolp(wbuf.s); /* Kept allocated until next $< expansion */