Searched refs:time_zones (Results 1 – 3 of 3) sorted by relevance
46 tz_database time_zones; in main() local50 time_zones.load_from_file(argv[1]); in main()58 time_zone_ptr chicago = time_zones.time_zone_from_region("America/Chicago"); in main()59 time_zone_ptr denver = time_zones.time_zone_from_region("America/Denver"); in main()60 time_zone_ptr la = time_zones.time_zone_from_region("America/Los_Angeles"); in main()61 time_zone_ptr nyc = time_zones.time_zone_from_region("America/New_York"); in main()62 time_zone_ptr phx = time_zones.time_zone_from_region("America/Phoenix"); in main()64 time_zone_ptr sydney = time_zones.time_zone_from_region("Australia/Sydney"); in main()
196 G_LOCK_DEFINE_STATIC (time_zones);197 static GHashTable/*<string?, GTimeZone>*/ *time_zones; variable234 G_LOCK(time_zones); in g_time_zone_unref()239 G_UNLOCK(time_zones); in g_time_zone_unref()243 if (time_zones != NULL) in g_time_zone_unref()244 g_hash_table_remove (time_zones, tz->name); in g_time_zone_unref()245 G_UNLOCK(time_zones); in g_time_zone_unref()1718 G_LOCK (time_zones); in g_time_zone_new_identifier()1719 if (time_zones == NULL) in g_time_zone_new_identifier()1720 time_zones = g_hash_table_new (g_str_hash, g_str_equal); in g_time_zone_new_identifier()[all …]
1352 # https://www.nrc-cnrc.gc.ca/eng/services/time/time_zones.html