Home
last modified time | relevance | path

Searched refs:clock_is_localtime (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/test/
Dtest-clock.c18 TEST(clock_is_localtime) { in TEST() argument
44 assert_se(clock_is_localtime("/nonexisting/adjtime") == 0); in TEST()
55 assert_se(clock_is_localtime(adjtime) == scenarios[i].expected_result); in TEST()
62 r = clock_is_localtime(NULL); in TEST()
/systemd-251/src/shared/
Dclock-util.h15 int clock_is_localtime(const char* adjtime_path);
Dclock-util.c54 int clock_is_localtime(const char* adjtime_path) { in clock_is_localtime() function
/systemd-251/src/timesync/
Dtimesyncd.c132 if (clock_is_localtime(NULL) > 0) { in run()
/systemd-251/src/timedate/
Dtimedated.c291 c->local_rtc = clock_is_localtime(NULL) > 0; in context_read_data()
/systemd-251/src/core/
Dmain.c1534 if (clock_is_localtime(NULL) > 0) { in initialize_clock()
Dmanager.c4492 if (clock_is_localtime(NULL) > 0) in manager_taint_string()