Lines Matching refs:CCLEN
58 #define CCLEN 2 /* country code length */ macro
260 if (strcspn(lp_cc, WHITESPACE) != CCLEN) { in get_tz_countries()
266 if (strncmp(ccbuf, lp_cc, CCLEN) == 0) { in get_tz_countries()
270 lp_coord = skipwhite(lp_cc + CCLEN); in get_tz_countries()
296 (void) strncpy(cp->ctry_code, lp_cc, CCLEN); in get_tz_countries()
297 cp->ctry_code[CCLEN] = '\0'; in get_tz_countries()
298 (void) strncpy(ccbuf, lp_cc, CCLEN); in get_tz_countries()
299 ccbuf[CCLEN] = '\0'; in get_tz_countries()
339 if ((len = strcspn(buff, WHITESPACE)) != CCLEN) { in get_tz_countries()
344 if ((cmp = strncmp(cp->ctry_code, buff, CCLEN)) == 0) { in get_tz_countries()
347 lp = &buff[CCLEN]; in get_tz_countries()
487 if (strcspn(lp_cc, WHITESPACE) != CCLEN) { in get_timezones_by_country()
492 if (strncmp(country->ctry_code, lp_cc, CCLEN) == 0) { in get_timezones_by_country()
496 lp_coord = skipwhite(lp_cc + CCLEN); in get_timezones_by_country()