Lines Matching refs:timezone

41 #define	SMF_TIMEZONE_FMRI	"svc:/system/timezone:default"
279 /* Get timezone name (Skip timezone description) */
504 /* Get Olson timezone name */
508 /* Get Solaris compatible timezone name */
512 /* No timezone description */
517 /* Get timezone description */
535 /* Create timezone struct */
544 * Copy the timezone names - use the Solaris
545 * compatible timezone name if one exists,
546 * otherwise use the current Olson timezone
570 /* Process timezone description, if one exists */
604 /* Store timezone struct in a linked list */
616 * if we've already found timezone entries for
618 * the desired timezone entries (since we will
677 free_timezones(struct tz_timezone *timezone)
681 tzptr = timezone;
695 * conv_gmt() returns a GMT-offset style timezone
696 * If flag = 0, return Quoted POSIX timezone like: <GMT+8>+8
697 * If flag = 1, return zoneinfo timezone like: :Etc/GMT+8
773 /* Regular expression for POSIX GMT-offset timezone */
779 * Regular expression for quoted POSIX timezone.
787 /* Regular expression for unquoted POSIX timezone */
792 /* Regular expression for POSIX timezone */
812 * isvalid_tz() checks if timezone is a valid POSIX or zoneinfo
813 * timezone, depending on the value of flag. For flag = _VTZ_INSTALL,
821 * isvalid_tz() returns 1 if a valid timezone is detected.
824 isvalid_tz(char *timezone, char *root, int flag)
830 if ((timezone == NULL) || (*timezone == '\0')) {
834 /* First check if timezone is a valid POSIX timezone */
838 * Special check for POSIX GMT timezone.
839 * If no match, check for zoneinfo timezone below
841 if (_tz_match(_GMT_EXPR, timezone) == 0) {
842 /* Valid GMT timezone */
847 /* Check for generic POSIX timezone */
848 if (_tz_match(_POSIX_EXPR, timezone) == 0) {
849 /* Valid POSIX timezone */
852 /* Invalid POSIX timezone */
855 /* Check for generic POSIX timezone */
856 if (_tz_match(_POSIX_EXPR, timezone) == 0) {
857 /* Valid POSIX timezone */
868 * Check for valid zoneinfo timezone -
873 if (*timezone == ':') {
874 timezone++;
879 "%s%s/%s", root, TZDIR, timezone);
886 "%s/%s", TZDIR, timezone);
907 /* Valid zoneinfo timezone */
991 * Set timezone/localtime property in
992 * timezone SMF service based on input.
1021 scf_instance_get_pg_composed(inst, NULL, "timezone", pg) != 0) {