/systemd-251/src/shared/ |
D | clock-util.c | 100 struct timezone tz; in clock_set_timezone() local 106 tz = (struct timezone) { in clock_set_timezone() 114 if (settimeofday(NULL, &tz) < 0) in clock_set_timezone() 124 static const struct timezone tz = { in clock_reset_timewarp() local 131 return RET_NERRNO(settimeofday(NULL, &tz)); in clock_reset_timewarp()
|
/systemd-251/src/basic/ |
D | time-util.c | 901 char *last_space, *tz = NULL; in parse_timestamp() local 907 tz = last_space + 1; in parse_timestamp() 909 if (!tz || endswith_no_case(t, " UTC")) in parse_timestamp() 926 colon_tz = strjoina(":", tz); in parse_timestamp() 937 with_tz = !STR_IN_SET(tz, tzname[0], tzname[1]); in parse_timestamp() 1289 _cleanup_free_ char *line = NULL, *cc = NULL, *co = NULL, *tz = NULL; in get_timezones_from_zone1970_tab() local 1301 r = extract_many_words(&p, NULL, 0, &cc, &co, &tz, NULL); in get_timezones_from_zone1970_tab() 1309 r = strv_extend(&zones, tz); in get_timezones_from_zone1970_tab() 1348 char *tz; in get_timezones_from_tzdata_zi() local 1351 tz = f1; in get_timezones_from_tzdata_zi() [all …]
|
/systemd-251/src/network/ |
D | networkd-dhcp-server.c | 487 const char *tz = NULL; in dhcp4_server_configure() local 490 tz = link->network->dhcp_server_timezone; in dhcp4_server_configure() 496 tz = buffer; in dhcp4_server_configure() 499 if (tz) { in dhcp4_server_configure() 500 r = sd_dhcp_server_set_timezone(link->dhcp_server, tz); in dhcp4_server_configure()
|
D | networkd-manager.c | 985 int manager_set_timezone(Manager *m, const char *tz) { in manager_set_timezone() argument 989 assert(tz); in manager_set_timezone() 991 log_debug("Setting system timezone: '%s'", tz); in manager_set_timezone() 992 r = free_and_strdup_warn(&m->dynamic_timezone, tz); in manager_set_timezone() 1011 tz, in manager_set_timezone()
|
D | networkd-network.c | 968 char **tz = data; in config_parse_timezone() local 977 *tz = mfree(*tz); in config_parse_timezone() 988 return free_and_strdup_warn(tz, rvalue); in config_parse_timezone()
|
D | networkd-dhcp4.c | 1036 const char *tz = NULL; in dhcp_lease_acquired() local 1038 (void) sd_dhcp_lease_get_timezone(link->dhcp_lease, &tz); in dhcp_lease_acquired() 1040 if (tz) { in dhcp_lease_acquired() 1041 r = manager_set_timezone(link->manager, tz); in dhcp_lease_acquired() 1043 … log_link_error_errno(link, r, "Failed to set timezone to '%s': %m", tz); in dhcp_lease_acquired()
|
D | networkctl.c | 2236 const char *tz; in link_status_one() local 2238 r = sd_dhcp_lease_get_timezone(lease, &tz); in link_status_one() 2243 TABLE_STRING, tz); in link_status_one()
|
/systemd-251/src/libsystemd-network/ |
D | sd-dhcp-lease.c | 772 _cleanup_free_ char *tz = NULL; in dhcp_lease_parse_options() local 774 r = lease_parse_string(option, len, &tz); in dhcp_lease_parse_options() 780 if (!timezone_is_valid(tz, LOG_DEBUG)) { in dhcp_lease_parse_options() 785 free_and_replace(lease->timezone, tz); in dhcp_lease_parse_options() 1473 int sd_dhcp_lease_get_timezone(sd_dhcp_lease *lease, const char **tz) { in sd_dhcp_lease_get_timezone() argument 1475 assert_return(tz, -EINVAL); in sd_dhcp_lease_get_timezone() 1480 *tz = lease->timezone; in sd_dhcp_lease_get_timezone()
|
D | sd-dhcp-server.c | 1451 int sd_dhcp_server_set_timezone(sd_dhcp_server *server, const char *tz) { in sd_dhcp_server_set_timezone() argument 1455 assert_return(timezone_is_valid(tz, LOG_DEBUG), -EINVAL); in sd_dhcp_server_set_timezone() 1457 if (streq_ptr(tz, server->timezone)) in sd_dhcp_server_set_timezone() 1460 r = free_and_strdup(&server->timezone, tz); in sd_dhcp_server_set_timezone()
|
/systemd-251/src/timedate/ |
D | timedatectl.c | 53 const char *old_tz = NULL, *tz, *tz_colon; in print_status_info() local 78 tz = getenv("TZ"); in print_status_info() 79 if (tz) in print_status_info() 80 old_tz = strdupa_safe(tz); in print_status_info()
|
/systemd-251/src/test/ |
D | test-time-util.c | 548 const char *tz = getenv("TZ"); in TEST() local 562 assert_se(set_unset_env("TZ", tz, true) == 0); in TEST()
|
/systemd-251/hwdb.d/ |
D | ma-small.txt | 28760 Kötz 89359
|
/systemd-251/ |
D | NEWS | 10135 Richard Schütz, Richard W.M. Jones, Ronny Chevalier, Ross
|