Searched refs:CCLEN (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 56 #define CCLEN 2 /* country code length */ macro 262 if (strcspn(lp_cc, WHITESPACE) != CCLEN) { in get_tz_countries() 268 if (strncmp(ccbuf, lp_cc, CCLEN) == 0) { in get_tz_countries() 272 lp_coord = skipwhite(lp_cc + CCLEN); in get_tz_countries() 298 (void) strncpy(cp->ctry_code, lp_cc, CCLEN); in get_tz_countries() 299 cp->ctry_code[CCLEN] = '\0'; in get_tz_countries() 300 (void) strncpy(ccbuf, lp_cc, CCLEN); in get_tz_countries() 301 ccbuf[CCLEN] = '\0'; in get_tz_countries() 341 if ((len = strcspn(buff, WHITESPACE)) != CCLEN) { in get_tz_countries() 346 if ((cmp = strncmp(cp->ctry_code, buff, CCLEN)) == 0) { in get_tz_countries() [all …]
|