Home
last modified time | relevance | path

Searched refs:len_tz (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c455 size_t len_tz, len_otz, len_coord, len_tzdesc; in get_timezones_by_country() local
512 len_tz = strcspn(lp_tz, WHITESPACE_NL); in get_timezones_by_country()
513 if (*(lp_tz + len_tz - 1) == '\n') { in get_timezones_by_country()
515 len_tz--; in get_timezones_by_country()
521 len_tz); in get_timezones_by_country()
532 (len_tz > _TZBUFLEN - 1)) { in get_timezones_by_country()
553 if (strncmp("-", lp_tz, len_tz) == 0) { in get_timezones_by_country()
555 len_tz = len_otz; in get_timezones_by_country()
558 if (strcspn(lp_tz, DIGITS) < len_tz) { in get_timezones_by_country()
559 if (len_tz > _TZBUFLEN - 2) { in get_timezones_by_country()
[all …]
/titanic_50/usr/src/cmd/newtask/
H A Dnewtask.c219 size_t len_tz; in main() local
270 len_tz = strlen(cur_tz) + strlen("TZ=") + 1; in main()
271 env_tz = safe_malloc(len_tz); in main()
273 (void) snprintf(env_tz, len_tz, "TZ=%s", cur_tz); in main()