Searched defs:zones (Results 1 - 4 of 4) sorted by relevance

/systemd/src/test/
H A Dtest-time.c170 _cleanup_strv_free_ char **zones = NULL; local
174 r = get_timezones(&zones);
177 STRV_FOREACH(zone, zones)
/systemd/src/timedate/
H A Dtimedatectl.c306 _cleanup_strv_free_ char **zones = NULL; local
312 r = get_timezones(&zones);
314 return log_error_errno(r, "Failed to read list of time zones: %m");
317 strv_print(zones);
336 " list-timezones Show known time zones\n"
/systemd/src/basic/
H A Dtime-util.c948 _cleanup_strv_free_ char **zones = NULL; local
953 zones = strv_new("UTC", NULL);
954 if (!zones)
990 if (!GREEDY_REALLOC(zones, n_allocated, n_zones + 2)) {
995 zones[n_zones++] = w;
996 zones[n_zones] = NULL;
999 strv_sort(zones);
1004 *ret = zones;
1005 zones = NULL;
/systemd/src/firstboot/
H A Dfirstboot.c288 _cleanup_strv_free_ char **zones = NULL; local
297 r = get_timezones(&zones);
304 r = show_menu(zones, 3, 22, 30);
310 r = prompt_loop("Please enter timezone name or number", zones, timezone_is_valid, &arg_timezone);

Completed in 17 milliseconds