Searched refs:cunits (Results 1 – 3 of 3) sorted by relevance
607 } cunits [] = { variable626 for (i = 0; i < sizeof (cunits) / sizeof (cunits[0]); i++) in fmttime()627 if (time >= cunits[i].c_secs) in fmttime()630 value = (double)time / cunits[i].c_secs; in fmttime()632 value, cunits[i].c_str, value > 1.0 ? "s" : ""); in fmttime()644 for (i = 0; i < sizeof (cunits) / sizeof (cunits[0]); i++) { in unfmttime()645 if (strncmp(cunits[i].c_str, units, in unfmttime()646 strlen(cunits[i].c_str)) == 0) in unfmttime()649 if (i >= sizeof (cunits) / sizeof (cunits[0])) in unfmttime()651 *timep = (ulong_t)(value * cunits[i].c_secs); in unfmttime()
346 } cunits [] = { in fmttime() local359 for (i = 0; i < sizeof (cunits) / sizeof (cunits[0]); i++) { in fmttime()360 if (time >= cunits[i].c_secs) in fmttime()364 (double)time / cunits[i].c_secs, cunits[i].c_str); in fmttime()
587 } cunits [] = { in fmttime() local600 for (i = 0; i < sizeof (cunits)/sizeof (cunits[0]); i++) { in fmttime()601 if (time >= cunits[i].c_secs) in fmttime()605 (double)time/cunits[i].c_secs, cunits[i].c_str); in fmttime()