Lines Matching refs:tz
2317 char *tz = NULL; in get_default_tz() local
2340 tz = libc_strdup((char *)tzp); in get_default_tz()
2345 return (tz); in get_default_tz()
2439 char *tz; in getsystemTZ() local
2441 tz = getenv("TZ"); in getsystemTZ()
2442 if (tz != NULL && *tz != '\0') in getsystemTZ()
2443 return ((const char *)tz); in getsystemTZ()
2452 tz = get_default_tz(); in getsystemTZ()
2455 if (tz == NULL) { in getsystemTZ()
2469 if (strcmp(tz, tzn->name) == 0) in getsystemTZ()
2474 tzn = lmalloc(sizeof (tznmlist_t *) + strlen(tz) + 1); in getsystemTZ()
2475 (void) strcpy(tzn->name, tz); in getsystemTZ()
2480 libc_free(tz); in getsystemTZ()