Home
last modified time | relevance | path

Searched refs:CCLEN (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c58 #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()
[all …]