Lines Matching refs:len_tz
455 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()
566 (void) strncpy(tp->tz_name + 1, lp_tz, len_tz); in get_timezones_by_country()
567 tp->tz_name[len_tz + 1] = '\0'; in get_timezones_by_country()
569 (void) strncpy(tp->tz_name, lp_tz, len_tz); in get_timezones_by_country()
570 tp->tz_name[len_tz] = '\0'; in get_timezones_by_country()