Lines Matching defs:wbuf
164 Dpack(struct Strbuf *wbuf)
191 Strbuf_append1(wbuf, (Char) c);
205 struct Strbuf *wbuf = Strbuf_alloc();
210 cleanup_push(wbuf, Strbuf_free);
217 cleanup_until(wbuf);
233 Strbuf_append1(wbuf, (Char) c);
252 if (wbuf->len != 0 && (wbuf->s[wbuf->len - 1] & TRIM) == '\\')
253 wbuf->len--;
262 Strbuf_append1(wbuf, c == '`' ? '`' : c | QUOTE);
267 Strbuf_append1(wbuf, c | QUOTE);
272 Strbuf_append1(wbuf, (Char) c);
280 Strbuf_append1(wbuf, '`');
282 if (Dpack(wbuf) != 0)
298 if (Dpack(wbuf) != 0)
303 cleanup_ignore(wbuf);
304 cleanup_until(wbuf);
305 str = Strbuf_finish(wbuf);
307 xfree(wbuf);
418 static struct Strbuf wbuf; /* = Strbuf_INIT; */
426 wbuf.len = 0;
457 Strbuf_append1(&wbuf, wc);
475 Strbuf_append1(&wbuf, wc);
477 Strbuf_terminate(&wbuf);
481 setDolp(wbuf.s); /* Kept allocated until next $< expansion */