Lines Matching refs:tzn
2438 tznmlist_t *tzn; in getsystemTZ() local
2468 for (tzn = systemTZrec; tzn != NULL; tzn = tzn->link) { in getsystemTZ()
2469 if (strcmp(tz, tzn->name) == 0) in getsystemTZ()
2472 if (tzn == NULL) { in getsystemTZ()
2474 tzn = lmalloc(sizeof (tznmlist_t *) + strlen(tz) + 1); in getsystemTZ()
2475 (void) strcpy(tzn->name, tz); in getsystemTZ()
2476 tzn->link = systemTZrec; in getsystemTZ()
2477 systemTZrec = tzn; in getsystemTZ()
2482 return (systemTZ = tzn->name); in getsystemTZ()
2505 tznmlist_t *tzn; in set_one_tzname() local
2514 for (tzn = tznmhash[hashid]; tzn != NULL; tzn = tzn->link) { in set_one_tzname()
2515 s = tzn->name; in set_one_tzname()
2519 tzname[idx] = tzn->name; in set_one_tzname()
2527 tzn = lmalloc(sizeof (tznmlist_t *) + strlen(name) + 1); in set_one_tzname()
2528 if (tzn == NULL) in set_one_tzname()
2531 (void) strcpy(tzn->name, name); in set_one_tzname()
2534 tzn->link = tznmhash[hashid]; in set_one_tzname()
2535 tznmhash[hashid] = tzn; in set_one_tzname()
2537 tzname[idx] = tzn->name; in set_one_tzname()