Lines Matching refs:dst
196 kw_expand(struct fn *src, struct fn *dst, int n, boolean_t gz) in kw_expand() argument
216 fn_putc(dst, '\\'); in kw_expand()
217 fn_putc(dst, c); in kw_expand()
222 fn_putc(dst, '.'); in kw_expand()
227 fn_putc(dst, '.'); in kw_expand()
228 fn_putc(dst, '*'); in kw_expand()
236 fn_putc(dst, '\\'); in kw_expand()
237 fn_putc(dst, '$'); in kw_expand()
258 fn_puts(dst, "([0-9]+)$0"); in kw_expand()
263 fn_puts(dst, buf); in kw_expand()
280 fn_putc(dst, '\\'); in kw_expand()
281 fn_putc(dst, '$'); in kw_expand()
282 fn_putfn(dst, kw); in kw_expand()
284 fn_puts(dst, ptr); in kw_expand()
310 fn_puts(dst, ".*"); in kw_expand()
330 fn_puts(dst, "[0-9]+"); in kw_expand()
336 fn_puts(dst, " *[0-9]+"); in kw_expand()
340 fn_puts(dst, in kw_expand()
344 fn_puts(dst, "[0-9]+:[0-9]+"); in kw_expand()
347 fn_puts(dst, in kw_expand()
351 fn_puts(dst, ".*"); in kw_expand()
368 fn_puts(dst, tbuf); in kw_expand()
370 fn_puts(dst, buf); in kw_expand()
375 fn_putc(dst, c); in kw_expand()
380 fn_puts(dst, "(\\.gz){0,1}"); in kw_expand()
382 fn_puts(dst, ".gz"); in kw_expand()
401 struct fn *dst = fn_new(NULL); in main() local
420 fn_renew(dst, NULL); in main()
422 argv[i], n, kw_expand(src, dst, n, B_FALSE)); in main()
423 printf("result <%s>\n", fn_s(dst)); in main()