Home | History | Annotate | Download | only in posix

Lines Matching defs:unit

447     int unit = 60, pad = 2, j = TT.ticks; 
450 if (which!=PS_TIME_) unit *= 60*24;
459 if (!s && (seconds>unit || j == 1+(which!=PS_TIME))) s = out;
461 s += sprintf(s, j ? "%0*ld": "%*ld", pad, (long)(seconds/unit));
465 seconds %= unit;
466 unit /= j ? 60 : 24;