Lines Matching refs:shf
243 static void p_time(struct shf *, bool, long, int, int,
529 co.shf = shf_sopen(NULL, 128, SHF_WR | SHF_DYNAMIC, NULL);
536 w = co.shf->wp - co.shf->buf;
538 memcpy(xp, co.shf->buf, w);
540 shf_sclose(co.shf);
1160 co.shf = shl_stdout;
2331 p_time(struct shf *shf, bool posix, long tv_sec, int tv_usec, int width,
2336 shf_fprintf(shf, "%s%*ld.%02d%s", prefix, width,
2339 shf_fprintf(shf, "%s%*ldm%02d.%02ds%s", prefix, width,