Searched defs:utc (Results 1 - 4 of 4) sorted by relevance
/systemd/src/basic/ |
H A D | calendarspec.h | 39 bool utc; member in struct:CalendarSpec
|
H A D | calendarspec.c | 301 if (c->utc) 714 const char *utc; local 726 utc = endswith_no_case(p, " UTC"); 727 if (utc) { 728 c->utc = true; 729 p = strndupa(p, utc - p); 934 static bool tm_out_of_bounds(const struct tm *tm, bool utc) { argument 940 if (mktime_or_timegm(&t, utc) == (time_t) -1) 953 static bool matches_weekday(int weekdays_bits, const struct tm *tm, bool utc) { argument 961 if (mktime_or_timegm(&t, utc) [all...] |
H A D | time-util.c | 191 bool utc, bool us) { 203 localtime_or_gmtime_r(&sec, &tm, utc); 464 const char *utc; local 533 utc = endswith_no_case(t, " UTC"); 534 if (utc) 535 t = strndupa(t, utc - t); 540 assert_se(localtime_or_gmtime_r(&x, &tm, utc)); 655 x = mktime_or_timegm(&tm, utc); 1096 time_t mktime_or_timegm(struct tm *tm, bool utc) { argument 1097 return utc 190 format_timestamp_internal(char *buf, size_t l, usec_t t, bool utc, bool us) argument 1100 localtime_or_gmtime_r(const time_t *t, struct tm *tm, bool utc) argument [all...] |
/systemd/src/timedate/ |
H A D | timedated.c | 505 int64_t utc; local 520 r = sd_bus_message_read(m, "xbb", &utc, &relative, &interactive); 524 if (!relative && utc <= 0) 527 if (relative && utc == 0) 534 x = n + utc; 536 if ((utc > 0 && x < n) || 537 (utc < 0 && x > n)) 542 timespec_store(&ts, (usec_t) utc);
|
Completed in 19 milliseconds