Lines Matching refs:zone

273 	zone_rules_t	zonerules;		/* Type of zone */
281 int typecnt; /* # zone types */
282 int charcnt; /* # zone abbv. chars */
599 * that the external zone state doesn't need to be asserted
604 * local zone state would still need to be aquired for the
678 * extern global zone state variables. (See mktime(3C)).
847 * Sets extern global zone state variables based on the current
876 * Loads local zone information if TZ changed since last time zone
914 * check it again, since zone may have been loaded while
959 * Builds transition cache and sets up zone state data for zone
960 * specified in TZ, which can be specified as a POSIX zone or an
963 * If local data cannot be parsed or loaded, the local zone
967 * parsed as a POSIX zone; failing that, it reverts to
969 * However, if a ':' is prepended, the zone will *only* be
971 * loading a zoneinfo TZ, GMT data is loaded for the local zone.
976 * Otherwise the initial parse of PST8PDT as a POSIX zone will
1027 * internal global is also set. daylight is set at zone load time.
1035 * If POSIX zone, cache miss penalty is slightly degraded
1047 * the assumption is: If t exceeds 32-bit boundries and local zone
1057 /* Retrieve suitable defaults for this zone */
1086 /* Loaded zone incapable of transitioning. */
1092 * At least one alt. zone and one transistion exist. Locate
1145 * its previous state, which were cached when zone was loaded
1251 * for the current zone, use those, otherwise use default USA POSIX
1269 * If transition rules were provided for this zone,
1566 * detect whether daylight is ever set for this zone now, and
1569 * std zone and alternate zone transitions such that timezone,
1773 * as zone name text, not parsed as offsets. The offsets
1777 * of that zone to GMT.
1810 /* Parse/extract STD zone name, len and GMT offset */
1825 /* If DST specified in TZ, extract DST zone details */
1888 /* Setup zone name character data for state table */
1893 /* If bigger than zone name abbv. buffer, grow it */
1902 * Copy zone name text null-terminatedly into state table.
1903 * By doing the copy once during zone loading, setting
1906 * If either or both std. or alt. zone name < 3 chars,
1947 * adjust the GMT offset for the zone which has stdoff/dstoff
1965 ttinfo_t *zone;
1967 zone = &sp->ttis[sp->types[i]];
1969 if (zone_stdoff_flag == 0 && zone->tt_isdst == 0) {
1970 zone_stdoff = -zone->tt_gmtoff;
1972 } else if (zone_dstoff_flag == 0 && zone->tt_isdst != 0) {
1973 zone_dstoff = -zone->tt_gmtoff;
1986 ttinfo_t *zone;
1989 zone = &sp->ttis[sp->types[i]];
1990 next_isdst = zone->tt_isdst;
1994 if (zone->tt_ttisgmt == 0) {
2007 if (isdst != 0 && zone->tt_ttisstd == 0)
2013 zone_dstoff = -zone->tt_gmtoff;
2015 zone_stdoff = -zone->tt_gmtoff;
2056 * Insert zone data from POSIX TZ into state table
2105 * only two zone types for this POSIX zone,
2125 * Given a pointer into a time zone string, scan until a character that is not
2126 * a valid character in a zone name is found. Return ptr to that character.
2155 * Given pointer into time zone string, extract first
2181 * Given a pointer into a time zone string, extract a number of seconds,
2220 * Given a pointer into a time zone string, extract an offset, in
2245 * Given a pointer into a time zone string, extract a rule in the form
2543 * same zone name. If we got same address, it should be same zone