Lines Matching refs:timezone

281 		/* Get timezone name (Skip timezone description) */
506 /* Get Olson timezone name */
510 /* Get Solaris compatible timezone name */
514 /* No timezone description */
519 /* Get timezone description */
537 /* Create timezone struct */
546 * Copy the timezone names - use the Solaris
547 * compatible timezone name if one exists,
548 * otherwise use the current Olson timezone
572 /* Process timezone description, if one exists */
606 /* Store timezone struct in a linked list */
618 * if we've already found timezone entries for
620 * the desired timezone entries (since we will
679 free_timezones(struct tz_timezone *timezone)
683 tzptr = timezone;
697 * conv_gmt() returns a GMT-offset style timezone
698 * If flag = 0, return Quoted POSIX timezone like: <GMT+8>+8
699 * If flag = 1, return zoneinfo timezone like: :Etc/GMT+8
775 /* Regular expression for POSIX GMT-offset timezone */
781 * Regular expression for quoted POSIX timezone.
789 /* Regular expression for unquoted POSIX timezone */
794 /* Regular expression for POSIX timezone */
814 * isvalid_tz() checks if timezone is a valid POSIX or zoneinfo
815 * timezone, depending on the value of flag. For flag = _VTZ_INSTALL,
823 * isvalid_tz() returns 1 if a valid timezone is detected.
826 isvalid_tz(char *timezone, char *root, int flag)
832 if ((timezone == NULL) || (*timezone == '\0')) {
836 /* First check if timezone is a valid POSIX timezone */
840 * Special check for POSIX GMT timezone.
841 * If no match, check for zoneinfo timezone below
843 if (_tz_match(_GMT_EXPR, timezone) == 0) {
844 /* Valid GMT timezone */
849 /* Check for generic POSIX timezone */
850 if (_tz_match(_POSIX_EXPR, timezone) == 0) {
851 /* Valid POSIX timezone */
854 /* Invalid POSIX timezone */
857 /* Check for generic POSIX timezone */
858 if (_tz_match(_POSIX_EXPR, timezone) == 0) {
859 /* Valid POSIX timezone */
870 * Check for valid zoneinfo timezone -
875 if (*timezone == ':') {
876 timezone++;
881 "%s%s/%s", root, TZDIR, timezone);
888 "%s/%s", TZDIR, timezone);
909 /* Valid zoneinfo timezone */