Lines Matching defs:zone
51 char *zone;
61 free(c->zone);
73 log_warning_errno(r, "/etc/localtime should be a symbolic link to a time zone data file in /usr/share/zoneinfo/.");
77 free(c->zone);
78 c->zone = t;
92 if (isempty(c->zone)) {
99 p = strappend("../usr/share/zoneinfo/", c->zone);
355 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid time zone '%s'", z);
357 if (streq_ptr(z, c->zone))
378 free(c->zone);
379 c->zone = t;
384 log_error_errno(r, "Failed to set time zone: %m");
385 return sd_bus_error_set_errnof(error, r, "Failed to set time zone: %m");
403 "TIMEZONE=%s", c->zone,
404 LOG_MESSAGE("Changed time zone to '%s'.", c->zone),
635 SD_BUS_PROPERTY("Timezone", "s", NULL, offsetof(Context, zone), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
713 log_error_errno(r, "Failed to read time zone data: %m");