Searched refs:parse_time (Results 1 - 4 of 4) sorted by relevance
/systemd/src/test/ |
H A D | test-time.c | 61 assert_se(parse_time("5", &u, 1) >= 0); 64 assert_se(parse_time("5", &u, USEC_PER_MSEC) >= 0); 67 assert_se(parse_time("5", &u, USEC_PER_SEC) >= 0); 70 assert_se(parse_time("5s", &u, 1) >= 0); 73 assert_se(parse_time("5s", &u, USEC_PER_SEC) >= 0); 76 assert_se(parse_time("5s", &u, USEC_PER_MSEC) >= 0);
|
/systemd/src/basic/ |
H A D | time-util.h | 106 int parse_time(const char *t, usec_t *usec, usec_t default_unit);
|
H A D | rlimit-util.c | 144 r = parse_time(val, &t, 1);
|
H A D | time-util.c | 676 int parse_time(const char *t, usec_t *usec, usec_t default_unit) { function 806 return parse_time(t, usec, USEC_PER_SEC);
|
Completed in 1950 milliseconds