Lines Matching refs:wbuf
163 Dpack(struct Strbuf *wbuf)
190 Strbuf_append1(wbuf, (Char) c);
204 struct Strbuf *wbuf = Strbuf_alloc();
209 cleanup_push(wbuf, Strbuf_free);
216 cleanup_until(wbuf);
232 Strbuf_append1(wbuf, (Char) c);
251 if (wbuf->len != 0 && (wbuf->s[wbuf->len - 1] & TRIM) == '\\')
252 wbuf->len--;
261 Strbuf_append1(wbuf, c == '`' ? '`' : c | QUOTE);
266 Strbuf_append1(wbuf, c | QUOTE);
271 Strbuf_append1(wbuf, (Char) c);
279 Strbuf_append1(wbuf, '`');
281 if (Dpack(wbuf) != 0)
297 if (Dpack(wbuf) != 0)
302 cleanup_ignore(wbuf);
303 cleanup_until(wbuf);
304 str = Strbuf_finish(wbuf);
306 xfree(wbuf);
417 static struct Strbuf wbuf; /* = Strbuf_INIT; */
425 wbuf.len = 0;
456 Strbuf_append1(&wbuf, wc);
474 Strbuf_append1(&wbuf, wc);
476 Strbuf_terminate(&wbuf);
480 setDolp(wbuf.s); /* Kept allocated until next $< expansion */