Lines Matching refs:now
219 settime(Shbltin_t* context, const char* cmd, Time_t now, int adjust, int network) in settime() argument
227 return tmxsettime(now); in settime()
235 tmxfmt(buf, sizeof(buf), "%m%d%H" "%M%Y.%S", now); in settime()
241 tmxfmt(buf, sizeof(buf), "%Y%m%d%H" "%M.%S", now); in settime()
260 convert(register Fmt_t* f, char* s, Time_t now) in convert() argument
267 now = tmxscan(s, &t, f->format, &u, now, 0); in convert()
273 return now; in convert()
284 Time_t now; in b_date() local
392 now = tmxgettime(); in b_date()
415 ts = convert(fmts, s, now); in b_date()
416 te = convert(fmts, t, now); in b_date()
450 now = tmxgetatime(&st); in b_date()
453 now = tmxgetctime(&st); in b_date()
456 now = tmxgetmtime(&st); in b_date()
459 tmxfmt(buf, sizeof(buf), format, now); in b_date()
480 now = convert(fmts, s, now); in b_date()
488 tmxfmt(buf, sizeof(buf), format, now); in b_date()
491 now = convert(fmts, s, now); in b_date()
499 tmxfmt(buf, sizeof(buf), format, now); in b_date()
502 else if (settime(context, cmd, now, increment, network)) in b_date()