Lines Matching refs:dst
194 kw_expand(struct fn *src, struct fn *dst, int n, boolean_t gz) in kw_expand() argument
214 fn_putc(dst, '\\'); in kw_expand()
215 fn_putc(dst, c); in kw_expand()
220 fn_putc(dst, '.'); in kw_expand()
225 fn_putc(dst, '.'); in kw_expand()
226 fn_putc(dst, '*'); in kw_expand()
234 fn_putc(dst, '\\'); in kw_expand()
235 fn_putc(dst, '$'); in kw_expand()
256 fn_puts(dst, "([0-9]+)$0"); in kw_expand()
261 fn_puts(dst, buf); in kw_expand()
278 fn_putc(dst, '\\'); in kw_expand()
279 fn_putc(dst, '$'); in kw_expand()
280 fn_putfn(dst, kw); in kw_expand()
282 fn_puts(dst, ptr); in kw_expand()
308 fn_puts(dst, ".*"); in kw_expand()
328 fn_puts(dst, "[0-9]+"); in kw_expand()
334 fn_puts(dst, " *[0-9]+"); in kw_expand()
338 fn_puts(dst, in kw_expand()
342 fn_puts(dst, "[0-9]+:[0-9]+"); in kw_expand()
345 fn_puts(dst, in kw_expand()
349 fn_puts(dst, ".*"); in kw_expand()
366 fn_puts(dst, tbuf); in kw_expand()
368 fn_puts(dst, buf); in kw_expand()
373 fn_putc(dst, c); in kw_expand()
378 fn_puts(dst, "(\\.gz){0,1}"); in kw_expand()
380 fn_puts(dst, ".gz"); in kw_expand()
399 struct fn *dst = fn_new(NULL); in main() local
418 fn_renew(dst, NULL); in main()
420 argv[i], n, kw_expand(src, dst, n, B_FALSE)); in main()
421 printf("result <%s>\n", fn_s(dst)); in main()