Searched refs:len_tz (Results 1 – 2 of 2) sorted by relevance
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()565 tp->tz_name[len_tz + 1] = '\0'; in get_timezones_by_country()[all …]
220 size_t len_tz; in main() local271 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()