Lines Matching refs:CCLEN
56 #define CCLEN 2 /* country code length */
262 if (strcspn(lp_cc, WHITESPACE) != CCLEN) {
268 if (strncmp(ccbuf, lp_cc, CCLEN) == 0) {
272 lp_coord = skipwhite(lp_cc + CCLEN);
298 (void) strncpy(cp->ctry_code, lp_cc, CCLEN);
299 cp->ctry_code[CCLEN] = '\0';
300 (void) strncpy(ccbuf, lp_cc, CCLEN);
301 ccbuf[CCLEN] = '\0';
341 if ((len = strcspn(buff, WHITESPACE)) != CCLEN) {
346 if ((cmp = strncmp(cp->ctry_code, buff, CCLEN)) == 0) {
349 lp = &buff[CCLEN];
489 if (strcspn(lp_cc, WHITESPACE) != CCLEN) {
494 if (strncmp(country->ctry_code, lp_cc, CCLEN) == 0) {
498 lp_coord = skipwhite(lp_cc + CCLEN);