Searched refs:len_tz (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 453 size_t len_tz, len_otz, len_coord, len_tzdesc; in get_timezones_by_country() local 510 len_tz = strcspn(lp_tz, WHITESPACE_NL); in get_timezones_by_country() 511 if (*(lp_tz + len_tz - 1) == '\n') { in get_timezones_by_country() 513 len_tz--; in get_timezones_by_country() 519 len_tz); in get_timezones_by_country() 530 (len_tz > _TZBUFLEN - 1)) { in get_timezones_by_country() 551 if (strncmp("-", lp_tz, len_tz) == 0) { in get_timezones_by_country() 553 len_tz = len_otz; in get_timezones_by_country() 556 if (strcspn(lp_tz, DIGITS) < len_tz) { in get_timezones_by_country() 557 if (len_tz > _TZBUFLEN - 2) { in get_timezones_by_country() [all …]
|
/illumos-gate/usr/src/cmd/newtask/ |
H A D | newtask.c | 220 size_t len_tz; in main() local 271 len_tz = strlen(cur_tz) + strlen("TZ=") + 1; in main() 272 env_tz = safe_malloc(len_tz); in main() 274 (void) snprintf(env_tz, len_tz, "TZ=%s", cur_tz); in main()
|