Lines Matching refs:lp_tz
208 char *lp, *lptr, *lp_coord, *lp_cc, *lp_tz; /* line pointer */ in get_tz_countries() local
282 lp_tz = skipwhite(lp_coord + len_coord); in get_tz_countries()
283 if ((len = strcspn(lp_tz, SLASH)) == 0) { in get_tz_countries()
290 (strncmp(cont->ctnt_name, lp_tz, len) == 0)) { in get_tz_countries()
454 char *lp_cc, *lp_tz, *lp_otz, *lp_coord, *lp_tzdesc, *ptr, *lptr; in get_timezones_by_country() local
511 lp_tz = skipwhite(lp_otz + len_otz); in get_timezones_by_country()
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()
520 lp_tzdesc = skipwhite(lp_tz + in get_timezones_by_country()
553 if (strncmp("-", lp_tz, len_tz) == 0) { in get_timezones_by_country()
554 lp_tz = lp_otz; in get_timezones_by_country()
558 if (strcspn(lp_tz, DIGITS) < len_tz) { in get_timezones_by_country()
566 (void) strncpy(tp->tz_name + 1, lp_tz, len_tz); in get_timezones_by_country()
569 (void) strncpy(tp->tz_name, lp_tz, len_tz); in get_timezones_by_country()