Lines Matching refs:shf
245 static void p_time(struct shf *, bool, long, int, int,
531 co.shf = shf_sopen(NULL, 128, SHF_WR | SHF_DYNAMIC, NULL);
538 w = co.shf->wp - co.shf->buf;
540 memcpy(xp, co.shf->buf, w);
542 shf_sclose(co.shf);
1187 co.shf = shl_stdout;
2347 p_time(struct shf *shf, bool posix, long tv_sec, int tv_usec, int width,
2352 shf_fprintf(shf, "%s%*ld.%02d%s", prefix, width,
2355 shf_fprintf(shf, "%s%*ldm%02d.%02ds%s", prefix, width,